How can i find out homogeneity of an image?
2 ビュー (過去 30 日間)
古いコメントを表示
Syed Zenith Rhyhan
2019 年 6 月 23 日
回答済み: KALYAN ACHARJYA
2019 年 6 月 23 日
I try on this code
homogeneity = graycoprops(graycomatrix(img), 'Homogeneity')
but can't find out.please help me with source code
0 件のコメント
採用された回答
KALYAN ACHARJYA
2019 年 6 月 23 日
Try this way-
I=imread('circuit.tif');
%...........^^^ change name
% creation of gray-level co-occurrence matrices from image
glcm=graycomatrix(I,'Offset',[2 0;0 2])
stats=graycoprops(glcm,{'contrast','homogeneity'})
Stats gives the contrast and homogeneity.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!