MATLAB: How to extract thorax from CT scan image using largest connected components

thorax extraction

Largest connected component is used in thorax extraction after binarize image.then appling 2D hole filling algorithm

Best Answer

See my attached demo to extract the largest or smallest N blobs in a binary image.