ISIS Application Documentation
minmax | Printer Friendly View | TOC | Home |
Apply a minimum or maximum filter to a cube
Overview | Parameters | Example 1 | Example 2 |
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 |
Parameter GroupsFiles
Boxcar Size
Filter Type
|
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 |
Use this parameter to select the filename. All bands within the file will have the filter applied.
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
This file will contain the filtered output.
Type | cube |
---|---|
File Mode | output |
Pixel Type | real |
Use this parameter to select the number of lines in the boxcar. Higher values take longer, and intensify the results in the vertical direction. The default value is three.
Type | integer |
---|---|
Default | 3 |
Minimum | 1 (inclusive) |
Use this parameter to select the number of samples in the boxcar. Higher values take longer, and intensify the results in the horizontal direction. The default value is three.
Type | integer |
---|---|
Default | 3 |
Minimum | 1 (inclusive) |
Use this parameter to choose the filter type. The possibilities include min, which finds the lowest DN in the boxcar and max, which finds the highest DN in the boxcar.
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | MIN | |||||||||
Option List: |
|
Example 1Minimum 3x3 Description
Use the minimum option to enlarge dark areas (low DN pixels) and shrink
light areas (high DN pixels).
Command Line
minmax
from= peaks.cub
to=darkcube.cub
lines=3
samples=3
filter=min
In this example the "lines" and "samples" are both 3, making a 3 x 3
boxcar. The minimum filter is selected, so as to essentially darken the
output.
GUI Screenshot
Input Image
Output Image
|
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 |
Example 2Maximum 2x2 Description
Use the maximum option to enlarge bright areas (pixels with high DNs) and
shrink dark areas (pixels with low DNs).
Command Line
minmax
from= peaks.cub
to=lightcube.cub
lines=2
samples=2
filter=max
In this example both the "lines" and "samples" options are set to 2. This
will make the program run faster than the 3 x 3 boxcar featured in
example 1. The effect of the filter will also be somewhat less dramatic
than with a 3 x 3 boxcar.
GUI Screenshot
Input Image
Output Image
|
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 |