Feature extraction of texture, irregularity
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2016년 5월 3일
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
Image Analyst
2016년 5월 3일
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
2018년 8월 10일
편집: Anjali Acharya
2018년 8월 10일
How can we use GLCM features to obtain fractal dimension?
추가 답변 (4개)
Image Analyst
2016년 5월 3일
See my other answer to Alex:
댓글 수: 4
Image Analyst
2016년 5월 8일
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
2016년 5월 9일
편집: ali
2016년 5월 9일
댓글 수: 2
Image Analyst
2016년 5월 9일
This is not an answer to the original question. Was it a comment to me, or a comment on your other "answer"?
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!