Feature extraction of texture, irregularity
1 view (last 30 days)
Show older comments
Is there any opinion about how can calculate these kind of texture's regularity metric. You see there is difference because of directionality,particle shape, size, placement etc. Is there any code for this. regards
0 Comments
Accepted Answer
Image Analyst
on 3 May 2016
Try functions like stdfilt(), graycomatrix(), graycoprops(), regionprops(), etc. There are a lot of things you could potentially measure so the algorithm depends on exactly what you're interested in characterizing.
3 Comments
Image Analyst
on 3 May 2016
If you use regionprops() you can get the centroid of all the blobs. Then you can use pdist2() in the stats toolbox to find the distance of every centroid to every other centroid. Sometimes people look at the mean distance of the 5 or 10 closest blobs.
Anjali Acharya
on 10 Aug 2018
Edited: Anjali Acharya
on 10 Aug 2018
How can we use GLCM features to obtain fractal dimension?
More Answers (4)
Image Analyst
on 3 May 2016
See my other answer to Alex:
4 Comments
Image Analyst
on 8 May 2016
You're calling pdist2() incorrectly. You have to pass it two arrays of x,y coordinates. In your case they will be the same array. So you should do
distances = pdist2(centroids, centroids, 'euclidean');
ali
on 9 May 2016
Edited: ali
on 9 May 2016
2 Comments
Image Analyst
on 9 May 2016
This is not an answer to the original question. Was it a comment to me, or a comment on your other "answer"?
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!