Ask Your Question

Transformation (rotation and translation) between 2 images

asked 2016-05-25 04:21:01 -0500


I have this 2 images : image description


image description

I want to calculate the rotation and translation between the two objects (the long vertical object is noise). How can I do that? I try estimateRigidTransform and I get a 3x2 matrix like this :

[[ 9.74271490e-01 -5.10741683e-02 2.52325933e+01] [ 1.05148056e-02 1.01445292e+00 -8.42995582e+00]]

I think that this matrix is like this :

[[ cos(angle) sin(angle) tranlation_X] [-sin(angle) cos(angle) translation_Y]]

But 9.74271490e-01 is different from 1.01445292e+00, so, what does it means?

Is estimateRigidTransform the best (only) solution?

Best regards,


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-05-25 06:59:33 -0500

LBerger gravatar image

updated 2016-05-25 07:00:33 -0500

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-05-25 04:21:01 -0500

Seen: 963 times

Last updated: May 25 '16