Skip to main content
Solved

Compute affine transformation

  • March 12, 2020
  • 4 replies
  • 176 views

zzupljanin
Contributor
Forum|alt.badge.img+5

Is there a transformer that can easily define transformation parameters for affine transformation.

 

What I do have is set of points with old coordinates and same set of points in new coordinates. Can this be used to compute affine transformation model.

Best answer by jelle

Does it concern a rotation scaling? If so, you can use the Affiner.

If you just need to 'Translate' the data, the Offsetter will probably do what you want to achieve.

You will need to calculate the values based on one or more coordinate pairs.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

jelle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • Best Answer
  • March 12, 2020

Does it concern a rotation scaling? If so, you can use the Affiner.

If you just need to 'Translate' the data, the Offsetter will probably do what you want to achieve.

You will need to calculate the values based on one or more coordinate pairs.


zzupljanin
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 12, 2020

Does it concern a rotation scaling? If so, you can use the Affiner.

If you just need to 'Translate' the data, the Offsetter will probably do what you want to achieve.

You will need to calculate the values based on one or more coordinate pairs.

Yes, I do have rotation and translation. I'd use Affiner but I don't know how to calculate parameters for it.


jelle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • March 12, 2020

Yes, I do have rotation and translation. I'd use Affiner but I don't know how to calculate parameters for it.

OK, I understand. What if you create lines between two coordinate pairs (new and old) and you put these lines as control vectors into the AffineWarper?

If it turns out not to be an affine transformation, you could also use the Rubbersheeter.


zzupljanin
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 13, 2020

OK, I understand. What if you create lines between two coordinate pairs (new and old) and you put these lines as control vectors into the AffineWarper?

If it turns out not to be an affine transformation, you could also use the Rubbersheeter.

AffineWarper does the trick. Thank you