ISIS Application Documentation
lineeq | Standard View | TOC | Home |
This program will normalize a cube based on line averages.
Description
Categories
Groups
Examples
History
Name | Description |
---|---|
FROM | Cube to normalize |
TO | Normalized cube |
CSV | CSV formatted file of line averages output |
Name | Description |
---|---|
BOXTYPE | Boxcar height specified in pixels of percentage |
BOXSIZE | Boxcar size for smoothing |
AVERAGES | Output a CSV formatted file of the line averages |
Specify the cube to be normalized.
Type | cube |
---|---|
File Mode | input |
Specify the output (normalized) cube.
Type | cube |
---|---|
File Mode | output |
Specify the CSV file to output the line averages to.
Type | filename |
---|---|
File Mode | output |
Internal Default | No Output |
Filter | *.csv |
When overriding the default boxcar size, you can enter the new value as a percentage of the image height or as an absolute size.
Type | string | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | NONE | ||||||||||||
Option List: |
|
This will override the default boxcar size when smoothing the line averages. The larger this size is, the less the image is affected. The smaller the boxcar, the larger the effect. If entering an absolute line size, it must be odd (any even number will automatically be rounded up).
Type | integer |
---|
Output a CSV formatted file of the line averages and the smoothed averages.
Type | boolean |
---|---|
Default | false |
Inclusions |
|
Normalizing a cube
Running this program on input.cub
Parameter Name:
TO This screen shot shows how to run this program using a small boxcar on input.cub. |
Noise
Parameter Name:
FROM This shows the noise that was introduced into the input image. It's values change line by line. This was introduced to input.cub by using fx and adding to the valid data. |
|
Original Data
Parameter Name:
FROM This is the original image, before anything was done to it. |
|
Input Data
Parameter Name:
FROM This is the original image with the noise added in. |
Output Image
Parameter Name:
TO This shows the image after this program was run. Notice the image data is restored, but all albedo was lost. |
Identifying a problem cube
Running this program on I07762023RDR_CN.cub with CSV output
Parameter Name:
TO This screen shot shows how to run this program on I07762023RDR_CN.cub and output the line averages as CSV. |
CSV Graph
Parameter Name:
CSV This shows the graph of the averages from the CSV file. Notice there is a large spike on the far left hand side of the data. This should be investigated further. |
|
CSV Graph (a closer look)
Parameter Name:
CSV This shows the graph of the averages from the CSV file zoomed into the left side. Notice the smoothed average (pink) is significantly off from the averages (blue). This tells us that the data in this region did not normalize properly. |
|
The cube
Parameter Name:
FROM This shows the first 1000 lines of the image before this program was run. Notice the bright area in this data corrosponds to the spike on the CSV graph. |
Output Image
Parameter Name:
TO This shows the first 1000 lines of the image after this program was run. Notice the resulting effects of this incorrect normalization. A smaller boxcar would balance this area, except for the lines with the bad data, but would also destroy any valid albedo. |
Deciding on a boxcar size
Running this program on input.cub with a 5% boxcar size
Parameter Name:
BOXSIZE This screen shot shows how to run this program using a 5% boxcar on input.cub. |
|
Running this program on input.cub with a 20% boxcar size
Parameter Name:
BOXSIZE This screen shot shows how to run this program using a 20% boxcar on input.cub. |
|
Running this program on input.cub with a 50% boxcar size
Parameter Name:
BOXSIZE This screen shot shows how to run this program using a 50% boxcar on input.cub. |
Input Data
Parameter Name:
FROM This is the original image. Notice it's very bright at the top and very dark at the bottom. |
Output Image
Parameter Name:
TO This shows the image after this program was run with a very small boxcar. Notice the loss of albedo. |
|
Output Image
Parameter Name:
TO This shows the image after this program was run with a small boxcar. Notice less of the data was properly normalized and there's more albedo. |
|
Output Image
Parameter Name:
TO This shows the image after this program was run with a larger boxcar. The albedo change from the last example to this one is minimal, but much more data was lost. |
Steven Lambright | 2007-07-26 | Original version |
Steven Lambright | 2007-08-06 | Added options and expanded examples |
Steven Lambright | 2007-12-10 | Fixed bug where batchlists failed after a few runs |
Steven Lambright | 2007-12-11 | Fixed problem with gaps in the images causing the program to fail |
Steven Lambright | 2008-05-13 | Removed references to CubeInfo |
Debbie A. Cook | 2011-11-18 | Made the output pixel match the input pixel when the input was a special pixel |