Add arguments for estimateRigidTransform#11594
Add arguments for estimateRigidTransform#11594take1014 wants to merge 1 commit intoopencv:masterfrom
Conversation
|
there is already I think we should really get rid of estimateRigidTransform in OpenCV 4, or reimplement using |
| Mat aff_est2 = estimateRigidTransform(img, rotated, true, 500, 3, 0.5f); | ||
| norm = cvtest::norm(aff_est1, aff_est2, NORM_INF); | ||
| EXPECT_DOUBLE_EQ(norm, 0.); | ||
| Mat aff_est3 = estimateRigidTransform(img, rotated, true, 100, 8, 0.1f); |
There was a problem hiding this comment.
It looks like the test checks the result doesn't depend on RANSAC parameters rather than its correctness. Wouldn't it be better to check the result against aff matrix?
There was a problem hiding this comment.
Thanks for the follow.
Certainly, I need to fix this code as you pointed out.
However, as alalek and hrnr say, I do not modify the interface of estimateRigidTransform, because we need to unify the "posture estimation" algorithm to calib3d's function instead of video module's.
|
I agree with @hrnr to keep "pose estimation" algorithms in a single place - calib3d module. |
|
@alalek, @hrnr, @terfendail |
|
maybe we should deprecate |
resolves #4270