(P12) Contiguity Index

contig.jpg

 

cijr =    contiguity value for pixel r in patch ij.

v =      sum of the values in a 3-by-3 cell template (13 in this case).

aij =     area of patch ij in terms of number of cells.

Description

CONTIG equals the average contiguity value (see comments) for the cells in a patch (i.e., sum of the cell values divided by the total number of pixels in the patch) minus 1, divided by the sum of the template values (13 in this case) minus 1. Note, 1 is subtracted from both the numerator and denominator to confine the index to a range of 1

Units 

None

Range

0 ≤ CONTIG ≤ 1


CONTIG equals 0 for a one-pixel patch and increases to a limit of 1 as patch contiguity, or connectedness, increases.

Comments

Contiguity index assesses the spatial connectedness, or contiguity, of cells within a grid-cell patch to provide an index of patch boundary configuration and thus patch shape (LaGro 1991). CONTIG is quantified by convolving a 3x3 pixel template with a binary digital image in which the pixels within the patch of interest are assigned a value of 1 and the background pixels (all other patch types) are given a value of zero. A template value of 2 is assigned to quantify horizontal and vertical pixel relationships within the image and a value of 1 is assigned to quantify diagonal relationships. This combination of integer values weights orthogonally contiguous pixels more heavily than diagonally contiguous pixels, yet keeps computations relatively simple. The center pixel in the template is assigned a value of 1 to ensure that a single-pixel patch in the output image has a value of 1, rather than 0. The value of each pixel in the output image, computed when at the center of the moving template, is a function of the number and location of pixels, of the same class, within the nine cell image neighborhood. Specifically, the contiguity value for a pixel in the output image is the sum of the products, of each template value and the corresponding input image pixel value, within the nine cell neighborhood. Thus, large contiguous patches result in larger contiguity index values.