Feature extraction of texture, irregularity
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
Accepted Answer
More Answers (4)
Image Analyst
on 3 May 2016
0 votes
See my other answer to Alex:
4 Comments
ali
on 3 May 2016
ali
on 4 May 2016
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');
8 Comments
Image Analyst
on 5 May 2016
"why i cant take " <== You can. No one is stopping you.
D should not be just one value unless you have only one centroid. What does length(s) tell you? That's how many regions you have.
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');
Image Analyst
on 9 May 2016
What is the size of centroids?
size(centroids)
ali
on 10 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"?
ali
on 10 May 2016
ali
on 10 May 2016
0 votes
Categories
Find more on Texture Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!