matlab code for 2D hole filling algorithm

Lung parenchyma, airway and background have low CT numbers,so a mean value of two peaks (lung parenchyma, airway and fat) is used to binarize the images. After image binarization, 2D hole filling algorithm is used and the thorax is extracted by searching the largest connected components.

 Accepted Answer

Do you have a question? I've given code to extract lungs before - search for it. In the meantime, I attach my demo for extracting the N largest or smallest binary blobs in an image.

More Answers (0)

Asked:

on 27 Apr 2015

Answered:

on 27 Apr 2015

Community Treasure Hunt

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

Start Hunting!