estimateRigidTransform undocumented Issue (Bug #1949)


Added by sebastien wybo almost 13 years ago. Updated about 12 years ago.


Status:Done Start date:2012-05-16
Priority:High Due date:
Assignee:Ivan Korolev % Done:

0%

Category:imgproc, video
Target version:2.4.4
Affected version:2.4.3 Operating System:
Difficulty: HW Platform:
Pull request:https://github.com/Itseez/opencv/pull/374

Description

Came around this one while trying to understand why some estimated trasnforms were completely wrong:
if RANSAC used in cvEstimateRigidTransform doesn't find correct solution it returns 0 but cv::estimateRigidTransform only returns the supposedly estimated transform matrix! So if no solution is found an uninitialized matrix is provided and no warning message provided...

estimateRigidTransform should return 0 or 1 and pass transformation matrix as reference/


Associated revisions

Revision b362affd
Added by Ivan Korolev about 12 years ago

Fixed bug in the cv::estimateRigidTransform (#1949)

History

Updated by Andrey Kamaev almost 13 years ago

  • Target version deleted (2.4.1)

Updated by Vadim Pisarevsky about 12 years ago

looks like the problem in C++ wrapper. Need to check the return value and return empty matrix if cvEstimateRigidTransform() returned 0.

  • Affected version set to 2.4.3
  • Target version deleted ()

Updated by Vadim Pisarevsky about 12 years ago

  • Assignee deleted (Vadim Pisarevsky)

Updated by Ivan Korolev about 12 years ago

  • Assignee set to Ivan Korolev

Updated by Andrey Kamaev about 12 years ago

Fix is pushed to 2.4

  • Pull request set to https://github.com/Itseez/opencv/pull/374
  • Status changed from Open to Done

Updated by Kirill Kornyakov about 12 years ago

  • Target version set to 2.4.4

Also available in: Atom PDF