Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2014 Feb;33(2):577-90.
doi: 10.1109/TMI.2013.2290491. Epub 2013 Nov 13.

Lung segmentation in chest radiographs using anatomical atlases with nonrigid registration

Lung segmentation in chest radiographs using anatomical atlases with nonrigid registration

Sema Candemir et al. IEEE Trans Med Imaging. 2014 Feb.

Abstract

The National Library of Medicine (NLM) is developing a digital chest X-ray (CXR) screening system for deployment in resource constrained communities and developing countries worldwide with a focus on early detection of tuberculosis. A critical component in the computer-aided diagnosis of digital CXRs is the automatic detection of the lung regions. In this paper, we present a nonrigid registration-driven robust lung segmentation method using image retrieval-based patient specific adaptive lung models that detects lung boundaries, surpassing state-of-the-art performance. The method consists of three main stages: 1) a content-based image retrieval approach for identifying training images (with masks) most similar to the patient CXR using a partial Radon transform and Bhattacharyya shape similarity measure, 2) creating the initial patient-specific anatomical model of lung shape using SIFT-flow for deformable registration of training masks to the patient CXR, and 3) extracting refined lung boundaries using a graph cuts optimization approach with a customized energy function. Our average accuracy of 95.4% on the public JSRT database is the highest among published results. A similar degree of accuracy of 94.1% and 91.7% on two new CXR datasets from Montgomery County, MD, USA, and India, respectively, demonstrates the robustness of our lung segmentation approach.

PubMed Disclaimer

Figures

Fig. 1.
Fig. 1.
Anatomical features in two chest X-ray images and their variations Differing lung shape, strong edges of the rib cage, visible shape of the heart, intensity variation around the clavicle bones and sharp corner at costophrenic angle that challenge automated segmentation algorithms. Both X-ray images are from the India dataset (see Section IV-A).
Fig. 2.
Fig. 2.
CBIR inspired work flow with nonrigid registration for identifying lung boundaries. The system consists of three stages: Stage-I) finding lung atlases similar to the patient X-ray using profile-based Bhattacharya similarity measures, Stage-II) computing a patient specific lung model by warping the training database of chest X-rays to the patient X-ray using the the SIFT-flow registration algorithm, and Stage-III) lung boundary detection using a graph cuts optimization approach with a customized energy function.
Fig. 3.
Fig. 3.
Plots show the Radon transform profiles for a query and database image, for pi(x)=Rρ,θ=0°, left image, and qi(y)=Rρ,θ=90°, for the right image.
Fig. 4.
Fig. 4.
(a)–(b) Pair of X-ray images from the JSRT dataset [13]. The right one (b) is the patient X-ray, and the left one (a) is the most similar X-ray to the patient X-ray in the database. Colored markers indicate corresponding matches based on SIFT-flow features for sample pixels. (c) Transformation mapping is applied to all pixels by shifting them according to spatial distances between the corresponding matches. (d) Warped mask.
Fig. 5.
Fig. 5.
(a) Red contour is the nonsmoothed boundary after the warping stage. (b)–(d) Blue dots are the critical points at different iterations. The green curve is the cubic spline interpolation of all critical points. The numbers of critical points on each lung are 100, 60, and 30, respectively. At each iteration, a point with the lowest relevance value is removed from the contour. Outer turn angles close to 180° and short line segments have a low relevance value. Note that, decreasing the number of critical points does not smooth the costophrenic angle region because of the sharp angle.
Fig. 6.
Fig. 6.
(a) Randomly selected chest X-ray image from the JSRT dataset. (b) Patient-specific lung model after registration. Each pixel intensity in the lung model image represents the probability of the pixel being part of the lung region.
Fig. 7.
Fig. 7.
(a) Top five training images using the partial Radon transform and Bhattacharyya shape similarity measure between the target patient CXR shown in Fig. 6(a) and the (JSRT) database. (b) Training masks corresponding to the five most similar X-rays. (c) Retrieved X-rays are warped using the calculated transformation mappings. Note that this warping is actually not needed in the algorithm, but is shown for illustrative purposes. (d) Training masks are warped to the target patient CXR. The average of these warped masks, shown in Fig. 6(b), forms the patient-specific lung model.
Fig. 8.
Fig. 8.
Overlap score of each image in the JSRT, Montgomery, and India sets. Each marker in the graph represents an X-ray image in the datasets. JSRT set contains 247, Montgomery set contains 138, and India set contains 200 chest X-rays.
Fig. 9.
Fig. 9.
Segmentation results on (a) JSRT, (b) Montgomery, and (c) India sets. Green and red contours indicate the gold standard and automatic segmentation results, respectively.
Fig. 10.
Fig. 10.
Particularly difficult lung segmentation cases. (a) The left diaphragm is elevated and there is a large air-distended colon loop below the lung boundary which is incorrectly combined with the lobe into a single region by the automatic algorithm. (b) Detected lung boundary includes the air cavity below left lung. (c)–(e) The algorithm could not detect the lung boundary correctly due to opacity caused by fluid in the lung space. The radiologist “estimated” the ground truth lung boundary (green contour).
Fig. 11.
Fig. 11.
(a) Segmentation performance and (b) execution time (in second) of the system with respect to the number of training masks. (Execution time is measured at resolution of 256 × 256.)
Fig. 12.
Fig. 12.
Segmenting the apex and costophrenic angle regions is more challenging than segmenting the other parts of the lung. These regions correspond approximately to the top 20% and bottom 20% of the lung.
Fig. 13.
Fig. 13.
Segmentation results for apical regions.
Fig. 14.
Fig. 14.
Segmentation results for costophrenic angle regions.

References

    1. Paul J, Levine M, Fraser R, and Laszlo C, “The measurement of total lung capacity based on a computer analysis of anterior and lateral radiographic chest images,” IEEE Trans. Biomed. Eng, vol. 21, no. 6, pp. 444–451, Nov. 1974.
    1. Carrascal F, Carreira J, Souto M, Tahoces P, Gomez L, and Vidal J, “Automatic calculation of total lung capacity from automatically traced lung boundaries in postero-anterior and lateral digital chest radiographs,” Med. Phys, vol. 25, no. 7, pp. 1118–1131, 1998. - PubMed
    1. Becker H, Nettleton W, Meyers P, Sweeney J, and Nice C, “Digital computer determination of a medical diagnostic index directly from chest X-ray images,” IEEE Trans. Biomed. Eng, vol. 11, pp. 67–72, 1964. - PubMed
    1. Meyers P, Nice C, Becker H, Nettleton W, Sweeney J, and Meck-stroth G, “Automated computer analysis of radiographic images,” Radiology, vol. 83, pp. 1029–1034, 1964. - PubMed
    1. Snider GL, Klinerman JL, Thurlbeck WM, and Bengali ZH, “The definition of emphysema,” in Rep. Nat. Hearth, Lung, Blood Inst., Div. Lung Disease Workshop, 1985, vol. 132, pp. 182–185.

Publication types

MeSH terms