MATLAB Answers


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

Asked by Javaid Iqbal on 15 Feb 2018
Latest activity Commented on by Image Analyst
on 27 Feb 2018
Please help me how to calculate first order intensity statistics features of gray scale images in MATLAB Thanks


Sign in to comment.

1 Answer

Answer by Image Analyst
on 15 Feb 2018
 Accepted Answer

Try these:
meanGrayLevel = mean2(grayImage)
stdDev = std2(grayImage)
v = var(grayImage(:))


Thanks sir but my interest was to calculate all important statistical features by using like haralick function. Thanks
Not sure how anyone would have known that until now, but anyway, use graycomatrix() and graycoprops().

Sign in to comment.