Remove unconnected lines from Canny Edge Detection
古いコメントを表示
Hi Guys,
I have run a canny edge detection on an image and it has worked fairly well. After some processing I have been able to use the canny edge detector to find the edges. I then connect the edges using image dilate, and take the skeleton of the dilated lines. The problem is I am left with this unconnected lines. I have been searching for a while and cant seem to find a way to remove them.
I feel as though this should be quite simple but I am struggling to figure it out.
I have tried selecting each individual segment and dilating and eroding it, but I cant seem to get this to work.
Thanks in advance,

1 件のコメント
Samuel Leeney
2020 年 12 月 2 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Object Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!