A rank operator that implements the Median-, Minimum- and Maximum-filter. To compute the new value of a pixel the rank operator considers pixels in the current pixel's neighborhood determined by mask. The current pixel value is then given by the median, the minimum or the maximum value of the considered pixel values.
Input image:
Image to be filtered
Rank operation:
Determines the rank operation:
MEDIAN: Median-filter
MIN: Minimum-filter
MAX: Maximum-filter
Mask-radius x:
The radius of the mask in x-dimension in a city-block sense (rectangular mask)
Mask-radius y:
The radius of the mask in y-dimension in a city-block sense (rectangular mask)
Mask-radius z:
The radius of the mask in z-dimension in a city-block sense (rectangular mask)
Mask-radius t:
The radius of the mask in t-dimension in a city-block sense (rectangular mask)
Mask-radius c:
The radius of the mask in c-dimension in a city-block sense (rectangular mask)
Result image:
The filtered image of same type as the input image