Skip To Content

An overview of neighborhood classes

Available with Spatial Analyst license.

There are six neighborhood classes each of which defines a different shape or area. When a neighborhood object is defined, only the cells that have their cell centers contained within the neighborhood are actually considered to be part of the neighborhood. All tools which can take a neighborhood object do so as an optional parameter. If you do not define a neighborhood object then a default neighborhood is used.

NbrAnnulus

Defines an annulus neighborhood which is created by specifying an inner and outer circles' radii in either map units or number of cells.

NbrCircle

Defines a circle neighborhood which is created by specifying the radius in either map units or number of cells.

NbrIrregular

Defines an irregular neighborhood which is created by a kernel file.

NbrRectangle

Defines a rectangle neighborhood which is created by specifying the height and the width in either map units or number of cells.

NbrWedge

Defines a wedge neighborhood which is created by specifying a radius and two angles in either map units or number of cells.

NbrWeight

Defines a weight neighborhood which is created using a kernel file specifying the values to multiply the cell by that are within the neighborhood.

Tools that use neighborhood objects:

Note:

Point Statistics and Point Density only use the NbrAnnulus, NbrCircle, NbrRectangle, and NbrWedge objects.

License:

The neighborhood classes can also be used if you have an Image Analyst extension license, but only for the Focal Statistics tool.

Related topics