Median filter

Applies a median filter to an image.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Configuration options
- Filter Size: Size of the filter in width and height (3, 5, 7, ...).
Output values
- Count Results: Is incremented when a new result is provided.
- hr: HRESULT error code that outputs the result of the processing.
- Image: Initial image of the algorithm.
- New Result: (Optional) TRUE if a new result is provided.