Why are pixels in left side shifted by certain amount in stereoBM cuda version and in cpu version for the image given in opencv example

Ajith
Thu, 14 Dec 2023 12:04:23 +0000
C++

This is the data folder opencv/samples/data at 3.4 · opencv/opencv · GitHub
I tried to use left image (aloeL.jpg) and right image (aloeR.jpg) from opencv example i used the same code which opencv provided but my results are like this
cuda:

but the ground truth should have been like this (aloeGT.png) in the data folder

3 posts - 2 participants