1 | initial version |
The default aloeL.jpg and aloeR.jpg images are for a close up object with large disparities. I have a hunch that at a number of disparities set to 16 you are not able to resolve the full range of disparities present in the image. Try setting the number of disparities to a larger number:
StereoBM bm = StereoBM.create(128, 15);