Abstract
Quantitative features that can currently be obtained from medical imaging do not provide a complete picture of Chronic Obstructive Pulmonary Disease (COPD). In this paper, we introduce a novel analytical tool based on persistent homology that extracts quantitative features from chest CT scans to describe the geometric structure of the airways inside the lungs. We show that these new radiomic features stratify COPD patients in agreement with the GOLD guidelines for COPD and can distinguish between inspiratory and expiratory scans. These CT measurements are very different to those currently in use and we demonstrate that they convey significant medical information. The results of this study are a proof of concept that topological methods can enhance the standard methodology to create a finer classification of COPD and increase the possibilities of more personalized treatment.
Introduction
Chronic obstructive pulmonary disease (COPD) is a progressive lung disease, affecting more than 200 million people worldwide. COPD is the fourth leading cause of death in the world and is projected to be the third leading cause of death by 2020. There were more than 3 million deaths from COPD in 2012 worldwide. The global burden on health resources as a result of COPD is expected to rise1,2. COPD is characterized by chronic inflammation of the bronchi and the lung parenchyma, resulting in varying degrees of obstructive bronchitis and emphysema due to remodeling of the airways and destruction of the alveoli, respectively. Although its pathology is heterogeneous, in functional terms, all forms of COPD result in loss of lung function, which is usually quantified by measuring the forced expiratory volume in 1 second (FEV1) and the Forced Vital Capacity (FVC). While these spirometry measures are widely used in clinical practice, both to diagnose and stratify COPD by severity, they have important limitations, the main being that they are integrative measurements which, therefore, do not take into account the highly heterogeneous regional pathological changes of COPD3. Furthermore, FEV1 correlates weakly with clinical outcomes and health status4–6
For the needs of COPD, lung function measurements are increasingly complemented by imaging methods as a means of visually quantifying regional ventilation and perfusion abnormalities, gas trapping, emphysema, and airway remodeling3. High-resolution computed tomography (HRCT) scans are the most widely used form of imaging, with MRI and nuclear medicine increasingly, but still less commonly, used. Technical advances have resulted in dramatic reductions in radiation dose of CTs, allowing repeat imaging in longitudinal studies. Assessment of bronchial wall and cross-section thickness is comparable to histological quantification and also enables estimation of the degree of small airways disease that are not directly visualized by CT7. Of note, CT imaging allows for detection of lung pathology, such as smoking-related inflammation of the small, distal bronchi (bronchiolitis), years before airflow limitation is detected by spirometry8. For example, CT-detected emphysema, assessed by the 15% percentile (Perc15) technique is able prospectively to identify rates of lung function decline, even in individuals in whom spirometry does not detect airway obstruction9.
Common CT measurements in COPD research include lung attenuation area, mean lung density, airway wall area percentage, Perc15, lung volume, airway wall thickness and airway lumen area10. There is, however, significant room for the development of radiomic features derived by data-characterization algorithms applied to large sets of quantitative features extracted from medical images to uncover characteristics that cannot be appreciated by the naked eye. In the current study, we have applied, to our knowledge for the first time ever, the technique of persistent homology to process lung CT data. We took advantage of the computational tool of persistent homology11–13 to create topological descriptors which capture the complexity of the lung structure; this also enabled computation of a measure of similarity between images. Using this approach, our study has introduced a novel set of descriptors computable from a chest CT scan, focusing on characteristics that are very different from those used at present. Specifically, we started by considering three new radiomic features: upwards complexity, which quantifies the way branches stretch upwards, the length of the bronchial tree visible in an inspiratory CT scan, and the number of bifurcations in the same tree. We then showed that these three numerical values are very closely related and any of them can stratify the inspiratory CT scans of our cohort into groups that agree with those given by the GOLD guidelines of COPD. Of note, these stratification results are better than those obtained by other CT measurements, like the emphysema score, volume of the lumen or airway diameter. Apart from the upwards complexity, we also computed two additional numerical values related to the way branches stretch upwards. Using these, we could clearly distinguish between inspiratory and expiratory CT scans. Additionally, we observed that we can also classify our cohort into healthy individuals and COPD patients by quantifying and classifying the topological structure of the space between the lung periphery and the visible airways in an inspiratory CT scan. Finally, we developed a computable characteristic that describes how the branches in the bronchial tree curve towards one another and showed that this radiomic feature correlates with lung function more strongly when the computations are done using the expiratory CT scans rather than the inspiratory CT scans, a phenomenon that is also seen when using standard CT measurements.
We propose that the relation between lung diseases and the shape of the bronchial tree, including properties such as trajectory changes, are of value to advancing our understanding of the mechanisms of COPD. We also propose that further research that applies this method in prospective, longitudinal studies and interventional trials is justified.
Results
The overall aim of this study was to develop a set of new radiomic features that can distinguish between healthy non-smokers as well as healthy smokers and patients with COPD. For this purpose, the following four study participant groups defined by smoking status and spirometry given by the GOLD guidelines6 were studied: healthy non-smokers and healthy smokers (both judged as healthy by spirometry showing FEV1 > 80% of predicted and FEV1/FVC > 0.75), mild COPD patients, consisting of GOLD stage 1 (with FEV1 ≥ 80% of predicted and FEV1/FVC < 0.70) and moderate COPD patients, consisting of GOLD stage 2 (50% ≤ FEV1 < 80% of predicted and FEV1/FVC < 0.70). See Methods for cohort details and data used.
In this paper, we made use of Topological Data Analysis (TDA), with emphasis on persistent homology, for the computation of our new radiomic features. In Supplementary Information, we explain what persistent homology is and how it works. In Methods, we explain the way we use this TDA tool to obtain each of our geometric signatures.
Directional complexity
For this computation, we began by extracting a graph representing the bronchial tree from each inspiratory CT scan (see Methods). Starting from the top of the scan, we recorded the height at which a segment of the bronchial tree changes direction and starts pointing upwards or downwards. We computed a geometric summary of this information using TDA as described in Methods. This consisted of a single numerical output we call upwards complexity, which was obtained by counting the number of times a particular branch changes its trajectory to start stretching upwards and sum this number over all branches in the bronchial tree. Upwards complexity allowed us to stratify the inspiratory CT scans of our cohort into COPD groups that agree with those given by the GOLD guidelines. A boxplot illustrating this group-separation can be found in Fig. 1A and details of the pairwise Kolmogorov-Smirnov (KS) tests can be found in Fig. 2A. The table in Fig. 2A shows (with the notation introduced there) that upwards complexity was able to distinguish HNS from Mild (|KS| = 0.51, and ), HNS from Mod (|KS| = 0.7, ) and HS from Mod (|KS| = 0.53, ).
We also studied how the branches in the bronchial tree bend in other directions, obtaining a different number for each direction. This directional complexity in directions other than upwards did not improve the group-separation results obtained by the combination of upwards complexity and bronchial tree length (introduced in the next section), hence our focus on the latter two measurements. More details on this are given in Methods.
Length of the bronchial tree and number of branching points
To complement directional complexity, we measured the length of the entire bronchial tree observable in an inspiratory CT scan. The length of the bronchial tree was estimated from a graph representing the bronchial tree in the CT (see Methods) using the number of vertices in this graph as a proxy for the length of the bronchial tree. Using this measure, we could again stratify the inspiratory CT scans of our cohort into groups that agree with those given by the GOLD guidelines. For these group-separation results, see Fig. 1B for the boxplot and Fig. 2B for the results of the pairwise KS test. In particular, notice how the bronchial tree length separates the group of moderate COPD patients from the other three groups.
Moreover, it is remarkable that the length of the bronchial tree was able to distinguish all groups, except for that of healthy smokers (HS) from those of healthy non-smokers (HNS) or mild COPD patients (Mild). To be precise, Fig. 2B shows that the bronchial tree length distinguishes HNS from Mild (with a Kolmogorov-Smirnov score of |KS| = 0.48, and a p-value of ), HNS from Mod (|KS| = 0.76, ) and HS from Mod (|KS| = 0.61, ), as upwards complexity did. In addition, bronchial tree length also separates Mild from Mod (|KS| = 0.63, ). Of note, these findings may indicate that the group of healthy smokers is heterogeneous and intersects with the healthy non-smokers at one end and with the mild COPD patients at the other. This could not be established using FEV1 (% of predicted) and the ratio FEV1/FVC.
To investigate whether any part of the lung may be contributing more to the above findings, we computed the length of the bronchial tree starting from different airway generations. This showed that such thresholding does not improve the separation presented in Fig. 1B and Fig. 2B regardless of the generation from which the computation began. In a separate computation, an almost identical separation to the one in Fig. 1B and Fig. 2B was reproduced by using the total number of points where airways branch out instead of the length of the bronchial tree.
Relationship between directional complexity and bronchial tree length
When investigating the directional complexity in any given direction and the length of the bronchial tree, these two measures were found to be strongly related (see Fig. 3A for an illustration of this using upwards complexity). Moreover, as shown in Fig. 3A, this close relation was maintained across the four groups in the cohort. It should be noted that while one can expect directional complexity to be related to the bronchial tree length, the precise nature of this relationship is not at all clear a priori.
Comparison with other analytical methods
Having observed significant separation between study groups using our new radiomic methods on inspiratory CT scans, we looked for similar differences between subject groups when using other CT measurements. Specifically, we quantified emphysema using the standard measure of percentage area of low attenuation and we approximated the volume of the airway lumen as the number of voxels inside the airways (see the grey airway structure in Fig. 4A). This showed that the differences between subject groups identified by our radiomic features were much more significant than the differences identified by the emphysema score and the volume of the lumen (compare the boxplots Fig. 1C and Fig. 1D with those in Fig. 1A and Fig. 1B, and the numerical results in Fig. 2C and Fig. 2D with those in Fig. 2A and Fig. 2B). Indeed, using the volume of the lumen, we did not find any difference between subject groups with a p-value < 0.05, and the emphysema score only found two such differences – namely, that between healthy smokers and moderate COPD patients ( = 0.55, ) and that between healthy non-smokers and moderate COPD patients (=0.48, ). These separations were weaker and less significant than the separation of the same groups obtained using the bronchial tree length (Fig. 1B and Fig. 2B).
Relation to height
When assessing standard lung function measurements, the values are typically normalized by the individual’s height. To study the effect of height on some of our new radiomic features, we divided the upwards complexity of each participant by the person’s height. We then examined the effect of normalization by height on group separation. To this end, we compared 2-sample Kolmogorov–Smirnov tests. Normalizing upwards complexity exhibited a clearer separation in 3 cases (using the notation in Fig. 1, those cases are the comparisons Mod-HNS, HS-Mod and Mod-Mild) and a less clear separation in 2 cases (Mild-HNS, HS-Mild) (compare Fig. 1E and Fig. 2E to Fig. 1A and Fig. 2A, respectively).
We repeated the same normalization with the length of the bronchial tree and found that in 2 instances (HNS-Mild, HS-Mod), not normalizing by height provided a clearer separation between groups, and normalizing did not improve the clarity of separation in any instance (compare Fig. 1F and Fig. 2F to Fig. 1B and Fig. 2B, respectively). This suggests that, unlike standard spirometry, the bronchial tree length may capture bronchial structure information relevant in COPD in a way that is independent of height.
Comparison of expiratory and inspiratory phase CTs
For 30 participants (8 healthy non-smokers, 9 healthy smokers, 8 mild COPD and 5 moderate COPD), both inspiratory and expiratory CT scans were obtained. This provided an opportunity to demonstrate first that our methodology can not only distinguish between healthy individuals and COPD patients but also detects differences in structure between the inspiratory and expiratory phases of the breathing cycle. Furthermore, we showed that the amount to which branches in the bronchial tree curve towards one another correlates with lung function more strongly in expiratory CT scans than in inspiratory ones. The stronger correlation with expiratory scans is in keeping with our previous findings using standard CT measurements that mean lung density (MLD) during expiration correlated better with reduced lung function than inspiratory MLD14.
To address the first point, we considered again the height at which branches in the bronchial tree start or stop stretching upwards, as used in the computation of upwards complexity. We used the same input to compute a different topological summary (see Methods), which allowed us to compare the scans of different participants and plot them together. The output of our computations were two values per CT scan, which we used as coordinates of a point in the plane (see Fig. 5B). This showed a clear separation between the inspiratory and expiratory CT scans.
To quantify how branches curve towards one another in the bronchial tree graph, we introduced another radiomic feature, called branch-to-branch proximity. This was done by virtually thickening the visible airways and recording the thickness at which the airways begin to touch (see Fig. 6 and Fig. 7 for an illustration). Using this approach, we found that the branch-to-branch proximity observed in the expiratory phase correlated more strongly with FEV1 (% of predicted) than the branch-to-branch proximity observed in the inspiratory phase (compare Fig. 3B and Fig. 3C). Again, this was consistent with standard CT measurements, which also correlate better with FEV1 (% of predicted) when measured during expiration10,14.
Small airways
Having shown that we can compute clinically meaningful topological features of the airways by using their tree structure, we showed that the shape of the space separating the lung periphery from the airways visible in an inspiratory CT scan is also related to the development of COPD. Our CT scan data consists of voxels which are cubes 0.7 mm long in each direction, giving a spatial resolution of 2.1 mm. This makes the small airways, which are defined as those with a diameter <2 mm, invisible in a CT scan. However, it is well known that small airways dysfunction plays a key role in COPD. Hence, what happens in the void between the visible airways and the lung periphery is crucial. To overcome the relatively low resolution of the standard CT scan, we provided numerical topological characteristics of the shape of the space between the airways and the boundary of the lobes. We demonstrated how the resulting radiomic feature can distinguish between healthy individuals and COPD patients. This was achieved by placing virtual balls centered within the visible structure (airways and lung periphery) and allowing them to expand until they fully occupied the space. This procedure uses thickening in a similar way to Fig. 6, see Methods for details. The output is a pair of real numbers (x, y) representing each CT scan. In Fig. 5A, we represent each CT scan as a point in the plane with the corresponding coordinates (x, y). This approach placed the healthy smoking and non-smoking individuals into one group that was distinct from the mild and moderate COPD patients who formed another group (see Fig. 5A).
Discussion
Since its creation, persistent homology, a key tool of TDA, has developed rapidly, both in terms of its mathematical foundations15–17 and possible applications. Persistent homology has been used in fields as diverse as digital imaging18,19, sensor networks coverage20, materials science21,22, molecular modelling23–25, signal processing26,27 and virus evolution28. In this study, we took advantage of the ability of persistent homology to offer alternative ways of measuring global properties of complex objects through the use of topology.
In respiratory imaging, this method represents a completely new way of taking measurements of the bronchial tree. In contrast to existing methods, such as measuring the dimensions of the airway walls and lumen, which look at airway branches individually, our approach condenses the topological properties of the entire bronchial tree into a small number of unique characteristics for each individual. Along with previous studies29,30, this creates major new opportunities for persistent homology to be used more widely in medicine, in particular in clinical radiology. This new methodology is especially applicable to studying the lung at the population level because of the manner in which it represents the complexity of the airway tree through a single low-dimensional data point that represents the entire bronchial tree. By collecting these data over a large number of subjects and combining them with other imaging, physiological and measurements of pathobiological biomarkers, we could build a picture of how variations in the topological nature of the bronchial tree impact on the pathophysiology of people with a variety of respiratory diseases such as COPD, asthma and idiopathic pulmonary fibrosis (IPF). This is likely to have significant translational impact as a valuable tool for use in deep-phenotyping, which is central in stratified medicine and precision medicine31.
We have created a set of novel radiomic features which capture the overall complexity of the lung structure and enable a quantitative comparison of the CT scan images. We have demonstrated that these properties are important in the context of a common respiratory disease. These measurements provided a more complete picture of differences between the four groups in this study than standard CT measurements. In particular, there was a significant relationship between upwards complexity, the length of the bronchial tree, and COPD severity. Moreover, it is remarkable that the length of the bronchial tree was able to distinguish all groups, except for that of healthy smokers from those of healthy non-smokers or mild COPD patients, which may indicate that the group of healthy smokers is heterogeneous and intersects with the healthy non-smokers at one end and with the mild COPD patients at the other. This could not be established using FEV1 (% of predicted) and the ratio FEV1/FVC.
Additionally, our comparison between inspiratory and expiratory phases can have various applications. The manner in which tissue inside the lung expands and contracts throughout the breathing cycle is known to be an indicator of disease, for example gas trapping in COPD. Comparison of the inspiratory and expiratory scans can therefore be exploited as a means of making localized measurements of disease32. Our proposed technique makes it possible to study how the shape of the bronchial tree changes during the breathing cycle and offers the potential to be a new method for the identification of localized areas of disease, such as gas trapping. Similarly, indices that are the subject of current, clinical, pulmonary CT research also include the Parametric Response Mapping (PRM) technique, which uses co-registration of paired inspiratory and expiratory scans to compare areas of low attenuation on a voxel to voxel basis33,34. Our methodology may further inform the PRM technique and could be the subject of future research.
The precise physiological basis for our results is not completely clear at this stage. Upwards complexity counts the number of times a branch deflects upwards from the horizontal direction. Lower directional complexity means that there are fewer airways pointing upwards from a given plane. The same applies to downwards complexity, or indeed complexity evaluated in any direction in three dimensions. Our interpretation is that advancing smoking disease (fall in FEV1) is associated with increased distortion of the bronchial tree structure, which results in some of the airways pointing in a direction that is different from the other neighbouring airways, possibly because of differences in air trapping. Thus, regional differences in the extent of lung damage (emphysema) could explain distortions that result in individual airways departing from the direction of the other neighbouring airways that have different degrees of air trapping. A natural pathophysiological explanation for the association between FEV1 and branch proximity is that it reflects the distortion (squashing) of the airways by hyperinflated lung parenchyma, also due to air trapping. As can be seen in Fig. 2C, this squashing is more pronounced in expiration, as shown by the stronger and more significant correlation in this respiratory phase (see p and p values, respectively).
Our approach to persistent homology is similar to that employed in30 to study cerebral vasculature, but our topological summaries, such as the directional complexity or branch-to-branch proximity, are different and have not been used before. As explained in Supplementary Information, the output from the persistent homology calculation is summarized in the so-called barcode. In the study of cerebral vasculature, Bendich et al.30 simplified the analysis by retaining the 100 longest bars from which summaries were produced using the Principal Component Analysis. In contrast, in our study this approach did not work as the number of bars can vary significantly between patients, which can be seen in Fig. 1A where some participants have about 160 bars in the upwards complexity barcode, whereas others exhibit only about 20 bars. For this reason, in our study we retained the entire barcode without thresholding. From this input data, we computed a measure of similarity between scans of individual patients. This can be used for visualization or to train classification models in a way similar to the approach by Adcock et al. on hepatic lesions29.
We also created a new topological characteristic to circumvent the relatively low spatial resolution of CT scans. This is one of the main mathematical novelties of the paper as it provides a first instance where topology has been used to infer the structure of the object under study. We achieved this by incorporating the boundary of the lung lobes into the computation. This technique can be applied to any kind of imaging, for example, to 3-dimensional Magnetic Resonance Angiography images of the arterial tree within the brain30, where the new characteristics developed here can be used to enhance the analysis if the meninges are used in the same way we used the outer layer of the lobes in our study.
Of note, we made use of persistent homology in degrees 0, 1 and 2 in different ways to obtain different kinds of clinical insight. In degree 0, it was used to define the directional complexity (a number that can distinguish severity groups) and to characterize the distinction between the inspiratory and expiratory CT scans. Using persistent homology in degree 1, we showed that CT measurements correlate with FEV1 (% of predicted) more strongly during the expiratory phase than in the inspiratory phase, which could be expected based on similar observations in past CT studies10,14. As stated before, the degree 2 was used to overcome the limitation of the low spatial resolution of CT scans by including information of the outer boundary of the lobes. This led to a much clearer visualization of the difference between the healthy and COPD participants, which could not be recovered using the topological characteristics in degrees 0 and 1. Thus, our methodology provides one of the first significant uses of the second-degree persistent homology in applications. The other uses of degree 2 up to date are summarized in19,35,36.
In summary, this study has shown that our analytical method can extract information from CT scans to provide a new perspective on lung structure. Because this method can be readily applied to large CT datasets, we propose that it is of value for clinical research. Further studies are needed to assess its prognostic value in longitudinal and interventional studies.
Methods
All the procedures explained in the Results section can be formalized and computed efficiently through the tool of persistent homology, which is described in detail in the Supplementary Information.
Study design and participants
The imaging data used for this study were acquired from two previous imaging studies performed in Southampton (manuscripts in preparation). Both studies focused on COPD and had identical inclusion and exclusion criteria. In both studies, participants were recruited into two COPD groups; GOLD stage 1 disease (FEV1/FVC ratio <0.70 and FEV1 ≥80% of predicted) and GOLD stage 2 disease (FEV1/FVC ratio <70% and FEV1 50–79% of predicted), referred to as mild and moderate COPD, respectively. Both healthy smoker and healthy non-smoker groups had no clinical evidence of obstructive airways disease, and had spirometry results of FEV1/FVC ratio >0.75 and FEV1 >80% of predicted. In total, 64 participants were assessed (18 healthy non-smokers, 19 healthy smokers, 14 COPD GOLD-1 and 13 COPD GOLD-2). Both studies were approved by the Southampton and West Hampshire local research ethics committee (LREC number: 11/SC/0319 and 09/H0502/91). Written informed consent was obtained from all study participants and both studies were conducted according to all relevant guidelines and regulations.
MSCT imaging
All CT scans were performed using a standardized protocol recommended for use with Apollo analysis software (Vida Diagnostics, Iowa, USA). Multi-Slice Computed Tomography (MSCT) scans were performed on a Siemens Sensation 64 CT scanner (Siemens Medical Solutions, Erlangen, Germany) using a high-resolution algorithm, with detector thickness 0.75 mm, pitch 1.0, effective mAs 90 and a tube voltage of 120 kV. The high-resolution algorithm was chosen to ensure the best visualization of the airway tree37. The scanning protocol was performed at maximal inspiration and expiration, with breath hold, for the duration of the scan (approximately 10–15 sec depending on the size of the thorax). All patients are coached beforehand and during the scan in a standardized manner, conforming with the Vida Diagnostics protocol and as used by other centers38,39. The images were reconstructed using a slice thickness of 0.75 mm, a reconstruction increment of 0.5 mm, and a sharp reconstruction algorithm. Additional reconstructions were also performed using several soft reconstruction kernels, including B30f and B35f, which were chosen to suit the recommended protocol in the Apollo analysis software.
MSCT analysis
The Apollo software (Vida Diagnostics, Iowa, USA) was used to perform the analysis of the multi-slice computed tomography scans. This software was designed to semi-automatically analyze pulmonary MSCT imaging data, including segmentation of the lungs, the airway tree and the lobes (see Fig. 4A). For the needs of the current study, only the lung, lobes and airway tree were of interest. In many cases, the Apollo software was able to achieve the desired results entirely automatically, but for some participants it was necessary to manually edit the results of the lobe segmentation to ensure that they were defined as accurately as possible. All segmentations were manually inspected for accuracy and completeness. In the case of the lobes, accuracy was checked by ensuring that the lobar boundary corresponded as closely as possible with the fissure, whilst for the airways the segmentation was inspected to ensure that the results were as complete as possible.
Custom software written in Matlab (R2015b, MathWorks, Natick, MA 01760–2098, US) was used to extract the specific details of the center lines and branch points of the airway tree from the data output by the Apollo software. An example of the extracted center lines, along with the segmented airway tree is shown in Fig. 4B, where the center lines are colored according to generation number and are, for simplicity, plotted between the branch points only. For all of the analysis in this paper, the complete center line information was used, which captured the true shape of the airway branches. In particular, there can be up to 264 extra points describing the shape of the bronchial tree between two branch points.
Persistent homology
Persistent homology11–13 has been designed to provide numerical information about the key features of an object under study at a range of scales, which can be regarded as variable resolution at which the object is viewed. A starting point of this process is a simplified approximation of the object, which grows as the scale parameter r is varied. In this study, we made use of two different approximations: one based on alpha complexes (see Supplementary Information) and one based on a notion of height function, explained in the directional complexity section (below) and expanded in the Supplementary Information. We computed topological characteristics of the chosen approximation, using all scales at once. These are numerical invariants obtained by computing homology groups Hn of the approximation, and tracing the life-span of features as they appear and disappear with the changing scale. For each degree , this information is represented in the form of a collection of intervals with multiplicities, called the degree-n barcode explained in detail in the Supplementary Information. These intervals have the form (r1,r2) for different values of the changing parameter r, and are also known as bars, hence the name barcode for a collection of these. Intuitively, degree-0 gives information about the evolution of the connected components along the sequence of growing representations of the object under study. Similarly, degree 1 indicates the evolution of the loops or holes, and degree 2 captures the evolution of cavities or voids, etc. We compared the resulting barcodes using pseudo-distance functions, the Wasserstein and Bottleneck pseudo-distances being examples with important stability properties; see Supplementary Information.
In summary, we used persistent homology to take a growing approximation of an object, compute the associated degree-n barcode for some , and compare the corresponding barcodes of different objects using the Bottleneck or Wasserstein distances.
Directional complexity
We quantified the amount of changes in trajectory in a particular direction by defining a notion of directional complexity on the 3D graph representation of the bronchial tree described in the MSCT analysis subsection (above). To measure upwards complexity, we slid a horizontal plane downwards (see example in Fig. 8A). At any given distance h from the top of the imaginary box containing the bronchial tree, Xh was defined as the part of the tree that sits above the plane at that position. In this way, we obtained an approximation of the bronchial tree that converged to the original tree as we increased the distance h from the top (see Fig. 8A).
The degree-0 barcode corresponding to this sequence of growing graphs has the following interpretation: a bar of the form (h1, h2) in this barcode indicates that there is a connected component C in the graph which is not present in Xh for any . Additionally, the following holds for but it does not hold for any : in the graph , the component represented by C will merge with another component of which was present in for some .
In Fig. 8B, we represent each bar of the form (h1, h2) in the degree-0 barcode as a vertical line, with the starting point at distance h1 from the top and end point at distance h2 from the top. In this representation, every bar corresponds to a branch changing trajectory to start stretching upwards. We called upwards complexity the number of vertical lines in such a representation, i.e., the number of upwards changes of trajectory of the airways.
To compute directional complexity in other directions, we rotated the bronchial tree, slid the plane top to bottom and counted the number of finite bars in the corresponding degree-0 barcode.
As mentioned in the Results section, directional complexity in other directions did not improve the group-separation results obtained by the combination of upwards complexity and bronchial tree length, hence our focusing on the upwards direction. For instance, by rotating 10°, 220° and 0° around the X, Y and Z axes, respectively, following the right-hand rule, directional complexity produced no group separation at all. However, using instead the angles 20°, 40° and 0°, respectively, the group-separation results given by directional complexity were very similar to those of the bronchial tree length.
To generate these barcodes, we used the publicly available software package TDATools40. To compute the barcode of one of these graphs in a 3D box, we used the function ‘rca1mfscm’ of this package, which requires the definition of a function on each vertex and edge of the graph. For instance, to compute the upwards complexity, we assigned to each vertex its distance to the top of the box, and to each edge, the maximum of the values of F attained at the two vertices it connects. Note that all barcodes in this study were computed with coefficients in the field of two elements, .
Length of the bronchial tree
The length of the bronchial tree was estimated from the 3D graph representation of the bronchial tree described in the MSCT analysis subsection above. We used the number of vertices in this graph (that include not only the branch points but also the many vertices connecting consecutive branch points) as a proxy for the length of the bronchial tree. As stated in the Results section, a separate computation with only the branch points was performed and the results were similar to those in Fig. 1B and Fig. 2B.
Small airways
For the computation of the representation in Fig. 5A, we started with a 3D array of binary voxels representing the luminal surface of the airways together with the surface of the lobes as in Fig. 4A. For each binary voxel image, we constructed a point cloud in by including the coordinates of every voxel with value 1 and then built the alpha complex filtration (see Supplementary Information) on these points. The degree-2 barcode of this filtration gave information about how the airways fill the cavity of the lobes. The alpha complex filtrations and their barcodes were computed using the GUDHI library41.
Next, we computed the bottleneck distances between all the degree-2 barcodes. This gave a measure of distance between the lung scans by proxy, giving us a pseudo-metric on the set of lungs. The bottleneck distances were computed using the Hera software42. Due to computational constraints, we made use of the software’s approximate bottleneck calculation. If one supplies a relative error, then the software computes an approximate distance which satisfies the inequality
where is the exact bottleneck distance and is the computed approximation, as described in the documentation of 42. We used a relative error of 10−4. After measuring the pairwise distances between all barcodes, we used Multi-Dimensional Scaling (MDS) to obtain a 2D representation shown in Fig. 5A.
Expiratory CT analysis
For 30 participants (8 healthy non-smokers, 9 healthy smokers, 8 mild COPD and 5 moderate COPD), both inspiratory and expiratory CT scans were obtained. Recall that the upwards complexity was computed as the number of vertical lines in Fig. 8B. This was, in turn, the number of bars in the degree-0 barcode constructed by considering the part of the bronchial tree graph that sits on top of a horizontal plane that we slide downwards.
In order to compute the representation shown in Fig. 5B, we used the same degree-0 barcode in a different way. We computed such barcodes for both the inspiratory and expiratory bronchial tree graphs and compared those 60 barcodes (corresponding to the inspiratory and the expiratory bronchial tree of the 30 patients) using the Wasserstein2 distance (see Supplementary Information). The Wasserstein computations were done with the software package Hera 42. After calculating the distances between all these barcodes, the final representation in Fig. 5B was obtained using a 2D MDS projection.
In a separate computation, we quantified how branches bend towards one another on the tree graph (See Fig. 6 and Fig. 7 for an intuitive illustration of this computation). We used the alpha complex filtration (see Supplementary Information) built on the nodes of this graph. Next, we computed the degree-1 barcode, which consisted of points of the form . Finally, we defined the branch-to-branch proximity as the sum of the numbers corresponding to all such points. We performed this for both the inspiratory and expiratory tree graphs of each participant. The alpha complex filtrations and their barcodes were computed using the GUDHI library41.
Data and materials availability
The data that support the findings of this study are available on request from the corresponding author (J. B.). The data are not publicly available due to them containing information that could compromise research participant privacy.
Electronic supplementary material
Acknowledgements
This work was partially supported by the EPSRC grant EPSRC EP/N014189/1, and by the National Institute for Health Research (NIHR) through support of the NIHR Southampton Respiratory Biomedical Research Unit, specifically funding Dr. Michael Bennett and the acquisition of CT data. Professor Djukanovic is a NIHR Senior Investigator.
Author Contributions
J.B., M.B. and R.D. designed the study with contributions from F.B. and M.P. The CT data were created and preprocessed by M.B. and J.C. The computations were designed by F.B., J.B., and M.P., and carried out by F.B. and M.P. The results were analyzed by F.B., M.B., R.D. and J.B. The manuscript was written by F.B., M.B., R.D., and J.B. The Supplementary Information was written by M.P., F.B., and J.B.
Competing Interests
The authors declare no competing interests.
Footnotes
Electronic supplementary material
Supplementary information accompanies this paper at 10.1038/s41598-018-23424-0.
Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Mathers CD, Loncar D. Projections of Global Mortality and Burden of Disease from 2002 to 2030. PLoS Medicine. 2006;3(11):e442. doi: 10.1371/journal.pmed.0030442. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Lozano R, et al. Global and regional mortality from 235 causes of death for 20 age groups in 1990 and 2010: a systematic analysis for the Global Burden of Disease Study 2010. The Lancet. 2012;380(9859):2095–2128. doi: 10.1016/S0140-6736(12)61728-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Coxson HO, Leipsic J, Parraga G, Sin DD. Using Pulmonary Imaging to Move Chronic Obstructive Pulmonary Disease beyond FEV1. American Journal of Respiratory and Critical Care Medicine. 2014;190:135–144. doi: 10.1164/rccm.201402-0256PP. [DOI] [PubMed] [Google Scholar]
- 4.Doherty DE. A Review of the Role of FEV1in the COPD Paradigm. COPD: Journal of Chronic Obstructive Pulmonary Disease. 2008;5:310–318. doi: 10.1080/15412550802363386. [DOI] [PubMed] [Google Scholar]
- 5.Jones PW. Health Status and the Spiral of Decline. COPD: Journal of Chronic Obstructive Pulmonary Disease. 2009;6:59–63. doi: 10.1080/15412550802587943. [DOI] [PubMed] [Google Scholar]
- 6.Global Strategy for the Diagnosis, Management and Prevention of COPD, Global Initiative for Chronic Obstructive Lung Disease (GOLD). Available at http://goldcopd.org (2017).
- 7.de Jong PA, Müller NL, Paré PD, Coxson HO. Computed tomographic imaging of the airways: relationship to structure and function. European Respiratory Journal. 2005;26:140–152. doi: 10.1183/09031936.05.00007105. [DOI] [PubMed] [Google Scholar]
- 8.Sayiner A, et al. Bronchiolitis in young female smokers. Respiratory Medicine. 2013;107:732–738. doi: 10.1016/j.rmed.2012.12.023. [DOI] [PubMed] [Google Scholar]
- 9.Hoesein FAAM, et al. CT-quantified emphysema in male heavy smokers: association with lung function decline. Thorax. 2011;66:782–787. doi: 10.1136/thx.2010.145995. [DOI] [PubMed] [Google Scholar]
- 10.Xie X, et al. Morphological measurements in computed tomography correlate with airflow obstruction in Chronic Obstructive Pulmonary Disease: systematic review and meta-analysis. European Radiology. 2012;22:2085–2093. doi: 10.1007/s00330-012-2480-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Edelsbrunner H, Letscher D, Zomorodian A. Topological persistence and simplification. Discrete Comput. Geom. 2002;28:511–533. doi: 10.1007/s00454-002-2885-2. [DOI] [Google Scholar]
- 12.Carlsson G, Zomorodian A. Computing persistent homology. Discrete Comput. Geom. 2005;33:249–274. doi: 10.1007/s00454-004-1146-y. [DOI] [Google Scholar]
- 13.Edelsbrunner, H. & Harer, J. In Surveys on discrete and computational geometry (Amer. Math. Soc., Providence, RI, Vol. 453, pp. 257–282 (2008).
- 14.O’Donnell RA, et al. Relationship between peripheral airway dysfunction, airway obstruction, and neutrophilic inflammation in COPD. Thorax. 2004;59:837–842. doi: 10.1136/thx.2003.019349. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Carlsson G, de Silva V. Zigzag persistence. Found. Comput. Math. 2010;10:367–405. doi: 10.1007/s10208-010-9066-0. [DOI] [Google Scholar]
- 16.Cohen-Steiner D, Edelsbrunner H, Harer J. Extending Persistence Using Poincaré and Lefschetz Duality. Found. Comput. Math. 2009;9:79–103. doi: 10.1007/s10208-008-9027-z. [DOI] [Google Scholar]
- 17.Belchí F, Murillo A. A∞ persistence. Appl. Algebra Engrg. Comm. Comput. 2015;26:121–139. doi: 10.1007/s00200-014-0241-4. [DOI] [Google Scholar]
- 18.Robins V, Wood PJ, Sheppard AP. Theory and Algorithms for Constructing Discrete Morse Complexes from Grayscale Digital Images. IEEE Trans. Pattern Analysis and Machine Intelligence. 2011;33:1646–1658. doi: 10.1109/TPAMI.2011.95. [DOI] [PubMed] [Google Scholar]
- 19.Perea JA, Carlsson G. A Klein-Bottle-Based Dictionary for Texture Representation. Int. J. Comput. Vision. 2014;107:75–97. doi: 10.1007/s11263-013-0676-2. [DOI] [Google Scholar]
- 20.de Silva V, Ghrist R. Coverage in sensor networks via persistent homology. Alg. & Geom. Top. 2007;7:339–358. doi: 10.2140/agt.2007.7.339. [DOI] [Google Scholar]
- 21.Kramár M, Goullet A, Kondic L, Mischaikow K. Quantifying force networks in particulate systems. Physica D: Nonlinear Phenomena. 2014;283:37–55. doi: 10.1016/j.physd.2014.05.009. [DOI] [Google Scholar]
- 22.MacPherson R, Schweinhart B. Measuring shape with topology. J. Math. Phys. 2012;53(073516):13. [Google Scholar]
- 23.Agarwal PK, Edelsbrunner H, Harer J, Wang Y. Extreme elevation on a 2-manifold. Discrete Comput. Geom. 2006;36:553–572. doi: 10.1007/s00454-006-1265-8. [DOI] [Google Scholar]
- 24.Kovacev-Nikolic V, Bubenik P, Nikolić D, Heo G. Using persistent homology and dynamical distances to analyze protein binding. Stat. Appl. Genet. Mol. Biol. 2016;15:19–38. doi: 10.1515/sagmb-2015-0057. [DOI] [PubMed] [Google Scholar]
- 25.Gameiro M, et al. A topological measurement of protein compressibility. Japan Journal of Industrial and Applied Mathematics. 2015;32:1–17. doi: 10.1007/s13160-014-0153-5. [DOI] [Google Scholar]
- 26.Emrani S, Gentimis T, Krim H. Persistent homology of delay embeddings and its application to wheeze detection. IEEE Signal Processing Letters. 2014;21:459–463. doi: 10.1109/LSP.2014.2305700. [DOI] [Google Scholar]
- 27.Brown KA, Knudson KP. Nonlinear statistics of human speech data. Internat. J. Bifur. Chaos Appl. Sci. Engrg. 2009;19:2307–2319. doi: 10.1142/S0218127409024086. [DOI] [Google Scholar]
- 28.Chan JM, Carlsson G, Rabadan R. Topology of viral evolution. Proc. Natl. Acad. Sci. USA. 2013;110:18566–18571. doi: 10.1073/pnas.1313480110. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Adcock A, Carlsson G, Rubin D. Classification of hepatic lesions using the matching metric. Comput. Vis. Image Und. 2014;121:36–42. doi: 10.1016/j.cviu.2013.10.014. [DOI] [Google Scholar]
- 30.Bendich P, Marron JS, Miller E, Pieloch A, Skwerer S. Persistent homology analysis of brain artery trees. Ann. Appl. Stat. 2016;10:198–218. doi: 10.1214/15-AOAS886. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Delude CM. Deep phenotyping: The details of disease. Nature. 2015;527:S14–S15. doi: 10.1038/527S14a. [DOI] [PubMed] [Google Scholar]
- 32.Nagatani Y, et al. A new quantitative index of lobar air trapping in chronic obstructive pulmonary disease (COPD): Comparison with conventional methods. European Journal of Radiology. 2015;84(5):963–974. doi: 10.1016/j.ejrad.2014.12.018. [DOI] [PubMed] [Google Scholar]
- 33.Kirby M, et al. A Novel Method of Estimating Small Airway Disease Using Inspiratory-to-Expiratory Computed Tomography. Respiration. 2017;94(4):336–345. doi: 10.1159/000478865. [DOI] [PubMed] [Google Scholar]
- 34.Galbán CJ, et al. Computed tomography–based biomarker provides unique signature for diagnosis of COPD phenotypes and disease progression. Nature Medicine. 2012;18(11):1711–1715. doi: 10.1038/nm.2971. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Perea, J. A. Persistent homology of toroidal sliding window embeddings, presented at 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), (unpublished) (2016).
- 36.Lee Y, et al. Quantifying similarity of pore-geometry in nanoporous materials. Nature Communications. 2017;8:15396. doi: 10.1038/ncomms15396. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Coxson HO. Quantitative Computed Tomography Assessment of Airway Wall Dimensions: Current Status and Potential Applications for Phenotyping Chronic Obstructive Pulmonary Disease. Proceedings of the American Thoracic Society. 2008;5:940–945. doi: 10.1513/pats.200806-057QC. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Chen Y, et al. Validation of human small airway measurements using endobronchial optical coherence tomography. Resp Med. 2015;109:1446–1453. doi: 10.1016/j.rmed.2015.09.006. [DOI] [PubMed] [Google Scholar]
- 39.Sieren JP. SPIROMICS Protocol for Multicenter Quantitative Computed Tomography to Phenotype the Lungs. Am Journal Crit Care Met. 2016;194(1):794–806. doi: 10.1164/rccm.201506-1208PP. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Harer, J. et al. TDAtools, Available at https://github.com/ksian/ML2015FP/tree/master/3TDATools (2014).
- 41.The_GUDHI_Project, GUDHI User and Reference Manual, Available at http://gudhi.gforge.inria.fr/doc/latest/ (2015).
- 42.Kerber, M., Morozov, D. & Nigmetov, A., Hera, Available at https://bitbucket.org/grey_narn/hera (2017).
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.