ISIS Application Documentation
equalizer | Printer Friendly View | TOC | Home |
Tone matches map projected cubes
Overview | Parameters | Example 1 | Example 2 | Example 3 | Example 4 | Example 5 |
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:10 |
Parameter GroupsFiles
ProcessingOptions
CalculationOptions
|
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:10 |
A list of map projected cubes to equalize. The Mapping groups must match in order to do the equalization.
Type | filename |
---|---|
File Mode | input |
List of cubes that are to be held in the equalization. An additive and a multiplicative factor of 0 and 1 will be applied to all cubes that were held. All cubes listed in this file must also be contained in FROMLIST.
Type | filename |
---|---|
File Mode | input |
Internal Default | None |
Filter | *.txt *.lis *.lst |
This list of output files must contain a file name to correspond to each input file in the FROMLIST. Input files will be associated with output files by index, so that the equalized product of the first file in the FROMLIST will be written to the name and location of the first file in the TOLIST, and so on. Each output file will be written to the exact location with the exact name specified, unless the location and name happen to be identical to those of its corresponding input file, in which case an error will be thrown. If this list is not specified, but the APPLY option is still selected, the output files will be placed in the directories of their input files, and named the same with the exception of an added ".equ" extension (e.g., "foobar.cub" becomes "foobar.equ.cub").
Type | filename |
---|---|
File Mode | input |
Internal Default | Automatic |
This file will contain the statistics of all of the overlapping areas in every band along with the computed equalizing factors (OFFSET and GAIN). Specifying this output file is optional.
Type | filename |
---|---|
File Mode | output |
Internal Default | None |
Filter | *.txt *.pvl *.lis *.lst *.dat |
This file must contain the statistics of all the overlapping areas in every band along with the computed equalizing factors (OFFSET and GAIN) for every image in the FROMLIST.
Type | filename |
---|---|
File Mode | input |
Filter | *.txt *.pvl *.lis *.lst *.dat |
This option allows the user to decide whether they want to do the equalization calculations and then go on to apply correction afterwards, apply correction to the images off previously gathered statistics, or do the calculations but not apply correction. If the APPLY option is not selected, you must specify an OUTSTATS file. If it is selected, you can still optionally specify an OUTSTATS file and the GAIN/OFFSET values will be applied to each input cube. The names and locations of the output cubes are specified by the TOLIST file.
Type | string | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | BOTH | ||||||||||||||||||
Option List: |
|
This option allows the user to choose the solve method for the least-squares system. The default is SPARSE.
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | SPARSE | |||||||||
Option List: |
|
This option allows the user to select the algorithm that will be used to adjust the pixel values. The BRIGHTNESS mode will equalize using only an offset (the gain will be set to 1.0), and the CONTRAST mode will equalize using only a gain (the offset will be set to 0.0) but keeping the images around their current average. The GAIN option will equalize using only a gain and will not normalize the output values. The BOTH option will equalize using both an offset and a gain. In most cases this option will give you the best results.
Type | string | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | BOTH | |||||||||||||||
Option List: |
|
If the number of points in the overlapping area meets or exceeds this value, the area will go into the least-squares solution as a "known." Otherwise it will not be included in the calculations.
Type | integer |
---|---|
Default | 1000 |
This option allows the user to decide whether they want to weight the least squares solution based on how large the overlap area is, or if they want no weighting at all. If this parameter is set to "true," then larger overlapping areas will have more of an impact on the corrective factors than smaller overlaps.
Type | boolean |
---|---|
Default | FALSE |
The percentage of the lines in each area to consider in the process-by-line solutions for finding overall cube statistics and overlap statistics. This value must be a decimal value between 0.0 (exclusive) and 100.0 (inclusive).
Type | double |
---|---|
Default | 100.0 |
Minimum | 0.0 (exclusive) |
Maximum | 100.0 (inclusive) |
Example 1Calculate Statistics and Apply Correction Description
This example shows the most typical use of the equalizer application.
The defaults are to perform both calculation and adjustment for both the
gain and offset.
Command Line
equalizer fromlist= FromList.lst holdlist= HoldList.lst
Specify a list of images to equalize along with a holding list that enables the necessary
calculations to be performed. All other options are at default
values.
GUI Screenshot
Input Image
Data FilesLinks open in a new window.
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:10 |
Example 2Calculate Statistics Description
This example shows how to use the equalizer application to calculate
equalization statistics and write them to a file, without applying the
corrections to the input images.
Command Line
equalizer fromlist= FromList.lst holdlist=/HoldList.lst
outstats= stats.pvl process= calculate
In addition to specifying a fromlist and a holdlist, we must also
specify a location to write the output statistics PVL file, and set the
process type to "calculate." Since no output images will be created,
we do not (and cannot), specify a tolist. All other options are at
default values.
GUI Screenshot
Input Image
Data FilesLinks open in a new window.
|
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:10 |
Example 3Apply Correction Description
This example shows the use of the equalizer application for applying
correction to a subset of the images used to produce a specified input
statistics file.
Command Line
equalizer fromlist= Input.lst tolist= Output.lst instats=
stats.pvl process= apply
Specify a fromlist that is a sublist of the fromlist from Example 2.
Because calculations have already been performed, no holdlist is
specified, and since we want to place the output images in a specific
location with specific names, a tolist is specified. Finally, we set
the value of the instats parameter to be the output statistics file
generated in Example 2, and set the process to "apply." All other
options are at default values.
GUI Screenshot
Data FilesLinks open in a new window.
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:10 |
Example 4Recalculate Statistics Description
This example shows the use of the equalizer application for recalculating statistics after
initially calculating statistics where some images do not have any overlaps.
Command Line
equalizer fromlist=fixedList.lst
instats=nonOverlapStats.pvl outstats=fixedStats.pvl process=recalculate
In addition to specifying a fromlist, we must also specify the previously calculated
statistics PVL file (instats), specify a location to write the output statistics PVL file
(outstats), and set the process type to "recalculate." Since no output images will be
created, we do not (and cannot), specify a tolist. All other options are at
default values.
GUI Screenshot
Input Images
Data FilesLinks open in a new window.
|
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:10 |
Example 5Recalculate Statistics and Apply Correction (RETRYBOTH) Description
This example shows the use of the equalizer application for recalculating statistics after
initially trying to calculate and apply corrections on a non-overlapping data set.
Command Line
equalizer
fromlist=fixedFromlist.lis tolist=tolist.lis outstats=retryBothStats.pvl
instats=nonOverlapStats.pvl process=retryboth
In addition to specifying a fromlist, we must also specify the previously calculated
statistics (instats). We should also provide a location to write the output statistics
PVL file (outstats) if we still have images without overlaps in our fromlist. We will
also provide a list of output files (tolist).
GUI Screenshot
Input Images
Data FilesLinks open in a new window.
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:10 |