[ITK] [ITK-users] 3D image picking specific location voxel value

Dženan Zukić dzenanz at gmail.com
Fri Mar 9 09:05:56 EST 2018


Hi Shrabani,

to read a specific location in an image, you should use GetPixel()
<https://itk.org/Doxygen/html/classitk_1_1Image.html#aaedb8807a88d1886d22d3f2bdfb47863>
method. There is an example
<https://itk.org/Wiki/ITK/Examples/SimpleOperations/SetPixels> of using
SetPixel() which is very similar.

Regards,
Dženan

On Thu, Mar 8, 2018 at 3:07 PM, Shrabani Ghosh <srbn.ghosh99 at gmail.com>
wrote:

> I have a 3D image . I want to go to the  specific location of the image.
> and
> want to pick the voxel value. How I can I do that?
> <http://itk-insight-users.2283740.n2.nabble.com/file/t396636/Capture.png>
>
> Like in this picture I want go to the exact red color location. This in one
> slice of the 3D image.
> In the program, Can I go to specific slice and go to specific location?
>
>
>
> --
> Sent from: http://itk-insight-users.2283740.n2.nabble.com/
> The ITK community is transitioning from this mailing list to
> discourse.itk.org. Please join us there!
> ________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> https://itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://itk.org/pipermail/community/attachments/20180309/322065d5/attachment.html>
-------------- next part --------------
The ITK community is transitioning from this mailing list to discourse.itk.org. Please join us there!
________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
https://itk.org/mailman/listinfo/insight-users


More information about the Community mailing list