Skip to main content
Solved

Compute affine transformation


zzupljanin
Contributor
Forum|alt.badge.img+4

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.

View original
Did this help you find an answer to your question?

4 replies

jelle
Contributor
Forum|alt.badge.img+16
  • 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+4
  • Author
  • Contributor
  • March 12, 2020
jelle wrote:

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+16
  • Contributor
  • March 12, 2020
zzupljanin wrote:

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+4
  • Author
  • Contributor
  • March 13, 2020
jelle wrote:

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings