<div class="gmail_quote">On Mon, Jul 18, 2011 at 9:00 AM, Dawood AlMasslawi <span dir="ltr">&lt;<a href="mailto:masslawi@gmail.com">masslawi@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;">
Hi David,<div><br></div><div>The GetNeighborhoodIndex method returns the index of the pixel at</div><div><br></div><div>an offset position from the center of the neighborhood, therefore this</div><div><br></div><div>method should have an offset as an argument. It&#39;s strange that you </div>

<div><br></div><div>didn&#39;t get any errors!</div><div><br></div><div>This method is implemented in &quot;InsightToolkit\Code\Common\</div><div><br></div><div>itkNeighborhood.txx&quot;, line 184, check your version to make sure!</div>

<div><br></div><div>HTH,</div><div><br></div><font color="#888888"><div>Dawood</div></font></blockquote><div><br></div><div>Hm, when looking for that, I realized it is not the <span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">GetNeighborhoodIndex(offset) function of ShapedNeighborhoodIterator, but rather the </span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">GetNeighborhoodIndex() function of the ConstIterator struct:</span></div>
<div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div><a href="http://www.itk.org/Doxygen/html/structitk_1_1ConstShapedNeighborhoodIterator_1_1ConstIterator.html#a8798aa7d0bc3e9b42591902b7e3d32f6">http://www.itk.org/Doxygen/html/structitk_1_1ConstShapedNeighborhoodIterator_1_1ConstIterator.html#a8798aa7d0bc3e9b42591902b7e3d32f6</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote">What is the concept that this one is returning?<br><br><div>David </div></div>