Connect disconnected boundaries of objects?

조회 수: 4 (최근 30일)
Eric Chadwick
Eric Chadwick 2018년 11월 20일
답변: HANTZ PETER B THERMORIS 2019년 11월 27일
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.

답변 (1개)

HANTZ PETER B THERMORIS
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.

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by