[Community] [Insight-users] Get the value of a voxel in 3d Image

shiwei swingsw89 at 163.com
Thu Oct 24 02:08:00 EDT 2013


Hi,all
       Now I run into a problem is that in a Big 3D volume named Db, I want to have the following result like thie code in Matlab: 
if Db( Point1(1,1) , Point1(2,1) , Point1(3,1) ) == 0 
And I know Point1(1,1),Point1(2,1),Point1(3,1), I wonder if there is a way in ITK to locate this coordinate and get the value of the voxel to check whether it's zero? Maybe not use a SliceIterator in the whole 3d volume? For before this code, I have already iterate the Db 3D volume?


                                                                                                                              Thank you
                                                                                                                                 shiwei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131024/17051a05/attachment.html>
-------------- next part --------------
_____________________________________
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:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list