2014-03-24 11:49:13 -0600 | received badge | ● Student (source) |
2014-03-24 07:09:23 -0600 | asked a question | error in findStereoCorrespondenceBM Hi all, I'm trying to implement 3D reconstruction, but I can't go over this error: I'm reading images from stereo cameras as IplImage. I convert the IplImage in Mat and then in cvMat. CvMat l_rect = cvMat(imageSize_l.height, imageSize_l.width, CV_8UC1); The error appears in the findStereoCorrespondenceBM function: OpenCV Error: Unsupported format or combination of formats (Both input images must have CV_8UC1) in findStereoCorrespondenceBM How can I solve this problem? Thank you |