-
Notifications
You must be signed in to change notification settings - Fork 123
STYLE: Drop the index-based "CenterOfRotation" transform parameter #1305
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
Conversation
@@ -64,9 +61,6 @@ namespace elastix | |||
* By default "GeometricalCenter" is assumed.\n | |||
* | |||
* The transform parameters necessary for transformix, additionally defined by this class, are: | |||
* \transformparameter CenterOfRotation: stores the center of rotation as an index. \n | |||
* example: <tt>(CenterOfRotation 128 128 90)</tt> | |||
* deprecated! From elastix version 3.402 this is changed to CenterOfRotationPoint! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CenterOfRotation appears deprecated for AdvancedAffineTransform
* \parameter AutomaticTransformInitialization: whether or not the initial translation | ||
* between images should be estimated as the distance between their centers.\n | ||
* example: <tt>(AutomaticTransformInitialization "true")</tt> \n | ||
* By default "false" is assumed. So, no initial translation. | ||
* | ||
* The transform parameters necessary for transformix, additionally defined by this class, are: * | ||
* \transformparameter CenterOfRotation: stores the center of rotation as an index. \n | ||
* example: <tt>(CenterOfRotation 128 128 90)</tt>\n | ||
* <b>depecrated!</b> From elastix version 3.402 this is changed to CenterOfRotationPoint! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CenterOfRotation appears deprecated for AffineDTITransform.
* \parameter ComputeZYX: whether the order of rotations is ZYX. Default: "false". When false, the order is ZXY.\n | ||
* This parameter is only relevant for 3D transformation (i.e. when the stack transform is 4D), otherwise it is | ||
* ignored.\n | ||
* | ||
* The transform parameters necessary for transformix, additionally defined by this class, are: | ||
* \transformparameter CenterOfRotation: stores the center of rotation as an index. \n | ||
* example: <tt>(CenterOfRotation 128 128)</tt> | ||
* deprecated! From elastix version 3.402 this is changed to CenterOfRotationPoint! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CenterOfRotation appears deprecated for EulerStackTransform.
@@ -63,9 +60,6 @@ namespace elastix | |||
* This parameter is only relevant for 3D transformation, otherwise it is ignored.\n | |||
* | |||
* The transform parameters necessary for transformix, additionally defined by this class, are: | |||
* \transformparameter CenterOfRotation: stores the center of rotation as an index. \n | |||
* example: <tt>(CenterOfRotation 128 128 90)</tt>\n | |||
* <b>depecrated!</b> From elastix version 3.402 this is changed to CenterOfRotationPoint! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CenterOfRotation appears deprecated for EulerTransform.
@@ -66,9 +63,6 @@ namespace elastix | |||
* By default "GeometricalCenter" is assumed.\n | |||
* | |||
* The transform parameters necessary for transformix, additionally defined by this class, are: | |||
* \transformparameter CenterOfRotation: stores the center of rotation as an index. \n | |||
* example: <tt>(CenterOfRotation 128 128 90)</tt>\n | |||
* <b>depecrated!</b> From elastix version 3.402 this is changed to CenterOfRotationPoint! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CenterOfRotation appears deprecated for SimilarityTransform.
Discussed with Stefan (@stefanklein) at our bi-weekly internal elastix sprint. We concluded that the index-based "CenterOfRotation" parameter may be dropped for TransformParameter files, but not for registration parameter files. For registration parameter files, it may still be useful to specify the center of rotation by its grid index. |
3d00dc8
to
98dc30f
Compare
elastix version 3.402 deprecated the index-based "CenterOfRotation" in favor of "CenterOfRotationPoint" (which assumes world coordinates). Following: - commit 70dd3b8, "ENH: added the possibility to set the CenterOfRotationPoint", Marius Staring, Aug 2, 2006. - pull request #190 commit 47c470f, "BUG: No longer read rotation center as index (elastix transform < 3.402)", 24 Sep 2019
98dc30f
to
2235eaa
Compare
elastix version 3.402 deprecated the index-based "CenterOfRotation" in favor of "CenterOfRotationPoint" (which assumes world coordinates).
Following:
commit 70dd3b8, "ENH: added the possibility to set the CenterOfRotationPoint", Marius Staring, Aug 2, 2006.
pull request BUG: No longer read rotation center as index (elastix transform < 3.402) #190 commit 47c470f, "BUG: No longer read rotation center as index (elastix transform < 3.402)", 24 Sep 2019
@mstaring @stefanklein Please check, is this OK to you both? (Entirely dropping the index-based CenterOfRotation.)