Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Problem with cvStereoCalibrate

lupiniv
Beginner
106 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
106 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