how to join broken line in binary image for closing the area by line?
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
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
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing and Computer Vision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!