Apply a variance or standard deviation filter to a cube
This program applies either a variance or standard deviation filter to a
cube. The standard deviation filter is simply the square root of the
variance and is selected by setting the FILTER parameter to STDDEV.
Filterslowpasshighpasstrimfilterdivfilternoisfilter
Original version
Ported to Isis 3.0
Fixed bug which disallowed the standard deviation filter
Add examples.
Make images smaller.
Fixed problem with isiscvs not checking in the thumb and image directories.
Added application test
Modified schema location from astogeology... to isis.astrogeology..."
Modified filename parameters to be cube parameters where necessary
boxfiltercubeinput
Input file
Input cube to filter
*.cub
cuberealoutput
Output svfilter cube
The resultant filtered cube
stringVARIANCE
Filter type
The output of the filter operation is either the variance value or
the standard deviation value.
integer
Number of samples in boxcar
This is the total number of samples in the boxcar.
It must be odd and can not exceed twice the number of samples
in the cube. In general, the size of the boxcar does not
cause the program to operate significantly slower.
1integer
Number of lines in boxcar
This is the total number of lines in the boxcar.
It must be odd and can not exceed twice the number of lines
in the cube. In general, the size of the boxcar does not
cause the program to operate significantly
slower.
1double
Valid minimum pixel
Valid minimum pixel value that will be used in boxcar computation. If
a pixel value is less than LOW then it will not be used when
computing boxcar statistics.
Use all pixels
HIGHdouble
Valid maximum pixel
Valid maximum pixel value that will be used in boxcar computation. If
a pixel value is greater than HIGH then it will not be used when
computing boxcar statistics.
Use all pixels
LOWinteger
Minimum boxcar pixel count
This is the minimum number of valid pixels which must occur inside the
NxM boxcar for filtering to occur. For example, 3x5 boxcar has 15 pixels
inside. If MINIMUM=10 then the filter will occur if there are 10 or
greater valid pixels. A valid pixel is one that is not special (NULL, LIS,
etc) and is in the range defined by LOW to HIGH.
11booleanTRUEPropagate special pixels
This option is used to define how special pixels are handled. If the
center pixel of the boxcar is a special pixel it will be propagated
or set to NULL depending on the value of this parameter.
run svfilter
This example shows an svfilter operation using standard deviation.
fr=../IN/peaks.cub:4 t=OUT/svfilter.sd fi=s s=5 li=5
svfilter a Terra image. Use STDDEV filter (fi=s)
Input image for svfilterThis is the input image for the svfilter examples.
FROM Output image for svfilter This is the output image that results from STDDEV filter.
TOExample GuiScreenshot of GUI with parameters filled in to perform
an svfilter operation on the input image. run svfilter
This example shows an svfilter operation using variance.
fr=../IN/peaks.cub:4 t=OUT/svfilter.var fi=v s=5 li=5
svfilter a Terra image. Use VARIANCE filter. (fi=v)
Input image for svfilterThis is the input image for the svfilter examples.
FROM Output image for svfilter This is the output image that results from VARIANCE filter.
TOExample GuiScreenshot of GUI with parameters filled in to perform
an svfilter operation on the input image.