Detecting thin edges of the connected cell
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello Everyone! I have a B/W image of a cell and want to extract a thin edges out of it. I tried imclose() but it gives the closed object. Please find the source image, target image (Image which I want) and image with imclose() operation. Yellow line in the Targetimage.jpg is the output, which I want. Thanking you in anticipation.
댓글 수: 0
채택된 답변
Image Analyst
2018년 3월 9일
First call imfill() on your source image to get rid of internal black spaces:
filledImage = imfill(sourceImage, 'holes');
Then separate the blobs with watershed. For that see Steve's blog. Attach your code if you have any problems with Steve's algorithm.
댓글 수: 4
Image Analyst
2018년 3월 17일
편집: Image Analyst
2018년 3월 17일
What's wrong with a straight line? If you don't like it, use imline() or imfreehand() to manually trace out a break line.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!