[Insight-users] NthElementImageAdaptor and ImageRegionIterators

Tomáš Kazmar Tomash.Kazmar at seznam.cz
Mon May 21 09:16:43 EDT 2007


Hi,

  i derived some code from Hessian image filter (HessianRecursiveGaussianImageFilter).
But it stopped working when i accidentaly changed iterators used there from
ImageRegionIteratorWithIndex to plain ImageRegionIterator and it took its time to track
the source of the error. So i would like to know why there is such difference.

It is not clear to me why copying a Image to an element of vector image (using
NthElementImageAdaptor) works fine with ImageRegionIteratorWithIndex but not with
ImageRegionIterator. Is it something straightforward i did not get? Can someone
explain it?


Regards,

Tomas


More information about the Insight-users mailing list