Hi, I am using 3D slicer to register a CT volume into MR volume and transform node labels on CT into MR coordinates.
Through Elastix in 3D slicer I can do the registration and output the transform to do the job, which is done successfully. However, I want to make that pipeline in Python scripts, with ITK-Elastix to register the volume.
The problem here is that the way to transform the nodes in moving image(CT) into fixed image(MR) with reference to the registration transform parameters is not clear in ITK-Elastix.
So I want to know how this is done in Slicer-Elastix. In another word, how is it done to get a transform matrix from rigid registration result parameters?
If there is any function or algorithm, it is welcomed to introduce.
Thanks a lot!
Thanks for your feedback! Yes, I have reviewed their repository while it did not show how the output parameters of Elastix registration is translated into Slicer transorm which is shown as matrix that can be applied in transforming coordinates. As a result, my problem focused on how to achieve such procedure.
Unfortunately I am not familiar with elastix that much. SlicerElastix is a python module, you can open the source code and review how they are doing it.