Skip to main content
. 2021 Aug 14;21(16):5482. doi: 10.3390/s21165482
Algorithm 3: Lung Extraction Algorithm
input: A test 3D CT image.
    output: Final 3D lung segmentation.
  1. 1st Order Density Estimation: Estimate the marginal density function for lung (pl(h)) and marginal density function for chest (pc(h)).

  2. Initial Segmentation/Labeling: Use Bayes classifier to delineate the initial lung region by using the marginal estimated densities.

  3. Estimation of Gibbs Potentials: Applying Equation (11) on the initial segmentation to estimate the Gibbs potentials.

  4. Refine Segmentation: Use iterative conditional mode (ICM) algorithm [45] to find the map that maximize the likelihood of joint MGRF model shown in Equation (13).