hmk...@yahoo.dk
unread,Nov 17, 2020, 11:19:45 AM11/17/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to itksnap-users
Hi,
I just recently realized that a registration module was added, and have now had a little time (and a relevant project) to play around with it. I am already a big fan - it is very nice, intuitive, and something that I have really been missing - well done!
I would like to be able to export manually set transformation parameters (rigid/affine) - import them in into matlab/python - and use them constructively in various processing scripts, and to perform various customized image operations etc. The translation and rotation part of the transform (so rigid), I understand and can work with quite nicely.
However, when scaling is added (so similarity transforms) I cannot seem to grasp how the transforms are applied. I noticed that the translation parameters are actually modified during export when scalings are non-zero.
Suppose, that I have manually set translation parameters to [t_x, t_y, t_z] and also applied a scaling in y, s_y. Then the translation vector is not exported/stored as [t_x, t_y, t_z], but rather [t_x, y', t_z]. I can't get my head around how that modification of t_y relates to the scaling parameter, s_y.
An explanation or some further references to how the transforms work would be much appreciated :)
Best,
Martin