[Insight-users] neighborhood iterator

David Doria daviddoria at gmail.com
Wed Feb 16 14:15:43 EST 2011


On Wed, Feb 16, 2011 at 2:12 PM, robert tamburo <robert.tamburo at gmail.com>wrote:

> Check out the ShapedNeighborhoodIterator class. I have not used it before,
> but the description sounds like it may work. You can set the neighborhood
> pixels to iterate by adding the offsets to an active list.
>
>
That is a good idea. I tried to make a demo of that class but it crashes and
I haven't looked into it:

http://www.itk.org/Wiki/ITK/Examples/Broken/Images/ShapedNeighborhoodIterator

That examples tries to demonstrate sliding a "cross" over the image (though
it seemed quite awkard). You could setup your "Grid" as the shape of the
iterator, as Robert suggested.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110216/a70b64fa/attachment.htm>


More information about the Insight-users mailing list