I have head CT volumes and I would like to align each volume to the centre of the volume and same head orientation. Instead of doing registration, I am looking for something just rotating and moving to the centre of volume.
Any help and suggestion would be very appreciated?
Please look at the CenteredTransformInitializer and the CenteredVersorTransformInitializer classes. These methods can either use the geometry of the volume or the “mass” of the pixel values to initialize the the transforms. The Versor version also can initialize the rotation as well.
You can find information on these method in SimpleITK in the “Introduction to SimpleITKv4 Registration” Notebooks.