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

1 view (last 30 days)
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?
<<
>>

Answers (1)

Image Analyst
Image Analyst on 3 May 2016
You can use the 'endpoints' option of bwmorph():
endPointsImage = bwmorph(binaryImage, 'endpoints');
  1 Comment
MJ Thangaraj
MJ Thangaraj on 4 May 2016
That is giving the end points of the image, I need the co-ordinates of the end of the white lines.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!