connect lines after edge detection
6 views (last 30 days)
Show older comments
Dear all, i've applied edge detection (sobel) to an image and get red of unwanted objects , but it also deleted some lines from the required objects.
how can i connect this lines again?
thanks in advance
2 Comments
Answers (2)
Sumit Tandon
on 10 Aug 2012
As Sean said, it will be difficult to give an exact answer without looking at the image. However, if the aim is to reconnect lines and fill up holes, etc., then morphological operations like dilation, closing, etc may be helpful.
Try out MorphTool submitted by Brett. This will give you easy access to morphological operations in Image Processing Toolbox.
0 Comments
Image Analyst
on 10 Aug 2012
You can try imclose(), or fancier things like edge linking: http://www.csse.uwa.edu.au/~pk/Research/MatlabFns/#edgelink
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!