A method of image smoothing (convolution) which replaces each pixel value with the median grayscale value of its immediate neighbors.