[Insight-users] ImageRandomIteratorWithIndex
Gheorghe Postelnicu
gheorghe.postelnicu at gmail.com
Thu Oct 26 11:16:33 EDT 2006
Hi Luis,
You are right - sorry for the mistake. I guess the change of the
naming pattern puzzled me too much
On 10/26/06, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
> Hi Gheorghe,
>
>
> ITK Random Iterators are *not* templated over a region.
>
>
> Look for example at the declarion
>
> template<typename TImage>
> class ITK_EXPORT ImageRandomConstIteratorWithIndex :
> public ImageConstIteratorWithIndex<TImage>
>
> in
>
> Insight/Code/Common/itkImagerandomConstIteratorWithIndex.h
>
>
> The family of Random iterators derive from the
> ImageConstIteratorWithIndex, that is also templated over
> the ImageType. No regions are used as template arguments.
>
> Looking at the Doxygen documentation may help you to
> clarify the use of template arguments of this iterators:
>
>
> http://www.itk.org/Insight/Doxygen/html/classitk_1_1ImageRandomConstIteratorWithIndex.html
>
>
>
> Regards,
>
>
> Luis
>
>
>
> --------------------------
> Gheorghe Postelnicu wrote:
> > Hi,
> >
> > I am curious as to why the random iterator classes in ITK are
> > different from the "classic" iterators in that they are templated over
> > the entire image and not a region. Is there a rationale for this?
> >
> > Thanks,
>
--
Gheorghe Postelnicu, PhD
MGH, Harvard Medical School
More information about the Insight-users
mailing list