Revision history [back]

How to increase the quality of Disparity Map?

I am working on stereo images. After doing camera calibration and everything, I am trying to get a depth image. But depth image depends on the disparity map and I am not getting proper disparity map.

Here is a screenshot of my Disparity Map. (It shows only one image, but I have two images from two diff webcams separated by around 3cms)

I am using StereoBM and following are the values that I have set.

StereoBM sbm;