Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Awful disparity map using StereoBM

Hello. I am trying to make cloud point from pair of images. I am using StereoBM to create disparity map, but results is very, very bad. image description

My code on github.

I see lot of tutorials, such this, but I can't create good disparity map. I also trying to use StereoSGBM, but results is same. My images are rectified well and this is a pruf (it's an optical flow from stereo images, all lines are horizontal)

image description

How can I do good disparity map? Hope you'll help.

P.S.

  1. I can't find SADWindowSize in StereoBM.
  2. I heared about Graph Cut algorytm, but I can't find it in OpenCV.