estimateAffine3d does not accept std::vector<cv::Point3d> as input (Bug #2217)


Added by Stephan Wirth over 12 years ago. Updated over 12 years ago.


Status:Cancelled Start date:2012-07-31
Priority:Normal Due date:
Assignee:Stephan Wirth % Done:

0%

Category:calibration, 3d
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision 0fef7f8b
Added by Andrey Pavlenko about 11 years ago

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

Also available in: Atom PDF