tonematch
Matches the tone of two, single-band images
This application matches the tone of two single-band images. It is very similar to the equalizer application, but is only used on two images and only works on single band images. The user can choose whether to match the tone of the entire image, or perform overlap matching using the projection information. The default behavior is to match the tones of the entire area of the input cube and the match cube.
First, tonematch collects statistics on each individual cube. It then uses this data to find a linear regression between the pixel values of the input cube and the match cube. The linear regression provides offset and gain values that are applied to the input cube, creating the output cube whose tone is equal to that of the match cube.
Categories
Related Objects and Documents
Applications
History
Jeff Anderson | 1998-01-12 | Original version |
Elizabeth Ribelin | 2005-08-29 | Documented and refactored |
Elizabeth Miller | 2005-11-22 | Added appTest and poverlap option |
Elizabeth Miller | 2006-02-10 | Moved to Photometry and Radiometry group in documentation |
Kimberly Oyama | 2013-01-14 | Output the statistics used for the linear regression to the log. Updated documentation to correctly describe the POVERLAP option and to explain that this application only works on single band cubes. Fixes #1383. |
Kimberly Oyama | 2014-01-16 | Added the MINCOUNT option to allow the user to determine how much of the images need to overlap for the overlap to be considered valid. References #1383. |
Parameters
Files
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
Type | cube |
---|---|
File Mode | output |
Filter | *.cub |
Type | filename |
---|---|
File Mode | output |
Internal Default | None |
Filter | *.txt *.pvl *.lis *.lst |
Option
Type | boolean |
---|---|
Default | FALSE |
Inclusions |
|
Type | integer |
---|---|
Default | 1000 |