Level 2 Help for MEDFILL

INP

Input image.  Can be byte, half, full, real, or doub.  Any number of bands.
Each band is treated separately.


OUT

Output image.  Same format as the input.


NLW

Window height.  Must be odd.


NSW

Window width.  Must be odd.


BAYER

Turns on Bayer mode.  This causes every other pixel to be skipped in the
window, so only pixels with the same Bayer filter are considered.  Assumes
the input data is in Bayer format but it need not be; we are simply skipping
every other pixel in this mode.


NODATA

DN used to replace a pixel if there is nothing left in the window.  This could
happen if all the neighbors also meet the criteria for replacement.  If this
parameter is not given, the pixel is left untouched if the window is empty.


ZERO

If this flag is turned on, any pixels with a value equal to 0 will be replaced.


NONAN

Normally (for float data), any pixel with a NaN value will be replaced.  Setting
-NONAN disables this.  Has no effect for integer data types.


MIN

Min value for good data.  Any pixels less than this value will be replaced.


MAX

Max value for good data.  Any pixels greater than this value will be replaced.