hifringe
Gathers statistics on the first and last several samples of a channel
Gathers several statistics on the "fringe" of a channel file. These
statistics are then output to a pvl file that can be viewed to see if several
channel files, based upon those statistics, are suitable for stitching
together. The number of lines that are gathered is a function of the binning
mode of the channel file being input as follows:
binning mode 1 48 rightmost and 48 leftmost samples gathered binning mode 2 24 rightmost and 24 leftmost samples gathered binning mode 3 16 rightmost and 16 leftmost samples gathered binning mode 4 12 rightmost and 12 leftmost samples gathered binning mode 8 6 rightmost and 6 leftmost samples gatheredThe following statistics are gathered:
Valid Pixels Standard Deviation Average Minimum Maximum
Categories
Related Objects and Documents
Applications
History
Drew Davidson | 2006-05-15 | Original version |
Drew Davidson | 2006-05-26 | Added the ability to sample multiple sections |
Steven Lambright | 2008-05-13 | Removed references to CubeInfo |
Kelvin Rodriguez | 2016-08-28 | Removed unused const ID |
Parameters
Files
input channel file. Although this program is meant to be used solely
for stitching channel files together, it could be used on any hirise
image at all.
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
This pvl file will contain two groups. The first group will be
statistics for the leftmost samples, and the second group will be
statistics for the rightmost samples.
Type | filename |
---|---|
File Mode | output |
Filter | *.pvl |
sections
This is the number of sub-areas that are extracted from each side of
the cube. They will be spaced in such a way that there will be a
section starting at the
l/nth line where
lis the total number of lines in the cube and
nis the number of sections specified.
Type | integer |
---|---|
Default | 5 |
This is the number of lines in each section. If the user
does not enter anything, or specifies an invalid number
of lines (i.e. more lines than exist in the cube), the
sections will be stretched to cover as many lines of the
cube as possible
Type | integer |
---|---|
Internal Default | complete coverage |
Example 1
Calculating statistics for a band in a cube
This example shows the statistics gathered from a single band of
a cube.
Command Line
Running hifringe on a channel file.
hifringe
from= ATL_MarsCube_RED5_0.cub to= red5.pvl
Data File
Links open in a new window.Output from stats | This is the output captured in "red5.pvl". |
---|