Median filters

A median filter is a special type of a rank order filter. A median filter calculates the median of the pixels considered, and assigns this value to the center pixel in the output map. A median filter may have any user-defined size.

The standard median filters are MED3x3 and MED5x5.

Furthermore, you can use user-defined median filters: specify the size of the filter and optionally a threshold.