Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Properties of gray-level co-occurrence matrix

- example
`stats = graycoprops(glcm,properties)`

calculates
the statistics specified in `stats`

= graycoprops(`glcm`

,`properties`

)`properties`

from the
gray-level co-occurence matrix `glcm`

. `glcm`

is
an *m*-by-*n*-by-*p* array
of valid gray-level co-occurrence matrices. If `glcm`

is
an array of GLCMs, `stats`

is an array of statistics
for each `glcm`

.

`graycoprops`

normalizes the gray-level co-occurrence
matrix (GLCM) so that the sum of its elements is equal to `1`

.
Each element (*r*,*c*) in the normalized
GLCM is the joint probability occurrence of pixel pairs with a defined
spatial relationship having gray level values *r* and *c* in
the image. `graycoprops`

uses the normalized GLCM
to calculate `properties`

.

Was this topic helpful?