StereoSGBM cannot handle negative minDisparity

asked Jun 8 '15

temp9412 gravatar image

When I have a positive minimum disparity value (calculated from feature matches), I get a nice disparity map from StereoSGBM, but when I have it negative I get a nearly blank disparity map.

Is it possible that the implementation of SGBM in OpenCV doesn't support a negative minimum disparity?

Preview: (hide)