Help for MINFILT
PURPOSE:
Selects the minimum DN within a rectangular convolution window for
images in BYTE, HALF, FULL or REAL formats.
EXECUTION:
MINFILT may be executed in the following manner:
MINFILT INP=A OUT=B SIZE=(SL,SS,NL,NS) PARAMS
where INP, OUT, SIZE, AND PARAMS are parameters and are explained in their
respective parameter section.
OPERATION:
MINFILT finds the local minimum value of a rectangular window centered at
each pixel in an image.
The program takes advantage of the fact that if the minimum of an area
was not in the left column then the next area to the right (one
pixel over) need only be checked in the right column.
EXAMPLE:
MINFILT INP=A OUT=B NLW=5 NSW=7
The window is 5 lines by 7 samples.
HISTORY:
ORIGINALLY WRITTEN BY: J Lorre 1/30/93
COGNIZANT PROGRAMMER: Ray Bambery
May 18, 2011 - Ray Bambery - Mods for gcc4.4.4 64-bit and
add FULL and REAL data types, changed
confusing NL & NS parms to ONL and ONS since
they refer to output file
09-Jan-2013 -lwk- ONL and ONS commented out, since the code does
not use them. (NL,NS are supposed to be alternatives
to the SIZE parameter.)
PARAMETERS:
INP
STRING-input dataset.
OUT
STRING-output dataset.
SIZE
4 INTEGERS-VICAR size field,
(SL,SS,NL,NS).
ONL
INTEGER-number of lines in
output file.
ONS
INTEGER-Number of samples in
output file.
NLW
INTEGER-Size of filter kernel
in lines.
NSW
INTEGER-Size of filter kernel
in samples.
See Examples:
Cognizant Programmer: