Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of transformparameter files when computing inverse #229

Open
kenrickschulze opened this issue Jun 21, 2023 · 1 comment
Open

Order of transformparameter files when computing inverse #229

kenrickschulze opened this issue Jun 21, 2023 · 1 comment

Comments

@kenrickschulze
Copy link

Hello :)

i want to create an inverse transformation, thus i followed the example in "ITK_Example11_Transformix_DeformationField.ipynb".
I was wondering why the inverse transform ParameterObject is not initialized in the inversed order to the originally created tx,
e.g. i thought the inverse transform must be : inv_tx = affine(bsline(x))

I tested in binder if it makes any difference. The resulting deformation fields look similar but are not similar numerically.

So, does it make any difference what i create as ParameterObject() and what order would be technically correct?
Any clarification would be very appreciated :)

I attached my modifications of ur example for easy reproduction.

ITK_Example11_Transformix_DeformationField.zip

@thewtex
Copy link
Member

thewtex commented Jul 10, 2023

CC @ntatsisk @N-Dekker @mstaring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants