Home

User Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Contributor Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Quick Links

Software Manual
AstroDiscuss
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

ISIS 2

Documentation
Tutorials
Technical Documents
USGS

ISIS Application Documentation


findgaps

Printer Friendly View | TOC | Home

Finds the gaps in a given Cube.

Overview Parameters Example 1

Description

This program finds gaps in the line direction of an image, and will report the gap information or expand the gap based on user parameters or default settings. Gaps are areas where the entire line consists of NULL pixel values or pixel values statistically below the threshold setting of the CORTOL parameter. This program ignores single line gaps.If the LOG parameter is specified, the starting and last line of each gap as well as the band number is recorded and placed into a log filename (.pvl, .txt) entered by the user. If the output cube or TO parameter is not specified, then the program only identifies the gaps.

The CORTOL parameter should be set to "0.0" to only identify an entire line of "NULL" pixels as a gap. If the CORTOL parameter is set to a value greater than "0.0," then the statistics of the current line are compared against the statistics of the previous line to determine if the line should be considered a gap. This option is useful if random lines are much brighter or darker than the adjacent lines.


Categories


History

Christopher Austin2007-11-26 Original version
Steven Lambright2008-05-12 Removed references to CubeInfo
Kimberly Oyama and Steven Lambright2012-06-15 Added the option to nullify a gap and add a buffer of null lines above and below each gap and output these results to a cube. If no output cube is specified results will only be output to a log file (.pvl, .prt, or .txt) or vice versa. Neither output affects the other. Fixes #582.

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 21:48:35
X

Files: FROM


Description

Input cube file to be checked for line gaps.

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

Files: TO


Description

The resulting cube with a null buffer above and below each gap. Enter "TO=none" if you do not want to output a modified cube.

Type cube
File Mode output
Default none
Filter *.cub
Close Window
X

Files: LOG


Description

The output file to which all of the gap information is written. If left as the default, no log file will be created/updated. This file will not be affected by the nulled lines that are included in the output cube.

Type filename
File Mode output
Default none
Filter *.txt *.prt *.pvl
Close Window
X

Correlation Coefficient Tolerance: CORTOL


Description

This parameter determines how similar one line can be to the next and still be considerd part of a gap. A higher tolerance will result in gaps that are more similar to the surrounding area (possibly valid data). A tolerance closer to zero will result in gaps that are more different from the surrounding area (CORTOL=0.0 will give you gaps of null data).

Type double
Default 0.0
Close Window
X

Buffer Size (Lines): ABOVE


Description

This parameter specifies how many lines above the gap are set to null in the output cube.

Type integer
Default 7
Close Window
X

Buffer Size (Lines): BELOW


Description

This parameter specifies how many lines below the gap are set to null in the output cube.

Type integer
Default 7
Close Window