Find the distance between the longest endpoints of a skeleton

5 visualizaciones (últimos 30 días)
Peyman Obeidy
Peyman Obeidy el 21 de Abr. de 2017
Comentada: Peyman Obeidy el 21 de Abr. de 2017
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;

Respuestas (1)

KSSV
KSSV el 21 de Abr. de 2017
  1 comentario
Peyman Obeidy
Peyman Obeidy el 21 de Abr. de 2017
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

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by