Gamma LAT: Reference Manual


median_filter

ANSI-C program: median_filter.c

NAME
median_filter - Median filter for files of type float.

SYNOPSIS
median_filter <input_data> <output_data> <width> <bx> [by]

<input_data> input data (file of type float)
<output_data> output data (file of type float)
<width> number of samples/row
<bx> filter size in x direction (number of cols)
[by] filter size in y direction (number of rows)(default=bx)

EXAMPLE
median_filter 19990421.mli 1990421_median.mli 2456 4 4

applies a spatial median filter using a 4x4 window

DESCRIPTION
median_filter filters the input data of type float with a spatial median filter. The size of the rectangular window is specified on the command line.  The samples within the window are ranked and the median is selected.  By default the window is square with edge width specified by the bx parameters.  Specifying the by parameter tpermits non-rectanugular filter windows.

SEE ALSO
typedef_ISP.h, average_filter frost gamma_map lee enh_lee


© Copyrights for Documentation, Users Guide and Reference Manual by Gamma Remote Sensing, 2012.
UW, CW, last change 18-Oct-2012