[Insight-users] question about image adaptor

David Doria daviddoria at gmail.com
Wed Mar 9 08:46:42 EST 2011


On Wed, Mar 9, 2011 at 8:30 AM, john smith <mkitkinsightuser at gmail.com>wrote:

> Hi,
>
> Could someone solve some questions in program *
> http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/NthElementImageAdaptor
> * ? First, what exactly does the vec in imageIterator? Second, which
> element (pixel?) of image object is selected with the adaptor?
>
> thanks
>

I added some comments - let me know if they clear up your concerns. The idea
of the NthElementImageAdaptor is to allow a specified channel of a vector
image to be accessed and used as if it were a scalar image without copying
the memory.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110309/b2420245/attachment.htm>


More information about the Insight-users mailing list