histmatch
Match histograms of 2 cubes




Notice how the endpoints, mode, and overall shape of Band 1's histogram is now roughly equivalent to Band 6.
Categories
Related Objects and Documents
Applications
History
Sean Crosby | 2006-12-04 | Original version |
Sean Crosby | 2007-03-12 | Included ability to histmatch input cubes of different sizes |
Steven Lambright | 2008-05-12 | Removed references to CubeInfo |
Parameters
Files
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
Type | cube |
---|---|
File Mode | output |
Filter | *.cub |
Algorithm
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | CDF | |||||||||
Option List: |
|
Histogram Options
Type | double |
---|---|
Default | 0.5 |
Minimum | 0.0 (inclusive) |
Less Than | MAXPER |
Type | double |
---|---|
Default | 99.5 |
Maximum | 100.0 (inclusive) |
Type | integer |
---|---|
Default | 1 |
Minimum | 1 (inclusive) |
Less Than | MAXPER |
Example 1
Peaks histogram matching with CDF
Command Line
histmatch
from=../peaks.cub+1 match=../peaks.cub+6 stretch=cdf to=../result.cub
GUI Screenshot
Example Gui
Histmatch GuiScreenshot of GUI with parameters filled in to perform a histogram matching operation with the input images.
Input Images
Input image for histmatch
Input Peaks (Band 1) image
Parameter Name:
FROM
This is the input image for the histmatch example.
Match image for histmatch
Input Peaks (Band 6) image
Parameter Name:
MATCH
This is the match image for the histmatch example (i.e. the other input's histogram will be matched to this image's histogram).
Output Images
Output image for CDF matching
Output image showing results of the CDF histogram matching.
Parameter Name:
TO
This is the output image that results.
Example 2
Peaks histogram matching with mode
Command Line
histmatch
from=../peaks.cub+1 match=../peaks.cub+6 stretch=mode to=../result.cub
Input Images
Input image for histmatch
Input Peaks (Band 1) image
Parameter Name:
FROM
This is the input image for the histmatch example.
Match image for histmatch
Input Peaks (Band 6) image
Parameter Name:
MATCH
This is the match image for the histmatch example (i.e. the other input's histogram will be matched to this image's histogram).
Output Images
Output image for mode matching
Output image showing results of the modal histogram matching.
Parameter Name:
TO
This is the output image that results.