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.
Examples
Compute a 256×256 co-occurrence matrix for an image:
ImageCooccurrence[img, 256]Please visit the official Wolfram Language Reference for more details.