Help for MPFTOPO
PURPOSE:
To generate a vertical view of the landing site with the elevation as the DN.
To generate a vertical view of the landing site.
To fill in gores in the image.
value.
EXECUTION:
mpftpt inp=(left,right) out=(line_disparity,sample_disparity,mask) ...
mpfxyz inp=(left,right,line_disparity,sample_disparity) out=(x.img,y.img,z.img,error.img) parameters
mpftopo inp=(x.img,y.img,z.img,left) out=topo.img parameters
where:
x.img is the x value at that pixel in meters.
y.img is the y value at that pixel in meters.
z.img is the z value at that pixel in meters.
left is the left eye image of a stereo pair
OUTPUT IMAGE COORDINATES:
The COORDS keyword determines the output coordinates.
If COORDS=1 the output is in CAHV camera coordinates.
Here sample is X, line is -Y, and DN is Z.
If COORDS=2 the output is in Lander coordinates.
Here sample is X, line is Y, and DN is -Z.
If COORDS=3 the output is in Mars Local Level coordinates.
Here sample is Y, line is -X, and DN is -Z.
(North is up) (This is the default output).
METHOD:
Mpftopo first places each point from the input files into the output after
scaling and offset.
Then the gores are filled:
From each empty pixel the program searches outward in 8 directions to locate
the nearest populated border. It then computes the range R (in pixels) to the
8 border points. The value at the empty location is then weighted from:
DN = sum(dn(i)/R(i)**2) / sum(1/R(i)**2) sum from 1 to 8
HISTORY:
12-1-95 J Lorre.
COGNIZANT PROGRAMMER: Jean Lorre
PARAMETERS:
INP
First: x image
Second: y image
Third: z image
Fourth: left eye view
OUT
topo map
COORDS
coordinate system
CAHV = 1
Lander = 2
Mars = 3 (default)
FORMAT
Output format
BYTE HALF or REAL
SCALE
Pixels/meter in the
output
CENTER
Four numbers:
X,Y,line,sample)
DNSCALE
Four numbers:
(Z_lo,DN_lo,Z_hi,DN_hi)
NLOUT
# lines in output
NSOUT
# samples in output
MODE
Output dn value.
Z or DN
BAND
The vicar image
band number.
Defaults to 1
See Examples:
Cognizant Programmer: