Home
About Isis
Support
Download

Isis 3

Documentation
Tutorials
Technical Documents

Isis 2

Documentation
Tutorials
Technical Documents

Search

USGS

Isis 3 Application Documentation


camstats

Printer Friendly View | TOC | Home

Outputs camera statistics for a cube in raw camera geometry

Overview Parameters

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 Sucharski2007-01-22 Original version
Steven Lambright2007-08-14 Added an application test
Kris Becker2008-02-27 Check for special pixel values and write them as NULL values in keywords and the flat text file.
Steven Lambright2008-05-12 Removed references to CubeInfo
Christopher Austin2008-06-11 Added the ATTACH option
Steven Koechle2008-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
X

Files: FROM


Description

Input cube with appropriate camera labels (instrument and kernel groups)

Type cube
File Mode input
Filter *.cub *.CUB
Close Window
X

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
Close Window
X

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
Close Window
X

Files: FORMAT


Description

Format type for output file. PVL format is the default.

Type string
Default PVL
Option List:
Option Brief Description
PVL PVL Format Output file will be in PVL format
FLAT FlatFile Format Output file will be a comma deliminated flatfile. This form can easily be imported into spreadsheet applications.
Close Window
X

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
Close Window
X

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.

Type integer
Default 1
Close Window
X

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.

Type integer
Default 1
Close Window