SuperElastix / SimpleElastix

Multi-lingual medical image registration library
http://simpleelastix.github.io
Apache License 2.0
509 stars 149 forks source link

what is the right way to generate a intial transform parameter file ? #405

Closed orange676 closed 3 years ago

orange676 commented 3 years ago

Hi ,

I have already a good estimation of the initial transform, which is an affine tranformation. What is the right way to create a parameter file? because the intial tranformation is 4x4 matrix, I can change it to the 12 parameter. However, there is also "CenterOfRotationPoint", what value should I put there? I tried to remove it, then it considered as corrupted file. Is this parameter important?

orange676 commented 3 years ago

No need to answer. the transformation matrix is y =A (x-c)+c+t for affine transformation, you can choose c to create a parameter file