A Matlab implementation of Dynamic Programming Algorithm for stereo matching. It provides vertical smoothness by trying to keep the current path close to the former path using an additional discontinuity cost.
The Tsukuba stereo image that used as input.
The disparity map that created at the output.
The disparity map without occluded pixels.