Isis 3 Application Documentation
Outputs camera statistics for a cube in raw camera geometry
Description
This program will generate camera statistics from a user supplied "level 1" cube. The output of camstats can be directed
to a PVL file or flat text file. For each output group, the program will calculate the minimum, maximum, average, and standard
deviation. The output groups are:
Latitude
Longitude
Sample Resolution
Line Resolution
Resolution
Aspect Ratio
Phase Angle
Emission Angle
Incidence Angle
Local Solar Time
North Azimuth
The output values are calculated using the full image area. However, the number of data collection
points for the statistics can be controlled by using the line increment (linc) and sample increment (sinc)
parameters. If the default linc and sinc of one are used then every line and sample of the image is
used in the calculation of the output values. If the user enters a linc or sinc, then the number of data
collection points will be reduced. However, the edges of the image area always used even if they an
incrament does not fall on the edge.
Categories
History
Robert Sucharski | 2007-01-22 |
Original version
|
Steven Lambright | 2007-08-14 |
Added an application test
|
Kris Becker | 2008-02-27 |
Check for special pixel values and write them as NULL values in keywords
and the flat text file.
|
Steven Lambright | 2008-05-12 |
Removed references to CubeInfo
|
Christopher Austin | 2008-06-11 |
Added the ATTACH option
|
Steven Koechle | 2008-11-12 |
Camstats now outputs history to the cube when it finishes execution
|
|
Parameter Groups
Files
Name
|
Description
|
FROM |
Input file
|
ATTACH |
Attach result to the cube in the Table "CameraStatistics"
|
TO |
Text file output
|
FORMAT |
Output Format
|
APPEND |
Append Output to File
|
Option
Name
|
Description
|
LINC |
Line increment
|
SINC |
Sample increment
|
|
Files:
FROM
Description
Input cube with appropriate camera labels (instrument and kernel groups)
Type
| cube |
File Mode
| input |
Filter
|
*.cub *.CUB
|
Files:
ATTACH
Description
If this option is selected, the output camera statistics will be
attached as the Table "CameraStatistics" in the FROM cube's labels.
Note: This does alter the input cube.
Type
| boolean |
Default
| FALSE |
Files:
TO
Description
A text file in label format which will contain the results of this program. this file can be used
in conjunction with the "getkey" program in order to pass the results to another program
when developing scripts. The output can also be a flat text file, see the "FORMAT" parameter.
Type
| filename |
File Mode
| output |
Internal Default
| None |
Filter
|
*.txt *.TXT
|
Files:
APPEND
Description
If this option is selected, the output from the application will be appended to the "TO" file. if it is not
selected, and information in the "TO" file will be overwritten.
Type
| boolean |
Default
| FALSE |
Option:
LINC
Description
Will contol the number of lines where statistical data is collected. if a LINC of 10 is entered, every tenth line
will be used in the data collection.
Option:
SINC
Description
Will contol the number of samples where statistical data is collected. if a SINC of 10 is entered, every tenth sample
will be used in the data collection.