-
Notifications
You must be signed in to change notification settings - Fork 571
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
How can I transform two CTs with a known affine transformation matrix? #539
Comments
Sounds like a job for @mu40 |
May I ask if @mu40 has completed this part of the content? |
im not sure what you mean, but @mu40 has been spearheading our affine work and code. |
May I ask where is the affine code and how to use it? |
Assuming your images trans = matrix[..., :-1, :]
moved = vxm.layers.SpatialTransformer()((moving, trans)) where For the more general case, you can pass shape = fixed.shape[1:-1]
moved = vxm.layers.SpatialTransformer(shift_center=False, shape=shape)((moving, trans)) |
If this is still relevant, @angolin22, we now have a tutorial on affine registration at w3id.org/synthmorph. |
hello, thanks for your excellent work! I have a problem:
I have two 3D CT images, and I know the affine transformation matrix between them. e. g.
How can I transform CT with it?
Thanks
The text was updated successfully, but these errors were encountered: