how to join broken line in binary image for closing the area by line?

조회 수: 2 (최근 30일)
Hanuman Wable
Hanuman Wable 2013년 12월 10일
댓글: Image Analyst 2018년 3월 31일
To a binary image i want to find out area of different object in a picture, but i am not able to connect the edges which are broken. kindly advice.

답변 (1개)

Image Analyst
Image Analyst 2013년 12월 10일
You could try imclose() or try edge linking: http://www.csse.uwa.edu.au/~pk/Research/MatlabFns/#edgelink
  댓글 수: 3
Eric Chadwick
Eric Chadwick 2018년 3월 29일
Hi image analyst. Neither of to seem to work for me. I have a 3D binary image with just one line and a point that I want to connect to the line. Imclose does not seem to work and neither does dilating and then taking the skeleton.
I have tried Peter Kovesi's code, but it does not seem to work for 3D images. Do you have any other suggestions?
Cheers,
Eric

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

Community Treasure Hunt

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

Start Hunting!

Translated by