Help for MPFCAHV
PURPOSE:
To convert Mars Pathfinder lander or rover images from distorted (CAHVOR)
to linear (CAHV) coordinates. The output image CAHV coordinates have
been transformed to epipolar alignment and rotated to reflect the commanded
pointing.
EXECUTION STATEMENT:
mpfcahv inp=a.img out=b.img
or
mpfcahv inp=(a.img,leftcahv,rightcahv) out=b.img
where:
leftcahv and rightcahv are ascii files containing the cahvor camera models
already rotated for the commanded azimuth & elevation.
METHOD
For each pixel in the output image it's coordinates are transferred from
CAHV to CAHVOR space. If the pixel falls within the input image it's
DN value is bilinearly interpolated and placed in the output.
mpfcahv will create a full output image even if the input is a subset
of the entire input.
Labels will be added to the output image. These will contain the output
quaternion and the resulting CAHV cectors in Mars Fixed Coordinates.
PROGRAM HISTORY
Cognizant programmer: Jean Lorre
Revisions: 2-1-96
PARAMETERS:
INP
Input image optional cahvor
camera models
OUT
Output image.
Byte format.
MISSION
Mission name
SPACECRAFT
Spacecraft name
INSTRUMENT
Instrument name
SLAREA
The starting line
of the input sub area
Defaults to 1
SSAREA
The starting sample
of the input sub area
Defaults to 1
BAND
The BSQ band number
AZIN
Input image
commanded azimuth.
ELIN
Input image
commanded elevation.
AZCNT
Input image
commanded azimuth
motor counts.
ELCNT
Input image
commanded elevation
motor counts
DEPLOYED
IMP deploy status
MLLQ
Quaternion from imp
to mars local level
FILTER
Filter position
SCALE
Manual override
DN scaling.
Dn goes to 255.
PERCENT
Automatic dn
scaling.
CAMERA
The cahv model
to use.
1=flight camera
2=engineering camera
3=rover front
4=rover rear
(defaults to
1 or 3 or 4)
OFFSET
Origin offset from
MLL to MFX
Defaults to label.
OPTION
Type of output image.
HEIGHT
Camera head height
in meters in lander
coordinates.
See Examples:
Cognizant Programmer: