estimateRigidTransform undocumented Issue (Bug #1949)
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
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