[ITK] Get voxel indexes (x, y, z) of 3D image and corresponding data
Ashok Tiwari
tiwarias at yahoo.com
Thu Aug 30 13:40:54 EDT 2018
Dear ITK-users,
I'm a newbie in the field of Image processing. I'm curious about how to pull out all the voxel indexes (x, y, z) along with their data values from the 3d image. This 3D image matrix is a combination of .mhd and .raw files. I have my data stored in each voxel of raw image. And image is centered at origin (0, 0, 0).
I am interested to get all the voxel coordinates and associated data values for image analysis, may be using some loops. Could anyone tell me how to do that? Or, if you have an example code in your repository, could you please send it to me?
Regards,
Ashok T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://itk.org/pipermail/community/attachments/20180830/87edf5f8/attachment.html>
More information about the Community
mailing list