what should i add to my code so that Glcm is calculated in all the directions of the image..
1 回表示 (過去 30 日間)
古いコメントを表示
i've a grayscale image.i want to calculate the glcm of the image..
like
glcm=graycomatrix(image);
this will give me an glcm of output matrix as 8x8... what should i do or in what way offset sholud be specified that glcm is caculated in all the directions of the image...
can anybody tell me plz...
also offset=[0 2 ; 2 0] what does it mean here 2 specifies what???
also offset1=[0 1; -1 1; -1 0; -1 -1];
can anybody tell me the meaning of it...
which offset should i prefer in order to calculate glcm in all the direction
reply soon
1 件のコメント
Salma Hassan
2017 年 9 月 16 日
sir i have the same problem of you so i recommend you to see this link https://www.mathworks.com/help/images/specify-offset-used-in-glcm-calculation.html
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!