how to calculate texture parameters

8 views (last 30 days)
Johanna THAI
Johanna THAI on 10 Jun 2021
Answered: yanqi liu on 26 Nov 2021 at 3:17
Hello,
I have to do image processing on a lot of MRI images. The aim is to do some texture analysis on a ROI.
I = imread('0003.jpg');
figure
imshow(I)
h = drawpolygon('FaceAlpha',0);
This program allows me to draw a ROI. How can I calculate the entropy, homogeneity, skewness, kurtosis of the ROI which I drew ?

Answers (2)

Ananya Tewari
Ananya Tewari on 2 Aug 2021
Hi,
I understand you want to do analysis on a Region-of-Interest(ROI). We can create ROI objects, crop them and then proceed with analysing cropped ROIs individually. Refer to this answer to create ROI using freehand and cropping the ROI for further analysis.
Refer to the hyperlinks for calculating entropy, homogeneity, skewness and kurtosis

yanqi liu
yanqi liu on 26 Nov 2021 at 3:17
yes,sir,may be use graycomatrix、graycoprops to do texture analysis

Community Treasure Hunt

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

Start Hunting!