Skip to content

BUG: Fix segmentation fault for TranslationTransform in antsTransformInfo#1820

Closed
gdevenyi wants to merge 1 commit intoANTsX:masterfrom
gdevenyi:fix-translation-antsTransformInfo
Closed

BUG: Fix segmentation fault for TranslationTransform in antsTransformInfo#1820
gdevenyi wants to merge 1 commit intoANTsX:masterfrom
gdevenyi:fix-translation-antsTransformInfo

Conversation

@gdevenyi
Copy link
Contributor

Fixes #1819

@gdevenyi
Copy link
Contributor Author

Narrowly fixes the bug, but I still need to sort out handling TranslationTransform in a ComposeTransform stack (is that allowed?)

@cookpa
Copy link
Member

cookpa commented Dec 13, 2024

I think this fix is good, but maybe it would be better to have antsAI write the translation as a Euler3DTransform, which is what antsRegistration does.

@cookpa
Copy link
Member

cookpa commented Dec 13, 2024

I'll see if I can change antsAI to bypass this - might solve the composition problem

@cookpa
Copy link
Member

cookpa commented Dec 16, 2024

Thanks for looking into this @gdevenyi, I will add a generic cast check into the else statement, but I don't think we need to handle Translation explicitly now

@cookpa cookpa closed this Dec 16, 2024
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

Successfully merging this pull request may close these issues.

antsTransformInfo fails to read COM alignment from antsAI

2 participants