Feature extraction of texture, irregularity
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (4)
Image Analyst
le 3 Mai 2016
0 votes
See my other answer to Alex:
4 commentaires
ali
le 3 Mai 2016
ali
le 4 Mai 2016
Image Analyst
le 8 Mai 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 commentaires
Image Analyst
le 5 Mai 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
le 8 Mai 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
le 9 Mai 2016
What is the size of centroids?
size(centroids)
ali
le 10 Mai 2016
2 commentaires
Image Analyst
le 9 Mai 2016
This is not an answer to the original question. Was it a comment to me, or a comment on your other "answer"?
ali
le 10 Mai 2016
ali
le 10 Mai 2016
0 votes
Catégories
En savoir plus sur Texture Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!