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

1 回表示 (過去 30 日間)
MJ Thangaraj
MJ Thangaraj 2016 年 5 月 3 日
コメント済み: MJ Thangaraj 2016 年 5 月 4 日
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');
  1 件のコメント
MJ Thangaraj
MJ Thangaraj 2016 年 5 月 4 日
That is giving the end points of the image, I need the co-ordinates of the end of the white lines.

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

Community Treasure Hunt

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

Start Hunting!

Translated by