INP
input images.
first: left to right disparity image
second: right to left disparity image
O_THRESH
Used to test for outliers.
All four neighbors used in the bilinear interpolation must
be within this distance (in pixels) of each other.
MINDIST
Threshold on the acceptable distance (in pixels) after projecting
back into the L->R disparity image.
OUT
output disparity mask wich is a single banded byte file. The pixels
dn values can be either 0 or 255, no other values are allowed.
Pixels with dn value of 0 are the ones that passed consistency check.
Pixels with dn value of 255 either failed consistency check or had
no correlation value to begin with.
QUALITYRL
(Optional)
input R-> L disparity quality image
QUALITYLR
(Optional)
input L-> R disparity quality image
QUALITY_THRESH
(Optional)
Two thresholds that the values in the quality images must satisfy.
first - left disparity image
second - right disparity image
(If only one quality image is provided, only 1 threshold is required)