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


histeq

Printer Friendly View | TOC | Home

Apply histogram equalization to a cube.

Overview Parameters Example 1

Description

This program equalizes the histogram of an input cube (defined by FROM), and outputs the results to a file (defined by TO).

By equalizing the input file's histogram, the resulting cumulative distribution becomes linear instead of curved. The following is an illustration of what happens to an input file. The blue line represents the histogram and the red line is the cumulative distribution. On the left is the histogram and cumulative distribution of an unmodified image, while the figure on the right shows how the both the histogram and distribution are altered.
Before equalization After equalization
The blue line represents the input file's histogram and the red line represents its cumulative distribution function.

Categories


Related Objects and Documents

Applications


History

Sean Crosby2006-12-15 Original version
Steven Lambright2008-05-06 Histogram object no longer has SetRange, updated to use SetValidRange
Steven Lambright2008-05-13 Removed references to CubeInfo
Tyler Wilson2015-09-03 Commented out a call to Histogram::SetValidRange(min,max) Because of changes made to the Histogram class. See Ref. #2188.

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:11
X

Files: FROM


Description

This file will have its cumulative distribution reshaped to be more linear.

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

Files: TO


Description

The resultant cube containing a linearized image

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

Histogram Options: MINPER


Description

Minimum DN cut-off value at the cumulative percent of the histogram

Type double
Default 0.5
Minimum 0.0 (inclusive)
Less Than MAXPER
Close Window
X

Histogram Options: MAXPER


Description

Maximum DN cut-off value at the cumulative percent of the histogram

Type double
Default 99.5
Maximum 100.0 (inclusive)
Close Window
X

Histogram Options: INCREMENT


Description

Percentage increment for the histogram

Type integer
Default 1
Minimum 1 (inclusive)
Less Than MAXPER
Close Window