Find the co-ordinates of the end points of white line in the image

1 次查看(过去 30 天)
I removed the noise in the image with the edge detection command and threshold,How do i get the end co-ordinates if the white line?
<<
>>

回答(1 个)

Image Analyst
Image Analyst 2016-5-3
You can use the 'endpoints' option of bwmorph():
endPointsImage = bwmorph(binaryImage, 'endpoints');

Community Treasure Hunt

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

Start Hunting!

Translated by