1 | initial version |
These days I started to use OpenCV 3.1 with opencv_contrib and I encountered exactly the same problem as yours. Then I tried the following stereo pair instead: opencv_contrib-master/modules/ximgproc/tutorials/images/ambush_5_left.jpg & ambush_5_right.jpg. The result looks the same as what described in http://docs.opencv.org/master/d3/d14/tutorial_ximgproc_disparity_filtering.html#gsc.tab=0.
All I can guess is maybe aloeL.jpg & aloeR.jpg are not "rectified" images, i.e., they are not ready for block matching, therefore the matching result is bad.