connect lines after edge detection
이전 댓글 표시
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
Sean de Wolski
2012년 8월 10일
Sample images are worth more than a thousand words :)
sheharyar javed
2019년 5월 15일
use dilation ...and than erosion
답변 (2개)
Sumit Tandon
2012년 8월 10일
0 개 추천
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.
Image Analyst
2012년 8월 10일
0 개 추천
You can try imclose(), or fancier things like edge linking: http://www.csse.uwa.edu.au/~pk/Research/MatlabFns/#edgelink
카테고리
도움말 센터 및 File Exchange에서 Object Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!