[ITK] ITK NeighborhoodIterator alternative

David Froger david.froger.ml at mailoo.org
Mon Feb 9 17:00:08 EST 2015


Hi,

I have the same question, this benchmark shows that NeighborhoodIterator 
are very slow for large 2D images: 
https://github.com/dfroger/quickstart/tree/master/itk/iterators

Did I made something wrong in using NeighborhoodIterator? Is there an efficent
alternative?

ITK was built in release mode.

Thanks,
David

Quoting Brehler, Michael (2015-01-29 10:15:49)
> Hi,
> 
>  
> 
> I am using the ITK NeighborhoodIterator to calculate response images of 3D box
> filters with varying size on volumetric images. The iterator is very convenient
> but especially for large filter sizes (27x27x27 and above) this method is very
> slow. Is there an efficient alterative?
> 
>  
> 
> Regards,
> 
> Michael
> 
>  
> 


More information about the Community mailing list