Help for MPFFILLIN
PURPOSE:
To edit erroneous points based upon range statistics.
To fill in gores (empty regions) in xyz files generated by program MPFXYZ.
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
mpffillin inp=(x.img,y.img,z.img) out=(x.img,y.img,z.img)
METHOD:
(mode 1 or 3)
Each xyz value is converted to a range value.
Each picture line of range values is fit to a line relating range to sample.
Points are removed which deviate from the line by F*sigma where F is
provided by the SIGMA parameter.
(mode 2 or 3)
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
dn represents either x, y, or z.
HISTORY:
12-1-95 J Lorre.
COGNIZANT PROGRAMMER: Jean Lorre
PARAMETERS:
INP
input images.
first: x
second: y
third: z
OUT
Output files
first: x
second: y
third: z
SIGMA
The number of
standard deviations
permitted.
MODE
1 = Do sigma editing
2 = Do fillin
3 = Do both
See Examples:
Cognizant Programmer: