Euclidean Distance Skin Lesion
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ingeln91
le 3 Avr 2017
Commenté : Walter Roberson
le 5 Avr 2017
Hello everyone !!! I'm trying to evaluate the diameter of a skin lesion by evaluate the euclidean distances between all the pixels of the border and averaging it. How can i do it ?

0 commentaires
Réponse acceptée
Walter Roberson
le 3 Avr 2017
Modifié(e) : Walter Roberson
le 3 Avr 2017
You could regionprops and ask for MajorAxesLength to get "equivalent" diameter (an ellipse would be fitted to the data.)
I suspect that might be accurate enough for your purpose. If not then bwtraceboundary(), or regionprops pixellist . Then pdist(). And do not average the distances: take the maximum distance to get the diameter.
2 commentaires
Walter Roberson
le 5 Avr 2017
'MajorAxisLength' Returns a scalar that specifies the length (in pixels) of the major axis of the ellipse that has the same normalized second central moments as the region.
Or, as I posted earlier "an ellipse would be fitted to the data"
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Biotech and Pharmaceutical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!