[ITK-users] Neighborhood Iterators Starting and Ending point

Abu-Sammour, Denis Denis.Abu-Sammour at medma.uni-heidelberg.de
Tue May 26 12:00:54 EDT 2015


Hello,

Is there a way to force the neighborhood iterator to start iterating in a defined point rather than using GoToBegin() which moves the center of the neighborhood iterator to the 1st pixel in the iteration region? For example, is it possible to start iterating (i.e. the 1st  neighborhood is centered) at say (x=5,y=5) with a neighborhood radius of 5 pixels then move with a step (offset) of 10 pixels stopping the iteration  at (x= end - 5, y= end - 5) rather than IsAtEnd() ?

Thank you.

Denis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20150526/19b3e3b4/attachment.html>


More information about the Insight-users mailing list