Coordinates of points around each voxle

Hello all,

I need to extract the coordinates of corner points around each voxel, for all voxels. Is there any way to do that?

The resolution of the voxels are shown in the below picture, after turning off the interpolation option.


Yes, the mapping between voxel coordinates (IJK in Slicer) and world, or RAS coordinates is defined by the IJKToRAS matrix. There are examples of this mapping. The IJK of 0,0,0 maps to the center of the first voxel in the volume, so you need to add 1/2 voxel offsets in all directions to get the coordinates of the corners.

1 Like

Thanks Steve for your reply.