how to get the relative GLCM texture image from a gray image

조회 수: 1 (최근 30일)
xiaolong
xiaolong 2011년 11월 25일
편집: Matt J 2013년 10월 18일
i have a grey image , now i want to get the GLCM Contrast image , GLCM Homogeneity image like behind image example showing in the next page: http://hi.csdn.net/attachment/201111/25/4133400_1322185742CCIR.jpg who can explain it to me ?
  댓글 수: 2
Walter Roberson
Walter Roberson 2011년 11월 25일
That link shows up as "access forbidden" when I try.
Image Analyst
Image Analyst 2011년 11월 25일
Works for me. Maybe it's your corporate policy. I know there are some domains I can't get from work.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2011년 11월 25일
From the Image Processing Toolbox help:
Description
glcm = graycomatrix(I) creates a gray-level co-occurrence matrix (GLCM) from image I. graycomatrix creates the GLCM by calculating how often a pixel with gray-level (grayscale intensity) value i occurs horizontally adjacent to a pixel with the value j. (You can specify other pixel spatial relationships using the 'Offsets' parameter -- see Parameters.) Each element (i,j) in glcm specifies the number of times that the pixel with value i occurred horizontally adjacent to a pixel with value j.
  댓글 수: 3
Image Analyst
Image Analyst 2011년 11월 25일
It basically tells you how uniform an image is by telling you how varied are the gray levels next to a pixel.
xiaolong
xiaolong 2012년 2월 21일
could you add more explanation ?

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by