Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Problem with cvStereoCalibrate

lupiniv
Beginner
332 Views
Hello everyone, I am a new member and I am just starting with opencv. But it's a
couple of days cvStereoCalibrate gives me problems. The fact is that puts the
parameters but when I start the program comes out this error:
Internal Error (Assertion: (CV_MAT_DEPTH(_imagePoint1->types) == CV_32F ||
(CV_MAT_DEPTH(_imagePoint1->types) == CV_64F) && ((_imagePoint1->rows ==
pointTotal && _imagePoints1->cols*cn == 2 || ((_imagePoint1->rows == 1 &&
_imagePoints1->cols == pointsTotal && cn == 2)) failed) in cvStereoCalibrate,
file C:\User\VP\ocv\opencv\src\cv\cvcalibration.cpp, line 1922

I tried to change several times imagePoints1 but to no avail. I use windows7 and
Code:: Blocks


0 Kudos
1 Reply
Ying_H_Intel
Employee
332 Views
Quoting - lupiniv
Hello everyone, I am a new member and I am just starting with opencv. But it's a
couple of days cvStereoCalibrate gives me problems. The fact is that puts the
parameters but when I start the program comes out this error:
Internal Error (Assertion: (CV_MAT_DEPTH(_imagePoint1->types) == CV_32F ||
(CV_MAT_DEPTH(_imagePoint1->types) == CV_64F) && ((_imagePoint1->rows ==
pointTotal && _imagePoints1->cols*cn == 2 || ((_imagePoint1->rows == 1 &&
_imagePoints1->cols == pointsTotal && cn == 2)) failed) in cvStereoCalibrate,
file C:UserVPocvopencvsrccvcvcalibration.cpp, line 1922

I tried to change several times imagePoints1 but to no avail. I use windows7 and
Code:: Blocks



Hi Lupiniv,

According toyour discription, you may chech your inputimagePoints1 andthe condition one by one, if some one is not meet?.

Orpost your question to the OpenCV newsgroup. where many OpenCV user may know the problem.

Here is one FAQ about IPP vs. OpenCV for your reference.
http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-open-source-computer-vision-library-opencv-faq/

Regards,
Ying
0 Kudos
Reply