<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Wed, Feb 16, 2011 at 2:12 PM, robert tamburo <span dir="ltr">&lt;<a href="mailto:robert.tamburo@gmail.com">robert.tamburo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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.<br>
<br></blockquote><div><br></div><div>That is a good idea. I tried to make a demo of that class but it crashes and I haven&#39;t looked into it:</div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.itk.org/Wiki/ITK/Examples/Broken/Images/ShapedNeighborhoodIterator">http://www.itk.org/Wiki/ITK/Examples/Broken/Images/ShapedNeighborhoodIterator</a><br clear="all">
<br></div><div class="gmail_quote">That examples tries to demonstrate sliding a &quot;cross&quot; over the image (though it seemed quite awkard). You could setup your &quot;Grid&quot; as the shape of the iterator, as Robert suggested.</div>
<div class="gmail_quote"><br>David</div>