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

BUG: Fix Fiducial Registration module rigid transform changing scale #7255

Merged

Conversation

lassoan
Copy link
Contributor

@lassoan lassoan commented Sep 30, 2023

When Rigid transform type was selected in Fiducial Registration module, the resulting transform included scaling (scale factor != 1.0) as reported at https://discourse.slicer.org/t/rigid-transformation-is-scaling/31953

The problem occurred because ITK landmark initializer has been improved so that it can now compute scaling. Fixed this by using more specific transform types (rigid/similarity).

Since ITK now also supports "affine" transform initialization, this option is now exposed in the module as well.

When Rigid transform type was selected in Fiducial Registration module, the resulting transform included scaling (scale factor != 1.0) as reported at https://discourse.slicer.org/t/rigid-transformation-is-scaling/31953

The problem occurred because ITK landmark initializer has been improved so that it can now compute scaling. Fixed this by using more specific transform types (rigid/similarity).

Since ITK now also supports "affine" transform initialization, this option is now exposed in the module as well.
@lassoan lassoan added this to the Slicer 5.5 milestone Sep 30, 2023
@lassoan lassoan self-assigned this Sep 30, 2023
@lassoan lassoan merged commit 06e48e5 into Slicer:main Oct 5, 2023
5 checks passed
@lassoan lassoan deleted the fix-fiducial-registration-rigid-mode-scaling branch October 5, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant