ImageCooccurrence returns an n×n matrix m whose elements represent the probability of all occurrences of a pixel with intensity i to the left or bottom of a pixel with intensity j, assuming all pixels to lie in one of n successive bins.
With ImageCooccurrence, the cooccurrence matrix can be computed for arbitrary spatial relationships specified by a matrix ker.
ImageCooccurrence computes the cooccurrence matrix across two images. The images must have the same dimensions.
ImageCooccurrence supports a Masking option. The default setting is Masking->All, constructing the cooccurrence matrix based on all of the image pixels.