Euclidean Distance Skin Lesion
2 ビュー (過去 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!