[Insight-users] Deformation Field Iterator Type

Karthik Krishnan Karthik.Krishnan at kitware.com
Tue Sep 12 08:27:00 EDT 2006


Kevin Ming wrote:
> [snip]
> But how do I know which voxel the iterator is on (ie. where it is in 
> the image, in x,y,z components), especially when it's in 3D?
>
>
Use the indexed iterators. They do the index bookkeeping for you :
   itk::ImageRegionConstIteratorWithIndex   
itk::ImageRegionIteratorWithIndex
 
You will find several examples in the guide and the Insight source 
repository.
> Thank you,
> Kevin
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>   



More information about the Insight-users mailing list