Connect disconnected boundaries of objects?
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I have segmented a histology slide of a lung and I am trying to label individual airways using bwlabel. The segmentation works adequately so far, however some airways have gaps in their boundary lines. I have tried using morphological closing to close the gaps, but it doesn't work with small structuring elements and using larger SEs will result in losing smaller airways.
Any suggestions on how to do this? I have attached the original and segmented versions as well as a zoomed in version to a particular boundary I would like to close.
0 个评论
回答(1 个)
HANTZ PETER B THERMORIS
2019-11-27
% Try to use the erosion ('imerode') first on your image with a different structure element.
% Then, use the closing with an other srtucture element.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Biomedical Imaging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!