Median Filter

The Median Filter resampling option determines the gray level from the median value of all pixels in a square or rectangular kernel surrounding the input coordinates and assigns the value to the output coordinates.

The median is obtained by ranking the gray levels according to brightness and determining the middle value. To filter pixels located near the edges of the image, edge pixel values are replicated to produce sufficient data. This method smooths the appearance of the image.

You control the size of the kernel with the Filter Size option by typing the number of pixels in width in the X box and the number of pixels in length in the Y box.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.