- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Recently Accepted Articles ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Computational and Mathematical Methods in Medicine
Volume 2012 (2012), Article ID 736320, 7 pages
Automated Quantification of Pneumothorax in CT
1Department of Radiology, Massachusetts General Hospital, 25 New Chardon Street, Suite 400B, Boston, MA 02114, USA
2Albany Medical College, Albany, NY 12208, USA
Received 13 August 2012; Accepted 9 September 2012
Academic Editor: Gary C. An
Copyright © 2012 Synho Do et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
An automated, computer-aided diagnosis (CAD) algorithm for the quantification of pneumothoraces from Multidetector Computed Tomography (MDCT) images has been developed. Algorithm performance was evaluated through comparison to manual segmentation by expert radiologists. A combination of two-dimensional and three-dimensional processing techniques was incorporated to reduce required processing time by two-thirds (as compared to similar techniques). Volumetric measurements on relative pneumothorax size were obtained and the overall performance of the automated method shows an average error of just below 1%.
Pneumothorax is defined as the accumulation of air or gas in the space between the lung and the chest wall. It is a potentially life-threatening occurrence which frequently results from traumatic injuries. Although the exact percentage is in dispute, research indicates that pneumothoraces occur in approximately 20–50% of all chest injury cases [1–3]. Research has shown that in the absence of other significant injuries, or the need for intermittent positive-pressure ventilation, a majority of pneumothorax may be treated conservatively (observation, oxygen treatment, simple manual aspiration) without exposing the patient to the risks of intervention . A primary factor in making the decision to conservatively treat a pneumothorax is the size of the air collection relative to the entire pleural region of the patient. Generally, pneumothorax occupying less than 20% of the hemithorax is said to be “small” and may be treated by observation alone [1, 5–8].
Multiple methods have been explored for estimating the size of pneumothorax utilizing chest radiography; however, these methods are merely estimation tools. Kircher and Swartzel  draws rectangles from reference points to demarcate the outlines of the hemithorax and lung and subtracts the respective areas to find percent pneumothorax. Another method proposed by Rhea et al.  predicts pneumothorax size by correlating average interpleural distance with radiographic thoracic gas volume measurements. Another study  proposed that the change in volume of the lung is equal to the cube of the change in its linear dimensions as visualized in radiographs. Determination of the size of a pneumothorax from two-dimensional radiographic images results in a large variance among users, and prescribed guidelines (such as interpleural distance) for measurement are prone to underestimating the true size of the pneumothorax [4, 7]. Further, patients who sustain trauma may have subtle pneumothorax that goes undetected on a chest radiograph due to restrictions in mobility of the patient for imaging purposes .
Suspected pneumothorax may be screened with chest radiography; however, computed tomography (CT) provides several advantages. Occult pneumothorax exists in up to 50% of traumatic pneumothorax cases, which is undetectable on a chest X-ray. For this reason, it has long been recommended that CT of the chest should be performed in cases of suspected pneumothorax [1, 3, 13–15]. CT also provides physicians with the ability to more accurately quantify the size of the pneumothorax, assisting in treatment decisions (Figure 1). The drive towards conservative treatment of patients with smaller-sized pneumothorax presents the need for accurate quantification of pneumothorax size from CT datasets. Automated methods for generating such measurements in near real-time could help streamline patient care decisions, but to date little work has been done in this arena. We are aware of only one other study describing use of a computer-aided diagnosis (CAD) algorithm for detection and quantification of traumatic pneumothorax from CT datasets . A frequent limitation of automated segmentation methods is that most are both time and computationally intensive.
There exists a need for an automated algorithm that allows objective and rapid assessment of pneumothorax imaged by CT. Current methods of evaluating pneumothorax by two-dimensional radiography yield inaccurate results and large reader variability due to subjective analysis. Imaging by CT allows for a more accurate and objective analysis by acquiring quantitative (objective) volumetric information. Automation further facilitates the objectivity of the analysis. The method would facilitate the conservative treatment of patients with smaller size pneumothorax. Current CAD methods are highly complex and relatively computation-intensive. The purpose of our study is to develop and assess an automated, simplified, and rapid CAD method for obtaining volumetric information with an accuracy similar to that obtained by manual segmentation.
2. Materials and Methods
Our institutional review board approved the retrospective collection of patient data for this study with waiver of informed consent. The study was conducted in compliance with the Health Insurance Portability and Accountability Act (HIPAA).
This retrospective study included 8 patients with a mean age of years. There were 7 males and 1 female. All patients were scanned on a 16-section multidetector row CT scanner (GE Lightspeed Pro 16, GE Healthcare, Waukesha, WI, USA,) or a 64-section multidetector row CT scanner (GE Lightspeed VCT). Transverse sections were acquired with 120 kVp, automatic exposure control (Auto mA, GE Healthcare) using noise index of 25–35 and mA range of 75–440 mA, and 0.5 second gantry rotation speed. The detector configuration was 16 × 1.25 mm (for 16 section CT) or 64 0.625 mm (for 64 section CT). Transverse images were reconstructed to 2.5 section thickness at 2.5 mm increments using a detail soft-tissue reconstruction kernel. The datasets varied in number of sections from 116 to 159, with an average of 137 sections per dataset.
The patient datasets were collected via a keyword search through use for our institution’s searchable radiology report and image repository. The datasets were selected to represent a range of pneumothorax sizes, spanning from normal to large, as defined in the radiology reports. Patients with underlying disease, coexisting hemothorax, or significant pleural effusion were excluded.
2.2. Automated Pneumothorax Segmentation
An overview of our approach to segmentation of the lung and pneumothorax regions is shown in Figure 2. The approach consists of two distinct components: 2D processing for rapid segmentation of the thoracic structures based on adaptive thresholding; and 3D processing to correct for anatomical structures containing air outside of the pleural space.
2.2.1. Processing with Adaptive Thresholding
Prior to segmentation, images () were smoothed with a Gaussian filter, , where is the standard deviation of the Gaussian distribution. We used with a filter size of 5 5 to reduce noise and moderate textural variations within the images to better prepare for thresholding operations. Following Guassian smoothing, a fixed thresholding operation, = −500 Hounsfield Units (HU), was applied to generate a body mask to exclude all surrounding air outside of the patient’s thorax. In applying this first thresholding operation, lung parenchyma and air within the thorax would also be excluded due to their lower intensity values, so a morphological reconstruction filter was applied to preserve these regions .
For morphological dilation and erosion, the mask may be regarded as a discrete Euclidian image, , with a network of points evenly distributed on a square grid. The pixels included in the image may only take on a value of 0 or 1. To fill holes within the body mask, the complement of the mask was computed, and a structuring element was propagated throughout the mask image, first by dilation and subsequently by erosion. Dilation by a disk structuring element corresponds to isotropic swelling or expansion to a binary mask. For an image, A, and a structuring element, B, in . The dilation of by is denoted by and is defined by: Dilation is commutative: and associative: . The morphological dual of dilation is erosion, and the erosion of by is denoted by When the reflection of is denoted by and is defined by the erosion and dilation duality can be defined by where . Also, with respect to structuring element decomposition, a chain rule for erosion holds when the structuring element is decomposable through dilation: This relation is important because it permits a large erosion to be computed more efficiently by two or more successive smaller erosions . We used a 2 2 disk structuring element for successive dilation and erosion in our application. Obtaining a complement of the result of the propagation forms the final mask.
For the segmentation of lung tissue and air, the analysis of the masked images’ resulting histogram was performed to determine the two thresholding values in use representing air () and lung parenchyma () and an adaptive thresholding function was applied. The mean values for and were determined to be − HU and − HU, respectively.
2.2.2. Connectivity Constraint
Within the thorax, there are numerous regions which may contain air that would be included in the result of the adaptive thresholding operation, including the trachea, bronchi, and bowel. To remove these regions, morphological analysis on identified air components was performed. The centroid of each air component was calculated from the 2D images and its connectivity checked in 3D across neighboring slices.
In a 3D data set, a connected component, , is a pile of 2D masks , where , and is the marker of the image. The reconstruction of a 3D mask from marker is the union of the connected components of , which contain at least a pixel of : To be included as a pneumothorax, the air components identified during 2D processing must have finite boundaries within the pleural cavity; if there is continuity with air spaces outside of the chest cavity, such as exist with the bronchi or bowel, the air component is excluded.
2.2.3. Volumetric Measurement
The volume of regions designated as air and lung tissue from the automated segmentation method is calculated ( and ) based on the pixel spacing values for each dataset. The resulting relative pneumothorax volume, , is defined as /() for a given patient.
2.3. Manual Segmentation
To assess the accuracy of the volumetric measurements obtained via the automated method, all 8 datasets were manually segmented using customized software developed in-house with MATLAB (Mathworks, Natick, MA, USA). Using the draggable point-drawing feature, manual contours were drawn to outline the total pleural region and the pneumothorax regions of each slice of each dataset. The resulting segmentations were subsequently reviewed and refined by an experienced thoracic radiologist.
2.4. Statistical Analysis
The relative pneumothorax volumes acquired from the automated and manual techniques were recorded and analyzed in Excel 2007 (Microsoft, Redmond, WA, USA) and SAS 9.2 (SAS, Cary, NC, USA). Absolute and average errors between the two volumes were assessed. The automated volumes were plotted against the manually obtained volumes and linear analysis was conducted. In addition, two statistical tests were used to evaluate the relationship between the obtained pneumothorax volumes. The paired -test was used to assess whether the segmentation algorithms were statistically different across the samples examined, with the null hypothesis that the two distributions are the same; the Pearson moment product correlation coefficient was used to evaluate the null hypothesis that there was no correlation between the two methods. Execution times for the automated and manual methods were also recorded and averaged.
A comparison between the pneumothorax sizes obtained from the automated method and by manual segmentation showed strong correlation. The relative volumes obtained by the automated method were plotted against those obtained manually, and a linear trendline was applied (Figure 3). The absolute error between the automated and manual methods was calculated for each sample dataset and averaged to be 1% (Table 1). The paired -test showed that the null hypothesis cannot be rejected, with and . The Pearson correlation was found to be 0.996, and the null hypothesis can be rejected at the 99.9% significance level. For further comparison between these methods and the original reporting of pneumothorax size, the qualitative size as indicated in the radiology report for each dataset was also tabulated alongside the manually obtained volume (Table 2).
A visual display of a single section from a sample dataset shows the difference between manual segmentation and the first component of the automated method, 2D processing (Figure 4). The automated method is more sensitive to variations in tissue intensities within the lungs, as expected. Smaller airways and vessels, which were included as part of the lung during manual segmentation, were excluded during the first phase of the automated method.
A second display of the same dataset before and after the second component of the automated method, application of 3D connectivity constraints, shows that the airways, including the bronchi, leading to the lungs have been largely removed, as well as parts of the bowel containing air (Figure 5).
The average execution time required by the automated method was 50.6 seconds per case using compiled MATLAB code running on a quad-core desktop PC. Manual segmentation through the use of customized MATLAB software required approximately 4.5 hours per dataset.
Results show that the automated method produced measurements on the relative size of a pneumothorax that are comparable to those obtained by manual segmentation. Collectively, the statistical tests produced highly significant correlations between the two techniques. Furthermore, for an averaged sized dataset, the automated method was able to complete the calculations in less than one minute; this compares favorably against the approximately three minutes of processing cited by another study on CAD pneumothorax for similar datasets . As noted above, these results were obtained using compiled MATLAB code on a quad-core desktop PC; it is anticipated that considerable acceleration could be achieved by further optimization, conversion to C/C++, and use of more specialized processing hardware to obtain similar results in no more than a few seconds.
The algorithm differs significantly from other proposed methods in its relative simplicity. The other previously mentioned approach consisted of five distinct steps, involving multiple thresholding functions, including a first pass of thresholding and region growing to segment the pleural space, with 3D morphological dilation to create a continuous region; a second pass of thresholding for identification of pneumothorax candidates, with 3D morphological erosion to remove voxels included due to noise; a third pass of dynamic thresholding to segment the suspected pneumothorax locations; removal of the bronchus by location and boundary feature analysis; lastly, removal of false positive detections by a radiologist prior to volumetric calculations . In contrast, we applied a two-tiered algorithm involving fewer and simpler thresholding functions followed by a final 3D connectivity check to remove anatomical structures which may erroneously be included in the segmentation. This simplified approach has reduced average processing times by two-thirds without resulting in a loss of accuracy in quantification. Although absolute volume, instead of relative volume, was the value measured in the former study, the more elaborate algorithm achieved a correlation of 0.999 between automated and manual segmentation with a mean difference in volumes of approximately 7%. In comparison, our simplified method achieved a correlation of 0.996 and a mean difference in volumes of just under 1%. A thorough comparison between the two methods would require a larger sample size than was available for this study; however, these initial results show that a high level of accuracy may be acquired in a significantly reduced amount of time.
We note that in this study the “normal” patient was found to have a trace pneumothorax of size 0.38%. This error stems from the presence of the few voxels of air corresponding to normal airways that were not successfully eliminated during processing. While from a therapeutic perspective very small pneumothorax will not receive further intervention (merely monitoring), the question of how a clinician should deal with pneumothoraces found to be <0.5% in size by CAD algorithms still remains. Further, we did not assess the accuracy of the algorithm for quantifying pneumothorax in the presence of pleural effusion, hemothorax, or lung disease, such as emphysema. However, a similar limitation, that is, the exclusion of patients with these conditions, was noted in prior studies as well .
An interesting observation from the results of this study exemplified the wide discrepancy in the reporting of pneumothorax size among physicians, even among a limited sample size. Two out of the eight datasets corresponded to radiological reports which indicated that the patient had a “large” pneumothorax (cases 4 and 6); however, these same two datasets corresponded to manually obtained relative volumes of 18% and 35%. Two datasets characterized as “moderate,” each with a relative size of approximately 20% (cases 3 and 8), were actually greater in volume than one of the “large” pneumothorax. This observation illustrates the inexact nature of conventional (i.e., subjective) pneumothorax size assessment and presents the need for a more precise method of quantification. Although we did not assess the reason for discrepant reporting, it may be attributable to difficulty in visually or subjectively quantifying the extent of pneumothorax in a complex chest CT.
Obtaining results quickly is an important factor in determining the usefulness of an automated tool, particularly if applied in a trauma setting. Overall, our proposed automated pneumothorax analysis algorithm was found to be highly accurate relative to the ground truth of manual segmentation, while incurring minimal processing time. Further optimization to decrease computation time, and incorporation of methods to deal with complicating factors such as hemothoraces, would expand the utility of the algorithm.
Conflict of Interests
S. Do, K. Salvaggio, N. U. Ali, and S. Gupta have no conflict of interests to declare.
This work was supported in part by the Defense Advanced Research Projects Agency under Award no. N66001-10-1-2133. Any opinions, findings, conclusions, or recommendations expressed in this paper are those of the authors and do not necessarily reflect the views of DARPA. The authors do not have any financial disclosures pertinent to this study. Outside of the submitted work, H. Pien has received research funding from Philips Healthcare and Siemens Healthcare, both unrelated to this project; and, M. Kalra has received research funding from GE Healthcare, also not related to this project.
- M. Noppen and T. De Keukeleire, “Pneumothorax,” Respiration, vol. 76, no. 2, pp. 121–127, 2008.
- S. Di Bartolomeo, G. Sanson, G. Nardi, F. Scian, V. Michelutto, and L. Lattuada, “A population-based study on pneumothorax in severely traumatized Patients,” Journal of Trauma, vol. 51, no. 4, pp. 677–682, 2001.
- K. G. Bridges, G. Welch, M. Silver, M. A. Schinco, and B. Esposito, “CT detection of occult pneumothorax in multiple trauma patients,” Journal of Emergency Medicine, vol. 11, no. 2, pp. 179–186, 1993.
- A. M. Kelly, “Treatment of primary spontaneous pneumothorax,” Current Opinion in Pulmonary Medicine, vol. 15, no. 4, pp. 376–379, 2009.
- G. Johnson, “Traumatic pneumothorax: is a chest drain always necessary?” Journal of Accident & Emergency Medicine, vol. 13, no. 3, pp. 173–174, 1996.
- J. D. Knottenbelt and J. W. Van Der Spuy, “Traumatic pneumothorax: a scheme for rapid patient turnover,” Injury, vol. 21, no. 2, pp. 77–80, 1990.
- M. Henry, T. Arnold, and J. Harvey, “BTS guidelines for the management of spontaneous pneumothorax,” Thorax, vol. 58, Supplement 2, pp. ii39–ii52, 2003.
- M. H. Baumann, C. Strange, J. E. Heffner, et al., “Management of Spontaneous Pneumothorax,” Chest, vol. 119, no. 2, pp. 590–602, 2001.
- L. T. Kircher Jr. and R. L. Swartzel, “Spontaneous pneumothorax and its treatment,” Journal of the American Medical Association, vol. 155, no. 1, pp. 24–29, 1954.
- J. T. Rhea, S. A. DeLuca, and R. E. Greene, “Determining the size of pneumothorax in the upright patient,” Radiology, vol. 144, no. 4, pp. 733–736, 1982.
- L. Axel, “A simple way to estimate the size of a pneumothorax,” Investigative Radiology, vol. 16, no. 2, pp. 165–166, 1981.
- K. R. Rowan, A. W. Kirkpatrick, D. Liu, K. E. Forkheim, J. R. Mayo, and S. Nicolaou, “Traumatic pneumothorax detection with thoracic US: correlation with chest radiography and CT—initial experience,” Radiology, vol. 225, no. 1, pp. 210–214, 2002.
- M. H. Baumann and M. Noppen, “Pneumothorax,” Respirology, vol. 9, no. 2, pp. 157–164, 2004.
- A. Trupka, C. Waydhas, K. K. J. Hallfeldt, D. Nast-Kolb, K. J. Pfeifer, and L. Schweiberer, “Value of thoracic computed tomography in the first assessment of severely injured patients with blunt chest trauma: results of a prospective study,” Journal of Trauma, vol. 43, no. 3, pp. 405–411, 1997.
- F. Guerrero-López, G. Vázquez-Mata, P. P. Alcázar-Romero, E. Fernández-Mondéjar, E. Aguayo-Hoyos, and C. M. Linde-Valverde, “Evaluation of the utility of computed tomography in the initial assessment of the critical care patient with chest trauma,” Critical Care Medicine, vol. 28, no. 5, pp. 1370–1375, 2000.
- W. Cai, M. Tabbara, N. Takata et al., “MDCT for automated detection and measurement of pneumothoraces in trauma patients,” American Journal of Roentgenology, vol. 192, no. 3, pp. 830–836, 2009.
- P. Soille, Morphological Image Analysis: Principles and Applications, Springer, New York, NY, USA, 2003.
- R. M. Haralick and L. G. Shapiro, Computer and Robot Vision, vol. 2, Prentice Hall, 1993.