Ask Your Question

Revision history [back]

Disparity map issues

I've created a small stereo camera rig with an Arduino and some cheap serial cameras. My goal is to be able to (ideally) reconstruct a scene in 3D from a pair of stereo pictures. However, the disparity maps I am getting are of very poor quality, much worse than some of the examples I have seen online. I'm worried it's just because the cameras are really cheap, but I wanted to ask here first in case there is something I am doing wrong.

Stereo calibration seems to work fine; the error value returned was around 0.3, and the rectified images seem to line up correctly.

I've been messing around with the input parameters, and the image below is basically the best I've been able to get. As you can see, it's far from great.

Disparity map

I've tested the input parameters pretty extensively, so I don't think that's the problem. So I think that narrows it down to either the calibration or the cameras themselves.

Anyone with more experience than me have any ideas?