[ITK] Get voxel indexes (x, y, z) of 3D image and corresponding data

Dženan Zukić dzenanz at gmail.com
Fri Aug 31 20:44:03 EDT 2018


Hi Ashok,

here is an example to set pixel values:
https://itk.org/ITKExamples/src/Core/Common/SetPixelValueInOneImage/Documentation.html

But you probably want to read section 4.1 Data Representation/Images
<https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch4.html#x45-500004.1>
of
the ITK software guide.

Regards,
Dženan

On Thu, Aug 30, 2018 at 1:41 PM Ashok Tiwari via Community <
community at itk.org> wrote:

> 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.
> The ITK community is transitioning from this mailing list to
> discourse.itk.org. Please join us there!
> ________________________________________
> Community mailing list
> Community at itk.org
> https://itk.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://itk.org/pipermail/community/attachments/20180831/391c717d/attachment.html>


More information about the Community mailing list