Euclidean Distance Skin Lesion
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2017-4-3
编辑:Walter Roberson
2017-4-3
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 个评论
Walter Roberson
2017-4-5
'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"
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Biotech and Pharmaceutical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!