estimateAffine3d does not accept std::vector<cv::Point3d> as input (Bug #2217)
Description
The C++ interface of estimateAffine3d does not accept std::vector<cv::Point3d> as input/output:
OpenCV Error: Assertion failed (count >= 0 && to.checkVector(3, CV_32F) == count) in estimateAffine3D, file /tmp/buildd/libopencv-2.3.1+svn6514+branch23/modules/calib3d/src/modelest.cpp, line 462 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/buildd/libopencv-2.3.1+svn6514+branch23/modules/calib3d/src/modelest.cpp:462: error: (-215) count >= 0 && to.checkVector(3, CV_32F) == count in function estimateAffine3D
However, using std::vector<cv::Point3f> works fine.
Associated revisions
Merge pull request #2217 from ilya-lavrenov:tapi_superres
History
Updated by Daniil Osokin over 12 years ago
Assertion told, that you must use 3 channel CV_32F data. Here is no bug, isn't it?
Updated by Daniil Osokin over 12 years ago
- Assignee set to Stephan Wirth
Updated by Daniil Osokin over 12 years ago
I'll cancel this issue, if will be no response.
Updated by Daniil Osokin over 12 years ago
- Status changed from Open to Cancelled