Hello all,<br><br>I am still trying to get something to work with my neighborhood iterator.<br><br>Quick rehash: I want to extract many small neighborhoods (just 2D boxes) of values from an input image.&nbsp; I am using a texture calculator that calculates textural characteristics from an input image, so I need the neighborhood iterator to send an itk::Image to the calculator.
<br><br>However, the only way I see to do this is to Get the current iterator&#39;s neighborhood, and manually copy each pixel into a tempImage that I send to the calculator.&nbsp; This is quite slow and since I have to manually define each index I need to copy, it is not generalized to an arbitrarily sized &quot;box&quot; of values.
<br><br>Is there a way to get an itk::Image directly from the iterator&#39;s current neighborhood?<br><br>Again, thanks for any help.<br>