[Insight-users] NeighborhoodIterator documentation

David Doria daviddoria at gmail.com
Sat Oct 9 21:00:07 EDT 2010


On Sat, Oct 9, 2010 at 8:57 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:
> David,
>
> The dimensions of the neighborhood iterator are given in terms of the
> neighborhood "radius". From the itk::Neighborhood documentation:
>
> "The radius is defined separately for each dimension as the number of
> pixels that the neighborhood extends outward from the center pixel.
> For example, a 2D Neighborhood object with a radius of 2x3 has sides
> of length 5x7."
>
> Hence, the example you cite from the documentation is indeed a 2x1 neighborhood.
>
> Cory

Ah yes, radius, not diameter.

Thanks Cory.


More information about the Insight-users mailing list