How to calculate intensity statistical features of gray scale images in MATLAB?

1 view (last 30 days)
Please help me how to calculate first order intensity statistics features of gray scale images in MATLAB Thanks

Accepted Answer

Image Analyst
Image Analyst on 15 Feb 2018
Try these:
meanGrayLevel = mean2(grayImage)
stdDev = std2(grayImage)
v = var(grayImage(:))
  2 Comments
Javaid Iqbal
Javaid Iqbal on 27 Feb 2018
Thanks sir but my interest was to calculate all important statistical features by using like haralick function. Thanks
Image Analyst
Image Analyst on 27 Feb 2018
Not sure how anyone would have known that until now, but anyway, use graycomatrix() and graycoprops().

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!