Parent Topic: Filter
Example:
5 3 11 12 4 9 3x3 filter window 8 6 14The median filter finds the median pixel value (the "middle" value in an ordered set of values, below and above which there are an equal number of values). For example, 8 is the median value for the above given set of grey level values (3,4,5,6,(8),9,11,12,14).
NOTE: In order to filter pixels located near the edges of the image, edge pixel values are replicated to give sufficient data.