ImageCooccurrence

ImageCooccurrence[image,n]
gives the n×n co-occurrence matrix for image.

ImageCooccurrence[image,n,ker]
computes a co-occurrence matrix for arbitrary spatial relationships specified by a kernel ker.

Details and OptionsDetails and Options

  • ImageCooccurrence[image,n] 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[image,n,ker], the co-occurrence matrix can be computed for arbitrary spatial relationships specified by a matrix ker.
  • The default two-dimensional kernel used by ImageCooccurrence is .
  • ImageCooccurrence[{image1,image2},] computes the co-occurrence matrix across two images. The images must have the same dimensions.
  • ImageCooccurrence supports a Masking option. The default setting is Masking->All, constructing the co-occurrence matrix based on all of the image pixels.
Introduced in 2010
(8.0)