-
Notifications
You must be signed in to change notification settings - Fork 23
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
2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter #93
Comments
@NHPatterson Thanks for reporting this issue, Heath. Stefan (@stefanklein), Viktor (@ViktorvdValk) and I just discussed the issue. It appears that |
The same counts for AffineDTITransform, see issue 366 on elastix repo |
Thanks @ViktorvdValk I just assigned issue SuperElastix/elastix#366 to myself 😄 |
Added `SimilarityTransformElastix<TElastix>::CreateTransformParametersMap` override, which adds the "CenterOfRotationPoint" parameter. Addresses ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 Bug fixed with help from Stefan Klein and Viktor van der Valk.
Added `AffineDTITransformElastix<TElastix>::CreateTransformParametersMap` override, which adds the "CenterOfRotationPoint" parameter. Addresses ITKElastix issue 93: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020. InsightSoftwareConsortium/ITKElastix#93 Bug fixed with help from Stefan Klein and Viktor van der Valk.
@stefanklein @ViktorvdValk I think this issue should be fixed by SuperElastix/elastix#379 But then, what about the following three elastix transform types?
Are these three fine, or should they get a similar fix? Is it possible to check that in Python? |
@N-Dekker I checked all the transforms in python and the same happens for:
AdvancedAffineTransformElastix is just the AffineTransform which does return the CenterOfRotationPoint |
@ViktorvdValk Do you mean that those three transforms (AffineLogStackTransform, AffineLogTransformElastix, EulerStackTransform) also need to be fixed (the same like Similarity and AffineDTI)? |
Yes, to be certain, you check this with the verification Stefan mentioned, but if I print the output of one of these transforms, it doesn't contain the 'CenterOfRotationPoint' parameter. |
Added `AffineDTITransformElastix<TElastix>::CreateTransformParametersMap` override, which adds the "CenterOfRotationPoint" parameter. Addresses ITKElastix issue 93: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020. InsightSoftwareConsortium/ITKElastix#93 Bug fixed with help from Stefan Klein and Viktor van der Valk.
Added `SimilarityTransformElastix<TElastix>::CreateTransformParametersMap` override, which adds the "CenterOfRotationPoint" parameter. Addresses ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 Bug fixed with help from Stefan Klein and Viktor van der Valk.
Added `AffineDTITransformElastix<TElastix>::CreateTransformParametersMap` override, which adds the "CenterOfRotationPoint" parameter. Addresses ITKElastix issue 93: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020. InsightSoftwareConsortium/ITKElastix#93 Bug fixed with help from Stefan Klein and Viktor van der Valk.
Added `SimilarityTransformElastix<TElastix>::CreateTransformParametersMap` override, which adds the "CenterOfRotationPoint" parameter. Addresses ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 Bug fixed with help from Stefan Klein and Viktor van der Valk.
Added `AffineDTITransformElastix<TElastix>::CreateTransformParametersMap` override, which adds the "CenterOfRotationPoint" parameter. Addresses ITKElastix issue 93: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020. InsightSoftwareConsortium/ITKElastix#93 Bug fixed with help from Stefan Klein and Viktor van der Valk.
…k, EulerStack, Similarity Added `CustomizeTransformParametersMap` overrides, which add the missing "CenterOfRotationPoint" parameter to: - `AffineDTITransformElastix` - `AffineLogTransformElastix` - `AffineLogStackTransform` - `EulerStackTransform` - `SimilarityTransformElastix`. Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Fixed with help from Stefan Klein and Viktor van der Valk.
Added `CustomizeTransformParametersMap` overrides, which add the missing "CenterOfRotationPoint" parameter to: - `AffineDTITransformElastix` - `AffineLogTransformElastix` - `AffineLogStackTransform` - `EulerStackTransform` - `SimilarityTransformElastix`. Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Fixed with help from Stefan Klein and Viktor van der Valk.
Added `CustomizeTransformParametersMap` overrides, which add the missing "CenterOfRotationPoint" parameter to: - `AffineDTITransformElastix` - `AffineLogTransformElastix` - `AffineLogStackTransform` - `EulerStackTransform` - `SimilarityTransformElastix`. Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Fixed with help from Stefan Klein and Viktor van der Valk.
Added `CustomizeTransformParametersMap` overrides, which add the missing "CenterOfRotationPoint" parameter to: - `AffineDTITransformElastix` - `AffineLogTransformElastix` - `AffineLogStackTransform` - `EulerStackTransform` - `SimilarityTransformElastix`. Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Fixed with help from Stefan Klein and Viktor van der Valk.
Added `CreateDerivedTransformParametersMap` overrides, which add the missing "CenterOfRotationPoint" parameter to: - `AffineDTITransformElastix` - `AffineLogTransformElastix` - `AffineLogStackTransform` - `EulerStackTransform` - `SimilarityTransformElastix`. Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Fixed with help from Stefan Klein and Viktor van der Valk.
Added `CreateDerivedTransformParametersMap` overrides, which add the missing "CenterOfRotationPoint" parameter to: - `AffineDTITransformElastix` - `AffineLogTransformElastix` - `AffineLogStackTransform` - `EulerStackTransform` - `SimilarityTransformElastix`. Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Fixed with help from Stefan Klein and Viktor van der Valk.
Added `CreateDerivedTransformParametersMap` overrides, which add missing parameters to: - AffineDTITransformElastix - AffineLogStackTransform - AffineLogTransformElastix - BSplineTransformWithDiffusion - DeformationFieldTransform - EulerStackTransform - MultiBSplineTransformWithNormal - SimilarityTransformElastix - SplineKernelTransform - TranslationStackTransform - WeightedCombinationTransformElastix Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Declared `TransformBase::CreateDerivedTransformParametersMap()` pure virtual (`= 0`). Added an empty override to `TranslationTransformElastix`, just to keep allowing the transform to be instantiated. Extended `CreateTransformParametersMapForDefaultTransform` GoogleTest unit test. Note: Some of the overrides may still be incomplete, as indicated by "TODO" comments.
Added `CreateDerivedTransformParametersMap` overrides, which add missing parameters to: - AffineDTITransformElastix - AffineLogStackTransform - AffineLogTransformElastix - BSplineTransformWithDiffusion - DeformationFieldTransform - EulerStackTransform - MultiBSplineTransformWithNormal - SimilarityTransformElastix - SplineKernelTransform - TranslationStackTransform - WeightedCombinationTransformElastix Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Declared `TransformBase::CreateDerivedTransformParametersMap()` pure virtual (`= 0`). Added an empty override to `TranslationTransformElastix`, just to keep allowing the transform to be instantiated. Extended `CreateTransformParametersMapForDefaultTransform` GoogleTest unit test. Note: Some of the overrides may still be incomplete, as indicated by "TODO" comments.
Added `CreateDerivedTransformParametersMap` overrides, which add missing parameters to: - AffineDTITransformElastix - AffineLogStackTransform - AffineLogTransformElastix - BSplineTransformWithDiffusion - DeformationFieldTransform - EulerStackTransform - MultiBSplineTransformWithNormal - SimilarityTransformElastix - SplineKernelTransform - TranslationStackTransform - WeightedCombinationTransformElastix Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Declared `TransformBase::CreateDerivedTransformParametersMap()` pure virtual (`= 0`). Added an empty override to `TranslationTransformElastix`, just to keep allowing the transform to be instantiated. Extended `CreateTransformParametersMapForDefaultTransform` GoogleTest unit test. Note: Some of the overrides may still be incomplete, as indicated by "TODO" comments.
Added `CreateDerivedTransformParametersMap` overrides, which add missing parameters to: - AffineDTITransformElastix - AffineLogStackTransform - AffineLogTransformElastix - BSplineTransformWithDiffusion - DeformationFieldTransform - EulerStackTransform - MultiBSplineTransformWithNormal - SimilarityTransformElastix - SplineKernelTransform - TranslationStackTransform - WeightedCombinationTransformElastix Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Declared `TransformBase::CreateDerivedTransformParametersMap()` pure virtual (`= 0`). Added an empty override to `TranslationTransformElastix`, just to keep allowing the transform to be instantiated. Extended `CreateTransformParametersMapForDefaultTransform` GoogleTest unit test. Note: Some of the overrides may still be incomplete, as indicated by comments, saying "TODO If necessary, add possibly missing parameters".
Added `CreateDerivedTransformParametersMap` overrides, which add missing parameters to: - AffineDTITransformElastix - AffineLogStackTransform - AffineLogTransformElastix - BSplineTransformWithDiffusion - DeformationFieldTransform - EulerStackTransform - MultiBSplineTransformWithNormal - SimilarityTransformElastix - SplineKernelTransform - TranslationStackTransform - WeightedCombinationTransformElastix Addresses the following issues: ITKElastix issue 93: "2D similarity transform parameter map doesn't keep "CenterOfRotationPoint" parameter", by Heath Patterson, 16 December, 2020. InsightSoftwareConsortium/ITKElastix#93 SuperElastix/elastix issue 366: "AffineDTITransform does not return the CenterOfRotationPoint", by dyliu2016, 27 November, 2020 #366 Declared `TransformBase::CreateDerivedTransformParametersMap()` pure virtual (`= 0`). Added an empty override to `TranslationTransformElastix`, just to keep allowing the transform to be instantiated. Extended `CreateTransformParametersMapForDefaultTransform` GoogleTest unit test. Note: Some of the overrides may still be incomplete, as indicated by comments, saying "TODO If necessary, add possibly missing parameters".
@NHPatterson Hi Heath! I'm closing the issue now, as I think we got it fixed 😃 By pull request SuperElastix/elastix#379 "Add missing parameters to transform parameter maps", which is just merged onto the https://github.com/SuperElastix/elastix develop branch. If you have the time, please check it out! And of course, if you think the issue is not entirely fixed, please feel free to reopen the issue, or submit another one. Thanks again! |
Hi all, thanks for putting together this package, I'm really enjoying the ease of installation.
It seems the similarity transform as wrapped in
ITKElastix
doesn't return theCenterOfRotationPoint
transform parameter (although it is written to file) when doing 2D to 2D registration.I encountered this issue using
SimpleElastix
as well so it may be inelastix
codebase itself.print(sim_params)
file on disk
The text was updated successfully, but these errors were encountered: