Dense disparity estimation via local stereo matching
The code implements the local color-weighted disparity estimation algorithm and evaluates its performance on a set of stereo image pairs. The algorithm includes the following steps:
- Cost function calculation
- Cost aggregation based on:
- Box filtering
- Gaussian filtering
- Local color-weighted filtering
- Winner-takes-all (WTA) disparity estimation
- Detection of occlusions
- Computation confidence values for disparity estimates
- Post-filtering to tackle occlusions and bad pixels (needs map from 4. and 5.)
- Calculation of BAD quality metric given the true disparity map
- Comparison of the performance of block matching and Gaussian smoothing for different sizes of aggregation windows
- Comparison of local color-weighted filtering against the two others above
- Visual assessment of the effect of occlusion filling
- One slice of cost volume
- Left disparity estimation without aggregation
- Left disparity estimation with block aggregation
- Left disparity estimation with gaussian aggregation
- Comparison of block and gaussian filtering
- Left and right disparity estimation with gaussian aggregation
- Left occlusion map
- Left confidence map
- Left compansated (filled) occlusion map
- Comparison of color-weighted aggregation and the others
- Left disparity estimation with color-weighted aggregation