-
Notifications
You must be signed in to change notification settings - Fork 118
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
Initial Transform Parameters not being applied #1216
Comments
@han050 Thank you for reporting this issue! Can you please try to see if the problem is still there with the latest release, version 5.2.0? You may download the executable from https://github.com/SuperElastix/elastix/releases/tag/5.2.0 |
Thanks a lot for the suggestion. Unfortunately, the problem still occurs, but it seems that the initial transform is indeed being used, however it is printed as 'Transform parameters are initialized as: [0, 0, 0, 0, 0, 0]' (see elastix log below). Besides, the 'result' image is the moving image, with the initial transform parameters + the outcome transform parameters, (if correct performed) on the position of the fixed image, is that correct? The reason I got confused is because of these sentences in the elastix manual: The way I interpret the second sentence is that the transform parameters map the fixed image to the position of the moving image. However, the 'result' image seems to be the opposite—transforming the moving image to align with the fixed image. Thanks in advance for your help! ELASTIX version: 5.2.0 =============== start of ParameterFile: Parameters/Par0001rigid.txt =============== (FixedInternalImagePixelType "float") (AutomaticParameterEstimation "true") (ImageSampler "RandomCoordinate") =============== end of ParameterFile: Parameters/Par0001rigid.txt =============== Reading images... Reading the elastix parameters from file ... WARNING: the fixed pyramid schedule is not fully specified! |
Thanks for the extra information @han050
Yes, that is correct 👍 I'll let you know when I have a better understanding of what's going on! |
Is the sentence |
Hi,
I'm encountering a problem when trying to use the transform parameters from a previous registration as an initial guess for a new registration. It seems that the transform parameters from the previous registration are not being applied, instead, default values are used.
See elastix log:
ELASTIX version: 5.1.0
Command line options from ElastixBase:
-out Test_outcome/
-threads unspecified, so all available threads are used
Command line options from TransformBase:
-t0 Test_outcome/Initial_transform/TransformParameters.0.txt
Reading images...
Reading images took 0 ms.
Reading the elastix parameters from file ...
WARNING: The parameter "AutomaticTransformInitializationMethod", requested at entry number 0, does not exist at all.
The default value "GeometricalCenter" is used instead.
Transform parameters are initialized as: [0, 0, 0, 0, 0, 0]
The transform parameter file looks like this (in short):
(Transform "EulerTransform")
(TransformParameters 0.0020716847617562382 -0.006290548063643442 0.00033287221727853507 -0.18079999989469725 -0.26997081820522 1.0967064662242103)
(InitialTransformParameterFileName "NoInitialTransform")
(CenterOfRotationPoint 124.78430071473122 -0.14370068907737732 838.5)
(ComputeZYX "false")
(Direction 1 0 0 0 1 0 0 0 1)
(FixedImageDimension 3)
(FixedInternalImagePixelType "float")
(HowToCombineTransforms "Compose")
(Index 0 0 0)
Could you please help me understand why the transform parameters might not be getting applied, and how I can resolve this issue?
Thank you!
The text was updated successfully, but these errors were encountered: