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!