Home

Quick Links

Software Manual
GitHub
API Reference

Documentation Versions

Latest Release
Dev
8.3.0
8.2.0
8.1.0
8.0.0
7.2.0
7.1.0
7.0.0
6.0.0
3.9.0
3.5.0
USGS

ISIS Application Documentation


lowpass

Printer Friendly View | TOC | Home

Apply lowpass or blurring filter to a cube

Overview Parameters Example 1 Example 2

Description

This program applies a lowpass or blurring filter to a cube. An NxM boxcar is moved through the cube and average of the boxcar at each position is computed. This average, which effectively blurs the data, is written to the output cube. The user has the ability to choose which input pixels are filtered including 1) all pixels, 2) pixels within a user specified range, 3) pixels outside a user specified range, and 4) special pixels. In general, the larger the boxcar the more the output cube is blurred. For example, a 101x101 boxcar will cause more blurring than a 3x3 boxcar.

Categories


Related Applications to Previous Versions of ISIS

This program replaces the following application existing in previous versions of ISIS:
  • boxfilter

Related Objects and Documents

Applications


History

Eric Eliason1988-05-20 Original version
Jeff Anderson2002-07-10 Ported to Isis 3.0
Kim Sides2003-05-13 Added application test
Stuart Sides2003-05-16 Modified schema location from astogeology... to isis.astrogeology..."
Stuart Sides2003-07-29 Modified filename parameters to be cube parameters where necessary
Drew Davidson2005-08-17 Added examples
Brendan George2005-11-21 Modified user interface
Elizabeth Miller2005-11-22 Fixed appTest parameters and documentation
Brendan George2006-05-31 Added Minopt parameter, modified user interface
Brendan George2006-06-19 Reorganized user interface

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 02/21/2025 19:28:12
X

Files: FROM


Description

Input cube to filter

Type cube
File Mode input
Filter *.cub
Close Window
X

Files: TO


Description

The resultant filtered cube

Type cube
File Mode output
Close Window
X

Boxcar Size: SAMPLES


Description

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.

Type integer
Minimum 1 (inclusive)
Odd This value must be an odd number
Close Window
X

Boxcar Size: LINES


Description

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.

Type integer
Minimum 1 (inclusive)
Odd This value must be an odd number
Close Window
X

Boxcar Settings: LOW


Description

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 the average.

Type double
Internal Default Use all pixels
Less Than HIGH
Close Window
X

Boxcar Settings: HIGH


Description

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 the average.

Type double
Internal Default Use all pixels
Greater Than LOW
Close Window
X

Boxcar Settings: MINOPT


Description

This parameter determines whether the minimum parameter is to be interpreted as a count of pixels, or a percentage of all pixels in the boxcar.

Type string
Default COUNT
Option List:
Option Brief Description
COUNT Minimum valid pixel count This option indicates that the minimum is a minimum count of pixels required for filtering.
PERCENTAGE Minimum valid pixel percentage This option indicates the the minimum parameter is to be interpreted as a percentage of the total pixels in the boxcar.
Close Window
X

Boxcar Settings: MINIMUM


Description

This option is the minimum number of valid pixels required in a boxcar for filtering to begin.

Type double
Default 1
Close Window
X

Boxcar Settings: REPLACEMENT


Description

This determines what to put in the center pixel, in the event that there aren't enough valid, non-special pixels in the boxcar to meet the minimum. The default is to replace it with the current value, and the other option is to replace it with NULL.

Type string
Default CENTER
Option List:
Option Brief Description
CENTER Center pixel value This sets the center pixel of the boxcar to whatever was already there, in the event that there are not enough valid, non-Special pixels to meet minimum requirements.
NULL Pixel value Null This sets the center pixel of the boxcar to the special pixel value fo "Null", if there are not enough valid, non-Special pixels to meet minimum requirements.
Close Window
X

Non-Special Pixel Filtering: FILTER


Description

These options choose which pixels to filter. The options are ALL, VALID and INVALID. If the first is chosen, the filter will be run on all pixels inside the LOW-HIGH range, and all Specials declared valid. If the second option is chosen, the filter is only run when the center pixel is valid, and the third option only runs the filter when the center is invalid. Regardless of which option is chosen, the average is only calculated from values between LOW and HIGH.

Type string
Default ALL
Option List:
Option Brief Description
ALL Filter All Pixels This is the option if you wish to filter all pixels, regardless of validitity. It will only filter those Special Pixels indicated by the user to be filtered. Also, the average will only be calculated from the pixels with values between LOW and HIGH.
INSIDE Filter Pixels Between Low and High This is the option if you only wish to run the filter when the center pixel is valid. The filter will only run if there are enough valid pixels to meet the requirements set by LOW, HIGH, and MINIMUM
OUTSIDE Filter Pixels Outside Low and High This is the option if you only wish to run the filter when the center pixel is invalid. The filter will only run if there are enough valid pixels to meet the requirements set by LOW, HIGH, and MINIMUM
Close Window
X

Special Pixel Filtering: NULL


Description

If the center pixel of a boxcar is NULL, and this box is checked, the pixel will be overwritten with the average value of the boxcar as a whole. If this box is not checked, the pixel will be left alone.

Type boolean
Default TRUE
Close Window
X

Special Pixel Filtering: HRS


Description

If the center pixel of a boxcar is HRS, and this box is checked, the pixel will be overwritten with the average value of the boxcar as a whole. If this box is not checked, the pixel will be treated according to the REPLACEMENT parameter.

Type boolean
Default TRUE
Close Window
X

Special Pixel Filtering: HIS


Description

If the center pixel of a boxcar is HIS, and this box is checked, the pixel will be overwritten with the average value of the boxcar as a whole. If this box is not checked, the pixel will be treated according to the REPLACEMENT parameter.

Type boolean
Default TRUE
Close Window
X

Special Pixel Filtering: LRS


Description

If the center pixel of a boxcar is LRS, and this box is checked, the pixel will be overwritten with the average value of the boxcar as a whole. If this box is not checked, the pixel will be treated according to the REPLACEMENT parameter.

Type boolean
Default TRUE
Close Window
X

Special Pixel Filtering: LIS


Description

If the center pixel of a boxcar is LIS, and this box is checked, the pixel will be overwritten with the average value of the boxcar as a whole. If this box is not checked, the pixel will treated according to the REPLACEMENT parameter.

Type boolean
Default TRUE
Close Window