Calculate a new image that replaces all pixel values by the median of neighbouring pixels.
Image to be filtered.
MedianFilterOptions
Image after median filter.
Calculate a new image that replaces all pixel values by the median of neighbouring pixels.