You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use cv::stereo::SteroBinarySGBM to compute the disparity but it keeps on throwing OpenCV Error: Assertion failed (cost.cols / (maxDisparity + 1) == leftImage.cols) in hammngDistanceBlockMatching opencv_contrib/modules/stereo/include/opencv2/stereo/matching.hpp:413: error: (-215) cost.cols / (maxDisparity + 1) == leftImage.cols in function hammingDistanceBlockMatching
The images are in grayscale and type = CV_8UC1