I am trying to use a neighborhood operator. I would like to extract a small (say 3x3 or 5x5) region, and then pass the output image to the ScalarImageToGreyLevelCooccurrenceMatrixGenerator for textural feature extraction. Then, increment the iterator and repeat the process.
<br><br>Looking at the software guide and the dox, I see that the NeighborhoodIterator has functions for accessing individual pixel values, but how do I setup a small output image that can be updated and used at each iteration? I suppose what I really want to do is just feed the iterator "output image" to the GLCMGenerator but I can't seem to find the correct way to do it.
<br><br>Forgive me if this is something really simple, and thanks<br>Dave<br><br>