Ask Your Question

Revision history [back]

How to get the right view disparity map with OpenCV 3.0

I want to get left and right view disparity map. I tried the disparity_filtering.cpp sample from OpenCV 3.0 on the aloeR.jpg and aloeL.jpg. I get a left raw disparity map. When I want to show the right raw disparity map, I only get black image (full zeros). I used getDisparityVis() as done with the left view. Why the image is black ? How can I get right view disparity map with few computation.

Other question : Is it possible to use WLS filter on the right view ?