line prunning after skelelton

조회 수: 3 (최근 30일)
Sukuchha
Sukuchha 2014년 2월 6일
댓글: Image Analyst 2014년 2월 25일
Hi I am doing some road detection stuff with satellite imagery. So i have detected some roads, and i want to find its end points. So I have a binary image of road, i do bwmorph skel to get the skeleton of the road. But there small fraction of roads which i want to remove (see figure attached: I want to get from a to b
). So after skeleton how i can do something like remove road fragments whose lengths are less than lets say 20 pixels.
Image analyst, you have vast knowledge about image processing. Could you please guide me in right direction.
  댓글 수: 1
Abinaya
Abinaya 2014년 2월 6일
편집: Walter Roberson 2014년 2월 6일
Sukuchha,Apologises for not answering your question. Instead I need help from u. Can you pls tell me how to detect curves..As you work on road detection... i think you may need to detect curves in the road. I have learnt that Hough transform is not sufficient to detect curves.. will you kindly tell me what concept you applied for detecting curves.???

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2014년 2월 6일
  댓글 수: 2
Sukuchha
Sukuchha 2014년 2월 7일
Thanks of answering walter. I have tried spur option but problem with that it also tends to shorten lines which are along the main branch and i dont want that. Any idea to overcome it ?
Image Analyst
Image Analyst 2014년 2월 25일
It's not obvious, in a fully automatic setting, what you consider to be the "main" branch, for example in the lower right, why do those two branches remain while others are removed? You might have to look at connection angle or something.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by