All of the results used Euclidean distances to determine the final gradient. This class of filter belongs to the class of edge preserving smoothing filters which are non-linear filters. These filters smooths the data while keeping the small and sharp details. Median filtering is a simple and very effective noise removal filtering process. Its performance is particularly good for removing shot noise.
Shot noise consists of strong spikelike isolated values.
Mean Filter 5x5 window Observe interesting fenomena have appeared after using median filters. Follow images are the next example of this effect. . . . Original Image .