Help for MPFTPT1

PURPOSE:
To compute, from a stereo pair, the line and sample disparity
of every pixel in the scene.
This program only computes horizontal disparity by 1-d correlations using
many lines taken together.

EXECUTION:
mpftpt1 inp=(left,right) out=(line_disparity,sample_disparity,quality) parameters
where:
left is the left eye image of a stereo pair
right is the corresponding right eye image of a stereo pair
line_disparity is the right eye line value.
sample_disparity is the right eye sample value.
quality is the correlation quality.


METHOD:
MPFTPT1 performs a fast 1-d correlation between the left and the right
eye images using NLW lines at a time.
Note: correlations are only computed on integral pixel boundaries.

Output file contents:
 
All output files are in the coordinates of the first (left eye) image.
For example if output file #2 has a value of 56.67 at sample 50 it means
that the sample location of a tiepoint located at sample 50 in the left
eye image corresponds to sample 56.67 in the right eye image.
 
First output: A REAL image containing the line disparity. This is the line in
the second input (right eye) which corresponds to the line in the first
input image (left eye). This program generates a line disparity which is
always zero (unless the SHIFT keyword is used).
If both left & right disparity values are 0.000 the point has no value.
 
Second output: A REAL image containing the sample disparity. This is the sample
in the second input (right eye) which corresponds to the sample in the first
input image (left eye).
If both left & right disparity values are 0.000 the point has no value.

HISTORY:
6-30-97  J Lorre. 
COGNIZANT PROGRAMMER:  Jean Lorre


PARAMETERS:


INP

2 input images

OUT

3 Output images

NLW

correlation size height

TEMPLATE

correlation size width

SEARCH

correlation search area

SHIFT

Line shift of right image. - is down.

QUALITY

Minimum acceptable correlation quality

See Examples:


Cognizant Programmer: