Get voxel coordination by using imwarp

8 vues (au cours des 30 derniers jours)
AniCnx le 15 Nov 2021
Commenté : AniCnx le 13 Août 2024
How can I get the coordination of the voxel by using the imwarp function?
I have image volume and applied by the imwarp. The result was return only the image volume but I would like to get the coordination of each voxel.
0 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

Réponse acceptée

Himanshu le 9 Août 2024
Hi,
I see that you are trying to obtain voxel coordinates after applying the "imwarp" function to an image volume.
The "imwarp" function transforms an image volume but does not directly provide the voxel coordinates. You can achieve this by following these steps:
• Create a grid of coordinates for the original image volume using "ndgrid".
• Apply the same geometric transformation to these coordinates using the "transformPointsForward" method.
• Use the transformed coordinates to map the voxel locations.
1. Apply geometric transformation to image: https://www.mathworks.com/help/images/ref/imwarp.html
2. 3-D affine geometric transformation: https://www.mathworks.com/help/images/ref/affinetform3d.html
3. Apply forward geometric transformation: https://www.mathworks.com/help/images/ref/affinetform2d.transformpointsforward.html
4. Rectangular grid in N-D space: https://www.mathworks.com/help/matlab/ref/ndgrid.html
I hope this helps.
1 commentaireAfficher -1 commentaires plus anciensMasquer -1 commentaires plus anciens
AniCnx le 13 Août 2024
Thank you.

Connectez-vous pour commenter.

Catégories

En savoir plus sur 3-D Volumetric Image Processing dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by