CE MED - Contrast Enhancement - Median Filtering

(3/15/01)

PURPOSE

Applies median filter to a 2D OR 3D image.   Example.

SEE ALSO

CE FIT [Contrast Enhancement - FIT the histogram]
CE GNC [Contrast Enhancement - Graduated Non Convex restoration]

USAGE

.OPERATION: CE MED

.INPUT FILE: PIC001
[Enter name of image to be processed.]

.OUTPUT FILE: PIC002
[Enter name of file receiving the output image.]

.FILTER LENGTH: 5
[Enter filter length, must be odd number >= 3.]

.BOX OR CROSS (B/C): C
[Choose the shape of filter support. See notes for explanation.]

NOTES

  1. Two or three dimensional median filter is applied to the picture. This is the non-linear filter which means that it performance depends on the data processed. The longer the filter length the stronger the filtration. Box or Cross question refers to the shape of filter support. Both of them result in different kind of noise structures being suppressed in the picture. Basicly the stronger filtration can be achieved by box filter. The purpose of median filter is to suppresses the 'pink' noise in a picture leaving edges basically unaffected at the same time. The detailed description of median filter features can be found in: Two-dimensional digital signal processing II : transforms and median filters, Editor: Huang. (NYS Library: C 621.380433, T974, 81-32691)

  2. Implemented by Paul Penczek.

SUBROUTINES

MEDIAN, MD2, MD3

CALLER

UTIL2