Community
cancel
Showing results for 
Search instead for 
Did you mean: 
lupiniv
Beginner
48 Views

Problem with cvStereoCalibrate

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
48 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-sour...

Regards,
Ying
Reply