[Insight-developers] performance of image iterators and pixel buffer storage

kent williams norman-k-williams at uiowa.edu
Fri Nov 7 12:35:37 EST 2008




On 11/7/08 11:03 AM, "kent williams" <norman-k-williams at uiowa.edu> wrote:
> 
> Personally, I think ITK might benefit from an image iterator like

Sorry for breaking off in mid-sentence. What I mean to say is that there's
no Iterator in ITK optimized for visiting every pixel, unless I'm missing
something.  I always end up doing something like this:

itk::ImageRegionIterator<ImageType>
it(image,image->GetLargestPossibleRegion());

But if there was something like itk::EntireImageIterator, it could dispense
with testing for the end of span...



More information about the Insight-developers mailing list