请输入您要查询的百科知识:

 

词条 Co-occurrence matrix
释义

  1. Aliases

  2. Application to image analysis

  3. References

  4. See also

  5. External links

{{multiple issues|{{cleanup rewrite|date=October 2013}}{{expert needed|date=October 2013}}{{more footnotes|date=October 2013}}
}}

A co-occurrence matrix or co-occurrence distribution is a matrix that is defined over an image to be the distribution of co-occurring pixel values (grayscale values, or colors) at a given offset.

  • The offset, , is a position operator that can be applied to any pixel in the image (ignoring edge effects): for instance, could indicate "one down, two right".
  • An image with different pixel values will produce a co-occurrence matrix, for the given offset.
  • The value of the co-occurrence matrix gives the number of times in the image that the and pixel values occur in the relation given by the offset.

For an image with different pixel values, the co-occurrence matrix C is defined over an image I, parameterized by an offset , as:

where: and are the pixel values; and are the spatial positions in the image I; the offsets define the spatial relation for which this matrix is calculated; and indicates the pixel value at pixel .

The 'value' of the image originally referred to the grayscale value of the specified pixel, but could be anything, from a binary on/off value to 32-bit color and beyond. (Note that 32-bit color will yield a 232 × 232 co-occurrence matrix!)

Co-occurrence matrices can also be parameterized in terms of a distance, , and an angle, , instead of an offset .

Any matrix or pair of matrices can be used to generate a co-occurrence matrix, though their most common application has been in measuring texture in images, so the typical definition, as above, assumes that the matrix is an image.

It is also possible to define the matrix across two different images. Such a matrix can then be used for color mapping.

Aliases

Co-occurrence matrices are also referred to as:

  • GLCMs (gray-level co-occurrence matrices)
  • GLCHs (gray-level co-occurrence histograms)
  • spatial dependence matrices

Application to image analysis

Whether considering the intensity or grayscale values of the image or various dimensions of color, the co-occurrence matrix can measure the texture of the image. Because co-occurrence matrices are typically large and sparse, various metrics of the matrix are often taken to get a more useful set of features. Features generated using this technique are usually called Haralick features, after Robert Haralick.[1]

Texture analysis is often concerned with detecting aspects of an image that are rotationally invariant. To approximate this, the co-occurrence matrices corresponding to the same relation, but rotated at various regular angles (e.g. 0, 45, 90, and 135 degrees), are often calculated and summed.

Texture measures like the co-occurrence matrix, wavelet transforms, and model fitting have found application in medical image analysis in particular.

References

1. ^{{ cite journal |author1=Robert M Haralick |author2=K Shanmugam |author3=Its'hak Dinstein | year = 1973 | title = Textural Features for Image Classification | journal = IEEE Transactions on Systems, Man, and Cybernetics | volume = SMC-3 | issue = 6 | pages = 610–621 | url = http://haralick.org/journals/TexturalFeatures.pdf }}

See also

Gray level size zone matrix

External links

  • A Grey Level Co-occurrence Matrix tutorial
  • ImageCooccurrence function in Mathematica
  • MATLAB doc for in-build function for co-occurrence matrix calculation
  • [https://cran.r-project.org/web/packages/glcm Package for GLCM calculation in R]

1 : Image processing

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/14 1:36:20