Find the distance between the longest endpoints of a skeleton

3 ビュー (過去 30 日間)
Peyman Obeidy
Peyman Obeidy 2017 年 4 月 21 日
コメント済み: Peyman Obeidy 2017 年 4 月 21 日
How to find the distance between the longest endpoints of a skeleton?
LengthBr = bwmorph(finalBinaryImage,'skel',Inf);
endImg = bwmorph(LengthBr, 'endpoints');
figure;imshow(LengthBr );
hold on; plot(endPts(:,2),endPts(:,1),'*');
hold off;

回答 (1 件)

KSSV
KSSV 2017 年 4 月 21 日
  1 件のコメント
Peyman Obeidy
Peyman Obeidy 2017 年 4 月 21 日
Thanks. This is part of another code which I needed to get to work. There are multiple object detected and turned into skeleton. I then want to get the length of each. Cheers

サインインしてコメントする。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by