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!