-
Notifications
You must be signed in to change notification settings - Fork 164
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
forward and inverse affine transforms are identical #340
Comments
It is intentional.
On Thu, Mar 10, 2022 at 8:13 PM Andrew Berger ***@***.***> wrote:
I've noticed that:
aff = ants.registration(fix, mov, type_of_transform='Affine')
# true
aff['fwdtransforms'][0] == aff['invtransforms'][0]
Is this intentional? Affine transforms are easy to invert of course but
this behavior seems misleading
—
Reply to this email directly, view it on GitHub
<#340>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPE7Q76UXISIYMKUD5LBTU7KM4DANCNFSM5QOH7QEA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
brian
|
Reason we did it this way originally is so that we didn’t have to keep
track of forward and inverse transforms as separate files and ensure their
consistency.
Trade off either way
On Thu, Mar 10, 2022 at 8:23 PM brian avants ***@***.***> wrote:
It is intentional.
On Thu, Mar 10, 2022 at 8:13 PM Andrew Berger ***@***.***>
wrote:
> I've noticed that:
>
> aff = ants.registration(fix, mov, type_of_transform='Affine')
>
> # true
> aff['fwdtransforms'][0] == aff['invtransforms'][0]
>
> Is this intentional? Affine transforms are easy to invert of course but
> this behavior seems misleading
>
> —
> Reply to this email directly, view it on GitHub
> <#340>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AACPE7Q76UXISIYMKUD5LBTU7KM4DANCNFSM5QOH7QEA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
--
brian
--
brian
|
I can't say that I understand this design decision, as it is up to the user to keep track of the forward/inverse transformation files anyway, and makes proper use of I think it would be a good idea to better document this gotcha. |
Great. Since you find it confusing, you would probably be in the best position to alleviate that confusion with updated documentation. |
another aspect of this behavior that I am confused about is that for SyN registration, the fwdtransform list is suggesting that the affine matrices returned by the two transform types are inverted relative to each other. do I have that right? |
I've noticed that:
Is this intentional? Affine transforms are easy to invert of course but this behavior seems misleading
The text was updated successfully, but these errors were encountered: