How to computing a rotation, translation and NO scale transform.

1 visualización (últimos 30 días)
Hans Dohse
Hans Dohse el 13 de Nov. de 2012
I am trying to compute a transform that does a best match between sets of 2D points. The constraints on the transform is that it contains only rotation and translation components and NO scale. The matlab supported transform types (cp2tform) do not seem to have one that match this criteria.

Respuestas (1)

Image Analyst
Image Analyst el 14 de Nov. de 2012
Do you just want the fixed-up image? If so, use imregister(). Why do you want to specify that the scale is 1? Why will it hurt you if it maps your "wrong" coordinates into your "desired" coordinates if there is a slight scaling? I know you think that there may be none, but if there isn't then the scaling it will find will just be 1 and there will be no problem. If there is a slight scaling then your points will not map to their desired locations optimally if you force (somehow) scaling to be 1.

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by