Homogenity of an image

15 ビュー (過去 30 日間)
Sepp
Sepp 2014 年 4 月 29 日
コメント済み: Image Analyst 2016 年 1 月 30 日
Hi
I want to calculate the homogenity of images. This can be done directly in Matlab with
homogeneity = graycoprops(graycomatrix(img), 'Homogeneity')
Is that right?
Unfortunately I'm not allowed to use the image processing toolbox. Is there some formula for calculating the homogenity so that I can implement it myself?
Or is the sourcecode of graycomatrix and graycoprops available, so that I just can take it?

採用された回答

Image Analyst
Image Analyst 2014 年 4 月 29 日
Sure, I'm sure you can find someplace on the internet that has the algorithm.
If you have access to someone's computer who has the Image Processing Toolbox:
>> edit graycomatrix.m
>> edit graycoprops.m
  9 件のコメント
Image Analyst
Image Analyst 2014 年 4 月 29 日
Probably indexing is faster. How big you make the tiles is up to you but a common method in surface metrology or profilometry is to use a 5 by 5 grid. See standards ASME B46.1 and ISO 4287. I usually like to go a bit more since I like a few more than 25 samples. But I probably wouldn't go more than a 10 by 10 grid. Much more and you'll be approaching simply taking the histogram of the image and that really doesn't tell you about the spatial uniformity.
Sepp
Sepp 2014 年 4 月 30 日
Thank you very much.

サインインしてコメントする。

その他の回答 (2 件)

keerthana ganeshan
keerthana ganeshan 2016 年 1 月 30 日
WHAT IS HOMOGENITY IN IMAGE?
  1 件のコメント
Image Analyst
Image Analyst 2016 年 1 月 30 日
Uniformity in gray levels.

サインインしてコメントする。


ahmed
ahmed 2014 年 12 月 3 日
hi when i compute homogeneity and energy of images the result is very small 1.9^-20 can you help me to normalize these small values ???
  1 件のコメント
Image Analyst
Image Analyst 2014 年 12 月 3 日
What formula did you use? Why not just multiply by 1e20 or something?

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by