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?
<<
>>
0 个评论
回答(1 个)
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!