Replies: 1 comment
-
Hi @ qwang0225, I suggest you ask the question in the ants repo. BTW, you can refer to Hope it helps, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have been exploring MRI registration recently. After registering a Nifti format MRI image on MNI152 template, I found out that real total volumes of the image increased, which is not supposed to happen to my understanding. The real volume = total number of voxels * real volume of each voxel. Please see the code below.
Here is the output.
So clearly registration changed the image spacing, so the shape of image and unit voxel changed, but I would expect the total volume remain the same. The reason I'm asking is that I try to calculate a segmented volume after feeding the registered image into a binary segmentation model, by multiplying the number of positive voxels and the volume of unit pixel based on output mask. I want to make sure that this way I will get the real volume of the segmentation.
Can any of you help out? Where did I miss? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions