Image- vs. histogram-based considerations in semantic segmentation of pulmonary hyperpolarized gas images ========================================================================================================= * Nicholas J. Tustison * Talissa A. Altes * Kun Qing * Mu He * G. Wilson Miller * Brian B. Avants * Yun M. Shim * James C. Gee * John P. Mugler III * Jaime F. Mata ## Abstract Magnetic resonance imaging (MRI) using hyperpolarized gases has made possible the novel visualization of airspaces in the human lung, which has advanced research into the growth, development, and pathologies of the pulmonary system. In conjunction with the innovations associated with image acquisition, multiple image analysis strategies have been proposed and refined for the quantification of such lung imaging with much research effort devoted to semantic segmentation, or voxelwise classification, into clinically oriented categories based on ventilation levels. Given the functional nature of these images and the consequent sophistication of the segmentation task, many of these algorithmic approaches reduce the complex spatial image information to intensity-only considerations, which can be contextualized in terms of the intensity histogram. Although facilitating computational processing, this simplifying transformation results in the loss of important spatial cues for identifying salient image features, such as ventilation defects (a well-studied correlate of lung pathophysiology), as spatial objects. In this work, we discuss the interrelatedness of the most common approaches for histogram-based optimization of hyperpolarized gas lung imaging segmentation and demonstrate how certain assumptions lead to suboptimal performance, particularly in terms of measurement precision. In contrast, we illustrate how a convolutional neural network is optimized (i.e., trained) directly within the image domain to leverage spatial information. This image-based optimization mitigates the problematic issues associated with histogram-based approaches and suggests a preferred future research direction. Importantly, we provide the entire processing and evaluation framework, including the newly reported deep learning functionality, as open-source through the well-known Advanced Normalization Tools ecosystem (ANTsX). ## 1 Introduction ### 1.1 Historical overview of quantification Early attempts at quantification of ventilation images were limited to enumerating the number of ventilation defects or estimating the proportion of ventilated lung (35, 61, 62) which has evolved to more sophisticated techniques used currently. A brief outline of major contributions can be roughly sketched to include: * binary thresholding based on relative intensities (42, 55), * linear intensity standardization based on a global rescaling of the intensity histogram to a reference distribution based on healthy controls, i.e., “linear binning” (53, 54), * nonlinear intensity standardization based on piecewise affine transformation of the intensity histogram using a customized hierarchical (34, 52) or adaptive (8) k-means algorithm, * nonlinear intensity standardization using fuzzy c-means (4) with spatial considerations based on local voxel neighborhoods (7), and * Gaussian mixture modeling (GMM) of the intensity histogram with Markov random field (MRF) spatial prior modeling (64). An early semi-automated technique used to compare smokers and never-smokers relied on manually drawn regions to determine a threshold based on the mean signal and noise values (55). Related approaches, which use a simple rescaled threshold value to binarize the ventilation image into ventilated and non-ventilated regions (33), continue to find modern application (42). Similar to the histogram-only algorithms (i.e., linear binning and hierarchical k-means, discussed below), these approaches do not take into account the various MRI artefacts such as noise (43, 44) and the intensity inhomogeneity field (60) which prevent hard threshold values from distinguishing tissue types precisely consistent with that of human experts. In addition, to provide a more granular categorization of ventilation for greater compatibility with clinical qualitative assessment, many current techniques have increased the number of voxel classes (i.e., clusters) beyond the binary categories of “ventilated” and “non-ventilated.” Linear binning is a simplified type of MR intensity standardization (51) in which images from healthy controls are normalized to the range [0, 1] and then used to calculate the cluster intensity boundary values, based on an aggregated estimate of the parameters of a single Gaussian fit. Subject images to be segmented are then rescaled to this reference histogram (i.e., a global affine 1-D transform). This mapping results in alignment of the cluster boundaries such that corresponding labels are assumed to have similar clinical interpretation. In addition to the previously mentioned limitations associated with hard threshold values, such a global transform does not account for MR intensity nonlinearities that have been well-studied (47–51) and are known to cause significant intensity variation even in the same region of the same subject. As stated in (47): > Intensities of MR images can vary, even in the same protocol and the same sample and using the same scanner. Indeed, they may depend on the acquisition conditions such as room temperature and hygrometry, calibration adjustment, slice location, B0 intensity, and the receiver gain value. The consequences of intensity variation are greater when different scanners are used. As we illustrate in subsequent sections, ignoring these nonlinearities is known to have significant consequences in the well-studied (and somewhat analogous) area of brain tissue segmentation in T1-weighted MRI (e.g., (45, 46, 59)). Here we demonstrate its effects in hyperpolarized gas imaging quantification robustness in conjunction with noise considerations. In addition, the reference distribution required by linear binning assumes sufficient agreement as to what constitutes a “healthy control,” whether a Gaussian fit is appropriate, and, even assuming the latter, whether or not the parameter values can be combined in a linear fashion to constitute a single reference standard. Of additional concern, though, is that the requirement for a healthy cohort for determination of algorithmic parameters introduces a non-negligible source of measurement variance, as we will also demonstrate. Previous attempts at histogram standardization (50, 51) in light of MR intensity nonlinearities have relied on 1-D piecewise affine mappings between corresponding structural features found within the histograms themselves (e.g., peaks and valleys). For example, structural MRI, such as T1-weighted neuroimaging, utilizes the well-known relative intensities of major tissue types (i.e., cerebrospinal fluid (CSF), gray matter (GM), and white matter (WM)), which characteristically correspond to visible histogram peaks, as landmarks to determine the nonlinear intensity mapping between histograms. However, in hyperpolarized gas imaging of the lung, no such characteristic structural features exist, generally speaking, between histograms. This is most likely due to the primarily functional utility (vs. anatomical) nature of these images. The approach used by some groups (26, 52) of employing some variant of the well-known k-means algorithm as a clustering strategy (41) to minimize the within-class variance of its intensities can be viewed as an alternative optimization strategy for determining a nonlinear mapping between histograms for a type of MR intensity standardization. K-means constitutes an algorithmic approach with additional flexibility and sophistication over linear binning as it employs prior knowledge in the form of a generic clustering desideratum for optimizing a type of MR intensity standardization.1 Similar to k-means, fuzzy c-means seeks to minimize the within-class sample variance but includes a per-sample membership weighting (6). Later innovations included the incorporation of spatial considerations using class membership values of the local voxel neighborhood (5). Both k-means and fuzzy spatial c-means were compared for segmentation of hyperpolarized 3He and 129Xe images in (7) with the latter evidencing improved performance over the former which is due, at least in part, to the additional spatial considerations. Despite relatively good performance, however, fuzzy c-means also seeks cluster membership in the histogram (i.e., intensity-only) domain with only simplistic neighborhood modeling during optimization. Histogram-based optimization is used in conjunction with spatial considerations in the segmentation algorithm detailed in (64). This algorithm is based on a well-established iterative approach originally used for NASA satellite image processing and subsequently appropriated for brain tissue segmentation in (40). A Gaussian mixture model (GMM) is used to model the intensity clusters of the histogram with class modulation in the form of probabilistic voxelwise label considerations, i.e., Markov random field (MRF) modeling, within image neighborhoods (32) optimized with the expectation-maximization (EM) algorithm (31). This has the advantage, in contrast to histogram-only algorithms, that it softens the intensity thresholds between class labels which demonstrates robustness to certain imaging distortions, such as noise. However, as we will demonstrate, this algorithm is also flawed in the inherent assumption that meaningful structure is found, and can be adequately characterized, within the associated image histogram in order to optimize a multi-class labeling. In particular, this algorithm is susceptible to MR nonlinear intensity artefacts. Additionally, many of these segmentation algorithms use N4 bias correction (63), an extension of the nonuniform intensity normalization (N3) algorithm (60), to mitigate MR intensity inhomogeneity artefacts. Interestingly, N3/N4 also iteratively optimizes towards a final solution using information from both the histogram and image domains. Based on the intuition that the bias field acts as a smoothing convolution operation on the original image intensity histogram, N3/N4 optimizes a nonlinear (i.e., deformable) intensity mapping, based on histogram deconvolution. This nonlinear mapping is constrained such that its effects smoothly vary across the image. Additionally, due to the deconvolution operation, this nonlinear mapping sharpens the histogram peaks which presumably correspond to tissue types. While such assumptions are appropriate for the domain in which N3/N4 was developed (i.e., T1-weighted brain tissue segmentation) and while it is assumed that the enforcement of low-frequency modulation of the intensity mapping prevents new image features from being generated, it is not clear what effects N4 parameter choices have on the final segmentation solution, particularly for those algorithms that are limited to intensity-only considerations and not robust to the aforementioned MR intensity nonlinearities. ### 1.2 Motivation for current study Investigating the assumptions outlined above, particularly those associated with the nonlinear intensity mappings due to both the MR acquisition and inhomogeneity mitigation preprocessing, we became concerned by the susceptibility of the histogram structure to such variations and the potential effects on current clinical measures of interest derived from these algorithms (e.g., ventilation defect percentage). Figure 1 provides a sample visualization representing some of the structural changes that we observed when simulating these nonlinear mappings. It is important to notice that even relatively small alterations in the image intensities can have significant effects on the histogram even though a visual assessment of the image can remain largely unchanged. ![Figure 1:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F1.medium.gif) [Figure 1:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F1) Figure 1: Illustration of the effect of MR nonlinear intensity warping on the histogram structure. We simulate these mappings by perturbing specified points along the bins of the histograms by a Gaussian random variable of 0 mean and specified max standard deviation (“Max SD”). By simulating these types of intensity changes, we can visualize the effects on the underlying intensity histograms and investigate the effects on salient outcome measures. Here we simulate intensity mappings which, although relatively small, can have a significant effect on the histogram structure. To briefly explore these effects further for the purposes of motivating additional experimentation, we provide a summary illustration from a set of image simulations in Figure 2 which are detailed later in this work and used for algorithmic comparison. Simulated MR artefacts were applied to each image which included both noise and nonlinear intensity mappings (and their combination) using two separate data sets: one in-house data set consisting of 51 129Xe gas lung images and the publicly available data described in (3) and made available at Harvard’s Dataverse online repository (2) consisting of 29 hyperpolarized gas lung images. These two data sets resulted in a total simulated cohort of 51 + 29 = 80 images (×10 simulations per image ×3 types of artefact simulations). Prior to any algorithmic comparative analysis, we quantified the difference of each simulated image with the corresponding original image using the structural similarity index measurement (SSIM) (25). SSIM is a highly cited measure which quantifies structural differences between a reference and distorted (i.e., transformed) image based on known properties of the human visual system. SSIM has a range [−1, 1] where 0 indicates no structural similarity and 1 indicates perfect structural similarity. We also generated the histograms corresponding to these images. Although several histogram similarity measures exist, we chose Pearson’s correlation primarily as it resides in the same min/max range as SSIM with analogous significance. In addition to the fact that the image-to-histogram transformation discards important spatial information, from Figure 2 it should be apparent that this transformation also results in greater variance in the resulting information under common MR imaging artefacts, according to these measures. Thus, prior to any algorithmic considerations, these observations point to the fact that optimizing in the domain of the histogram will be generally less informative and less robust than optimizing directly in the image domain. ![Figure 2:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F2.medium.gif) [Figure 2:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F2) Figure 2: Multi-site: (left) University of Virginia (UVa) and (right) Harvard Dataverse 129Xe data. Image-based SSIM vs. histogram-based Pearson’s correlation differences under distortions induced by the common MR artefacts of noise and intensity nonlinearities. For the nonlinearity-only simulations, the images maintain their structural integrity as the SSIM values remain close to 1. This is in contrast to the corresponding range in histogram similarity which is much larger. Although not as great, the range in histogram differences with simulated noise is much greater than the range in SSIM. Both sets of observations are evidence of the lack of robustness to distortions in the histogram domain in comparison with the original image domain. Ultimately, we are not claiming that these algorithms are erroneous, per se. Much of the relevant research has been limited to quantifying differences with respect to ventilation versus non-ventilation in various clinical categories and these algorithms have certainly demonstrated the capacity for advancing such research. Furthermore, as the sample segmentations in Figure 3 illustrate, when considered qualitatively, each segmentation algorithm appears to produce a reasonable segmentation even though the voxelwise differences are significant (as are the corresponding histograms). However, the aforementioned artefact issues influence quantitation in terms of core scientific measurement principles such as precision (e.g., reproducibility and repeatability (8, 30)) and bias which are obscured in isolated considerations but become increasingly significant with multi-site (24) and large-scale studies. In addition, generally speaking, refinements in measuring capabilities correlate with scientific advancement so as acquisition and analysis methodologies improve, so should the level of sophistication and performance of the underlying measurement tools. ![Figure 3:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F3.medium.gif) [Figure 3:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F3) Figure 3: Illustration of sample segmentations produced by the four algorithms described above (i.e., linear binning, hierarchical k-means, spatial fuzzy c-means, and GMM-MRF) and the deep learning algorithm (“El Bicho”) described below on a single cystic fibrosis subject. Also included are the corresponding segmentation histograms. Although quite disparate in the actual labeling of the lung and resulting histogram, each algorithm produces a reasonable parcellation. In assessing these segmentation algorithms for hyperpolarized gas imaging, it is important to note that human expertise leverages more than relative intensity values to identify salient, clinically relevant features in images—something more akin to the complex structure of deep-layered neural networks (29), particularly convolutional neural networks (CNN). Such models have demonstrated outstanding performance in certain computational tasks, including classification and semantic segmentation in medical imaging (28). Their potential for leveraging spatial information from images surpasses the perceptual capabilities of previous approaches and even rivals that of human raters (58). Importantly, CNN optimization occurs directly in the image space to learn complex spatial features, in contrast to the previously discussed methods where optimization (primarily) concerns image intensity only information. We introduced a deep learning approach in (56) and further expand on that work for comparison with existing approaches below. Although we find its performance to be quite promising, more fundamental to this work than the network itself is simply pointing to the general potential associated with deep learning for analyzing hyperpolarized gas images *as spatial samplings of real-world objects*, as opposed to lossy representations of such objects. In the spirit of open science, we have made the entire evaluation framework, including our novel contributions, available within the Advanced Normalization Tools software ecosystem (ANTsX) (39). ## 2 Materials and methods ### 2.1 Hyperpolarized gas imaging acquisition #### 2.1.1 University of Virginia cohort A retrospective dataset was collected consisting of young healthy (*n* = 10), older healthy (*n* = 7), cystic fibrosis (CF) (*n* = 14), interstitial lung disease (ILD) (*n* = 10), and chronic obstructive pulmonary disease (*n* = 10). MR imaging with hyperpolarized 129Xe gas was performed under an Institutional Review Board (IRB) approved protocol with written informed consent obtained from each subject. In addition, all imaging was performed under a Food and Drug Administration (FDA) approved physician’s Investigational New Drug application. MRI data were acquired on a 1.5 T whole-body MRI scanner (Siemens Avanto, Siemens Medical Solutions, Malvern, PA) with broadband capabilities and a flexible 129Xe chest radiofrequency coil (RF; IGC Medical Advances, Milwaukee, WI; or Clinical MR Solutions, Brookfield, WI). During a ≤ 10 breath-hold following the inhalation of ≈ 1000 mL of hyperpolarized 129Xe mixed with nitrogen up to a volume equal to 1/3 forced vital capacity (FVC) of the respective subject, a set of 15-17 contiguous coronal lung slices were collected in order to cover the entire lungs. Parameters of the gradient echo (GRE) sequence with a spiral k-space sampling with 12 interleaves for 129Xe MRI were as follows: repetition time msec / echo time msec, 7/1; flip angle, 20°; matrix, 128 × 128: in-plane voxel size, 4 × 4 mm; section slice thickness, 15 mm; and intersection gap, none. The data were deidentified prior to analysis. #### 2.1.2 Harvard Dataverse cohort In addition to these data acquired at the University of Virginia, we also processed a publicly available lung dataset (2) available at the Harvard Dataverse and detailed in (3). These data comprised the original 129Xe acquisitions from 29 subjects (10 healthy controls and 19 mild intermittent asthmatic individuals) with corresponding lung masks. In addition, seven artificially SNR-degraded images per acquisition were also included but not used for the analyses reported below. The image headers were corrected for proper canonical anatomical orientation according to Nifti standards and uploaded to the GitHub repository associated with this work. ### 2.2 Algorithmic implementations In support of the discussion in the Introduction, we performed various experiments to compare the algorithms described previously, viz. linear binning (54), hierarchical k-means (52), fuzzy spatial c-means (7), GMM-MRF (specifically, ANTs-based Atropos tailored for functional lung imaging) (64), and a trained CNN with roots in our earlier work (56), which we have dubbed “El Bicho.”2 A fair and accurate comparison between algorithms necessitates several considerations which have been outlined previously (65). In designing the evaluation study: * All algorithms and evaluation scripts have been implemented using open-source tools by the first author. The linear binning and hierarchical k-means algorithms were recreated using existing R functionality. These have been made available as part of the GitHub repository corresponding to this work.3 Similarly, N4, fuzzy spatial c-means, Atropos-based lung segmentation, and the trained CNN approach are all available through ANTsR/ANTsRNet: ANTsR::n4BiasFieldCorrection, ANTsR::fuzzySpatialCMeansSegmentation, ANTsR::functionalLungSegmentation, and ANTsRNet::elBicho, respectively. Python versions are also available through ANTsPy/ANTsPyNet. The trained weights for the CNN are publicly available and are automatically downloaded when running the program. * The University of Virginia imaging data used for the evaluation is available upon request and through a data sharing agreement. In addition to the citation providing the online location of the original Harvard Dataverse data, a header-modified version of these data is available in the GitHub repository associated with this manuscript. Additional evaluation plots have also been made available. * An extremely important algorithmic hyperparameter is the number of ventilation clusters. In order to minimize differences in our set of evaluations, we merged the number of resulting clusters, post-optimization, to only three clusters: “ventilation defect,” “hypo-ventilation,” and “other ventilation” where the first two clusters for each output are the same as the original implementations and the remaining clusters are merged into a third category. It is important to note that none of the evaluations use these categorical definitions in a cross-algorithmic fashion. They are only used to assess within-algorithm consistency. * A significant issue was whether or not to use the N4 bias correction algorithm as a preprocessing step. We ultimately decided to include it for two reasons.4 First, it is explicitly used in multiple algorithms (e.g., (8, 18, 42, 54, 64)) despite the issues raised previously due to the fact that it qualitatively improves image appearance.5 Another practical consideration for N4 preprocessing was due to the parameters of the reference distribution required by the linear binning algorithm. Additional details are provided in the Results section. ### 2.3 Introduction of the image-based “El Bicho” network We extended the deep learning functionality first described in (56) to improve performance and provide a more clinically granular labeling (i.e., four clusters instead of two). In addition, further modifications incorporated additional data during training, added attention gating (36) to the U-net network (57) along with recommended hyperparameters (38), and a novel data augmentation strategy. #### 2.3.1 Network training “El Bicho” is a 2-D U-net network which was trained with several parameters recommended by recent exploratory work (38). The images are sufficiently small such that 3-D training is possible. However, given the large voxel anisotropy for much of our data (both coronal and axial), we found a 2-D approach to be sufficient. Nevertheless, a 2.5-D approach is an optional way to run the code for isotropic data where network prediction can occur in more than one slice direction and the results subsequently averaged. Four total network layers were employed with 32 filters at the base layer which was doubled at each subsequent layer. Multiple training runs were performed where initial runs employed categorical cross entropy as the loss function. Upon convergence, training continued with the multi-label Dice function (37) ![Formula][1] where *S**r* and *T**r* refer to the source and target regions, respectively. Training data (using an 80/20—training/testing split) was composed of the ventilation image, lung mask, and corresponding ventilation-based parcellation. The lung parcellation comprised four labels based on the Atropos ventilation-based segmentation (64). Six clusters were used to create the training data and combined to four for training the CNN. In using this GMM-MRF algorithm (which is the only one to use spatial information in the form of the MRF prior), we attempt to bootstrap a superior network-based segmentation approach by using the encoder-decoder structure of the U-net architecture as a dimensionality reduction technique. None of the evaluation data used in this work were used as training data. Responses from two subjects at the last layer of the network (with *n* = 32 filters) are illustrated in Figure 5. ![Figure 4:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F4.medium.gif) [Figure 4:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F4) Figure 4: Custom data augmentation strategies for training to force a solution which focuses on the underlying ventilation-based lung structure. (b) Nonlinear intensity warping based on smoothly varying perturbations of the image histogram. (c) Additive Gaussian noise included for increasing the robustness of the segmentation network. ![Figure 5:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F5.medium.gif) [Figure 5:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F5) Figure 5: Optimized feature responses from both the encoding and decoding branches of the U-net network generated from a (top) young healthy subject and (bottom) CF patient. Note that these are optimized responses which take advantage of both the intensities and their spatial relationships. A total of five random slices per image were selected in the acquisition direction (both axial and coronal) for inclusion within a given batch (batch size = 128 slices). Prior to slice extraction, both random noise and randomly-generated, nonlinear intensity warping was added to the 3-D image (see Figure 4) using ANTsR/ANTsRNet functions (ANTsR::addNoiseToImage, and ANTsRNet::histogramWarpImageIntensities) with analogs in ANTsPy/ANTsPyNet. 3-D images were intensity normalized to have 0 mean and unit standard deviation. The noise model was additive Gaussian with 0 mean and a randomly chosen standard deviation value between [0, 0.3]. Histogram-based intensity warping used the default parameters. These data augmentation parameters were chosen to provide realistic but potentially difficult cases for training. In terms of hardware, all training was done on a DGX (GPUs: 4X Tesla V100, system memory: 256 GB LRDIMM DDR4). #### 2.3.2 Pipeline processing An example R-based code snippet is provided in Listing 1 demonstrating how to process a single ventilation image using ANTsRNet::elBicho. If a simultaneous proton image has been acquired, ANTsRNet::lungExtraction can be used to generate the requisite lung mask input. As mentioned previously, by default the prediction occurs slice-by-slice along the direction of anisotropy. Alternatively, prediction can be performed in all three canonical directions and averaged to produce the final solution. ![Figure6](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F6.medium.gif) [Figure6](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F6) Listing 1: ANTsR/ANTsRNet command calls for processing a single ventilation image using El Bicho. ## 3 Results We performed several comparative evaluations to probe the previously mentioned algorithmic issues which are broadly categorized in terms of measurement bias and precision, with most of the focus being on the latter. Given the lack of ground-truth in the form of segmentation images, addressing issues of measurement bias is difficult. In addition to the fact that the number of ventilation clusters is not consistent across algorithms, it is not clear that the ventilation categories across algorithms have identical clinical definition. This prevents application of various frameworks accommodating the lack of ground-truth for segmentation performance analysis (e.g., (27)) to these data. As we mentioned in the Introduction, all the algorithms have demonstrated research utility and potential clinical utility based on findings using derived measures. This is supported by our first evaluation which is based on diagnostic prediction of given clinical categories assigned to the imaging cohort using derived random forest models (21). This approach also provides an additional check on the validity of the algorithmic implementations. However, it is important to recognize that this evaluation is extremely limited as the underlying data are gross measures which do not provide accuracy estimates on the level of the algorithmic output (i.e., voxelwise segmentation). Having established the general validity of the gross algorithmic output, we then switch to our primary focus which is the comparison of measurement precision between algorithms. We first analyzed the unique requirement of a reference distribution for the linear binning algorithm. The latter is motivated qualitatively through the analogous application of T1-weighted brain MR segmentation. This component is strictly qualitative as the visual evidence and previous developmental history within that field should be sufficiently compelling in motivating subsequent quantitative exploration with hyperpolarized gas lung imaging. These qualitative results segue to quantification of the effects of the choice of reference cohort on the clustering parameters for the linear binning algorithm. We then incorporated the trained El Bicho model in exploring additional aspects of measurement variance based on simulating both MR noise and intensity nonlinearities. So, in summary, we performed the following evaluations/experiments:6 * Global algorithmic bias (in the absence of ground truth) * - Diagnostic prediction * Voxelwise algorithmic precision * - Three-tissue T1-weighted brain MRI segmentation (qualitative analog) * - Input/output variance based on reference distribution (linear binning only) * - Effects of simulated MR artefacts on multi-site data ### 3.1 Diagnostic prediction Due to the absence of ground-truth, we adopted the strategy from previous work (20, 39) where we used cross-validation to build and compare prediction models from data derived from the set of segmentation algorithms. Specifically, we use pathology diagnosis (i.e., “CF,” “COPD,” and “ILD”) as an established research-based correlate of ventilation levels from hyperpolarized gas imaging (e.g., (17–19)) and quantified the predictive capabilities of corresponding binary random forest classifiers (21) of the form: ![Formula][2] where *V olume**i* is the volume of the *i**th* cluster and *T otal volume* is total lung volume. We used a training/testing split of 80/20. Due to the small number of subjects, we combined the young and old healthy data into a single category. 100 permutations were used where training/testing data were randomly assigned and the corresponding random forest model was constructed at each permutation. The resulting receiver operating characteristic (ROC) curves for each algorithm and each diagnostic scenario are provided in Figure 6. In addition, we provide the summary area under the ROC curve (AUC) values in Table 1. In the absence of ground truth, this type of evaluation does provide evidence that all these algorithms produce measurements which are clinically relevant although, it should be noted, that this is a very coarse assessment strategy given the global measures used (i.e., cluster volume percentage) and the general clinical categories employed. In fact, even spirometry measures can be used to achieve highly accurate diagnostic predictions with machine learning techniques (22). View this table: [Table 1:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/T1) Table 1: AUC values describing the algorithmic performance for each set of binary classification simulations: CF vs. Healthy, COPD vs. Healthy, and ILD vs. Healthy. All four algorithms perform significantly better than a random classifier. ![Figure 6:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F7.medium.gif) [Figure 6:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F7) Figure 6: ROC curves resulting from the diagnostic prediction evaluation strategy involving randomly permuted training/testing data sets and predictive random forest models. Summary values are provided in Table 1. ### 3.2 T1-weighted brain segmentation analogy Much of the quantitative image analysis strategies that have been used for hyperpolarized gas imaging draw on inspiration from fields with a much greater historical background of development, including T1-weighted brain MRI tissue segmentation. The depth of this development can be gauged simply by the number of technical reviews (e.g., (14–16)) and evaluation studies (e.g., (12, 13)) that date back decades. In addition to technical insight, this particular application provides a useful analogy for some of the algorithmic issues discussed and provides context for subsequent evaluations specific to hyperpolarized gas imaging. In the style of linear binning, we randomly selected ten structurally healthy controls from the publicly available SRPB data set (11) comprising over 1600 participants from 12 sites. After intensity truncation at the 0.99 quantile, we normalize the intensity histogram to [0,1]. Eight of these histograms are provided in the upper left of Figure 7. As we mentioned previously, the histograms for these structural MRI are typically characterized by three peaks which correspond to the CSF, GM, and WM. However, even when normalized to [0, 1] (i.e., global affine mapping), it is obvious that these histogram features do not line up and this is due to the intensity distortion caused by various MR acquisition artefacts mentioned previously. This is an argument from analogy against one of the principal assumptions of linear binning where it is assumed that tissue types (“structural” in the case of T1-weighted brain MRI or “ventilated” in the case of hyperpolarized gas imaging) can be sufficiently aligned with a global rescaling of intensity values. If we pursue this analogy further and use the aggregated reference distribution to segment a different subject, we can see that, in this particular case, whereas the optimization criterion leveraged by k-means and GMM-MRF provide an adequate segmentation, the misalignment in cluster boundaries yield a significant overestimation of the gray matter volume. ![Figure 7:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F8.medium.gif) [Figure 7:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F8) Figure 7: T1-weighted three-tissue brain segmentation analogy. Placing three of the five segmentation algorithms (i.e., linear binning, k-means, and GMM-MRF) in the context of brain tissue segmentation provides an alternative perspective for comparison. In the style of linear binning, we randomly select an image reference set using structurally normal individuals which is then used to create a reference histogram. (Bottom) For a subject to be processed, the resulting hard threshold values yield the linear binning segmentation solution as well as the initialization cluster values for both the k-means and GMM-MRF segmentations which are qualitatively different. ### 3.3 Effect of reference image set selection One of the additional input requirements for linear binning over the other algorithms is the generation of a reference distribution. In addition to the output measurement variation caused by choice of the reference image cohort, this played a role in determining whether or not to use N4 preprocessing. As mentioned, a significant portion of N4 processing involves the deconvolution of the image histogram to sharpen the histogram peaks which decreases the standard deviation of the intensity distribution and can also result in a histogram shift. Using the original set of 10 young healthy data with no N4 preprocessing, we created a reference distribution according to (54), which resulted in an approximate distribution of *𝒩* (0.45, 0.24). This produced 0 voxels being classified as belonging to Cluster 1 (Figure 9) because two standard deviations from the mean is less than 0 and Cluster 1 resides in the region below −2 standard deviations. However, using N4-preprocessed images produced something closer, *𝒩* (0.56, 0.22), to the published values, *𝒩* (0.52, 0.18), reported in (54), resulting in a non-empty set for that cluster. This is consistent, though, with linear binning which does use N4 bias correction for preprocessing. We also mention that the Harvard Dataverse images used were preprocessed using N4 (3) which provides a third reason for its use on the University of Virginia image dataset (to maximize cross cohort consistency). In the case of the former image set, we did use the previously reported linear binning mean and standard deviation algorithm parameter values (i.e., *𝒩* (0.52, 0.18)). This was the only parameter difference between analyzing the two image sets. ![Figure 8:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F9.medium.gif) [Figure 8:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F9) Figure 8: Ten young healthy subjects were combined to create two reference distributions, one based on the (a) original images and the other using (b) N4 preprocessing. Based on the generated mean and standard deviation of the aggregated samples, we label the resulting clusters in the respective histograms. Due to the lower mean and higher standard deviation of the original image set, Cluster 1 is not within the range of [0, 1] for the resulting reference distribution which motivated the use of the N4 preprocessed image set. ![Figure 9:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F10.medium.gif) [Figure 9:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F10) Figure 9: (Top) Variation of the mean (left) and standard deviation (right) over choice of reference set based on all different combinations of young healthy subjects per specified number of subjects. Although these parameters demonstrate convergence, there is still non-zero variation for any given set. (Bottom) This input variance is a source of output variance in the cluster volume plotted as the maximum range per subject as a percentage of total lung volume. We limit this exploration to reference sets with eight or nine images. The previous implications of the chosen image reference set also caused us to look at this choice as a potential source of both input and output variance in the measurements utilized and produced by linear binning. Regarding the former, we took all possible combinations of our young healthy control subject images and looked at the resulting mean and standard deviation values. As expected, there is significant variation for both mean and standard deviation values (see top portion of Figure 9) which are used to derive the cluster threshold values. This directly impacts output measurements such as ventilation defect percentage. For the reference sets comprising eight or nine images, we compute the corresponding linear binning segmentation and estimate the volumetric percentage for each cluster. Then, for each subject, we computed the min/max range for these values and plotted those results cluster-wise on the bottom of Figure 9. This demonstrates that the additional requirement of a reference distribution is a source of potentially significant measurement variation for the linear binning algorithm. ### 3.4 Effects of MR-based simulated image distortions As we mentioned in the Introduction, noise and nonlinear intensity artefacts common to MRI can have a significant distortion effect on the image with even greater effects seen with respect to change in the structure of the corresponding histogram. This final evaluation explores the effects of these artefacts on the algorithmic output on a voxelwise scale using the Dice metric (Equation (1)) which has a range of [0,1] where 1 signifies perfect agreement between the segmentations and 0 is no agreement. Ten simulated images for each of the subjects of both the University of Virginia and Harvard Dataverse cohort were generated for each of the three categories of randomly generated artefacts: noise, nonlinearities, and combined noise and intensity nonlinearites. The original image as well as the simulated images were segmented using each of the five algorithms. Following our earlier protocol, we maintained the original Clusters 1 and 2 per algorithm and combined the remaining clusters into a single third cluster. This allowed us to compare between algorithms and maintain separate those clusters which are the most studied and reported in the literature. The Dice metric was used to quantify the amount of deviation, per cluster, between the segmentation produced by the original image and the corresponding simulated distorted image segmentation which are plotted in Figures 10 and 11 (left column). These results were then compared, on a per-cluster and per-artefact basis, using a one-way ANOVA followed by Tukey’s Honest Significant Difference (HSD) test. 95% confidence intervals are provided in the right column of Figures 10 and 11. ![Figure 10:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F11.medium.gif) [Figure 10:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F11) Figure 10: University of Virginia image cohort: (Left) The deviation in resulting segmentation caused by distortions produced noise, histogram-based intensity nonlinearities, and their combination as measured by the Dice metric. Each segmentation is reduced to three labels for comparison: “ventilation defect” (Cluster 1), “hypo-ventilation” (Cluster 2), “other ventilation” (Cluster 3). (Right) Results from the Tukey Test following one-way ANOVA to compare the deviations. Higher positive values are indicative of increased robustness to simulated image distortions. ![Figure 11:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2021/03/21/2021.03.04.21252588/F12.medium.gif) [Figure 11:](http://medrxiv.org/content/early/2021/03/21/2021.03.04.21252588/F12) Figure 11: Harvard Dataverse image cohort: (Left) The deviation in resulting segmentation caused by distortions produced noise, histogram-based intensity nonlinearities, and their combination as measured by the Dice metric. Each segmentation is reduced to three labels for comparison: “ventilation defect” (Cluster 1), “hypo-ventilation” (Cluster 2), “other ventilation” (Cluster 3). (Right) Results from the Tukey Test following one-way ANOVA to compare the deviations. Higher positive values are indicative of increased robustness to simulated image distortions. ## 4 Discussion Over the past decade, multiple segmentation algorithms have been proposed for hyperpolarized gas images which, as we have pointed out, are all highly dependent on the image intensity histogram for optimization. All these algorithms use the histogram information *primarily* (with many using it *exclusively*) for optimization much to the detriment of algorithmic robustness and segmentation quality. This is due to the simple observation that these approaches discard a vital piece of information essential for image interpretation, i.e., the spatial relationships between voxel intensities. A brief summary of criticisms related to current algorithms is as follows: * In addition to completely discarding spatial information, linear binning is based on overly simplistic assumptions, especially given common MR artefacts. The additional requirement of a reference distribution, with its questionable assumption of Gaussianity and known distributional parameters for healthy controls, is also a potential source of output variance. * Both hierarchical and adaptive k-means also ignore spatial information and, although they do use a principled optimization criterion, this criterion is not adequately tailored for hyperpolarized gas imaging and is susceptible to various levels of noise. * Similar to k-means, spatial fuzzy c-means is optimized to minimize the within-class intensity variance but does incorporate spatial considerations which softens the hard threshold values and demonstrates improved robustness to noise. However, it is susceptible to variations caused by MR nonlinear intensity variation, similar to the GMM-MRF technique. * The GMM-MRF approach does employ spatial considerations in the form of Markov random fields but these are highly simplistic, based on prior modeling of local voxel neighborhoods which do not capture the complexity of ventilation defects/heterogeneity appearance in the images. Although the simplistic assumptions provide some robustness to noise, the highly variable histogram structure in the presence of MR nonlinearities can cause significant variation in the resulting GMM fitting. While simplifying the underlying complexity of the segmentation problem, all of these algorithms are deficient in leveraging the general modelling principle of incorporating as much available prior information to any solution method. In fact, this is a fundamental implication of the “No Free Lunch Theorem” (23)—algorithmic performance hinges on available prior information. As illustrated in Figure 2, measures based on the human visual system seem to quantify what is understood intuitively that image domain information is much more robust than histogram domain information in the presence of image transformations, such as distortions. This appears to also be supported in our simulation experiments illustrated in Figure 10 and 11 where the histogram-based algorithms, overall, performed worse than El Bicho. As a CNN, El Bicho optimizes the governing network weights over image features as opposed to strictly relative intensities. This work should motivate additional exploration focusing on issues related to algorithmic bias on a voxelwise scale which would require going beyond simple globally based assessment measures (such as the diagnostic prediction evaluation detailed above using global volume proportions). This would enable investigating differentiating spatial patterns within the images as evidence of disease and/or growth and correlations with non-imaging data using sophisticated voxel-scale statistical techniques (e.g., similarity-driven multivariate linear reconstruction (1, 9)). It should be noted that El Bicho was developed in parallel with the writing of this manuscript merely to showcase the incredible potential that deep learning can have in the field of hyperpolarized gas imaging (as well as to update our earlier work (56)). We certainly recognize and expect that alternative deep learning strategies (e.g., hyperparameter choice, training data selection, data augmentation, etc.) would provide comparable and even superior performance to what was presented with El Bicho. However, that is precisely our motivation for presenting this work—deep learning, generally, presents a much better alternative than histogram approaches as network training directly takes place in the image (i.e., spatial) domain and not in a transformed space where key information has been discarded. Just as important, deep learning provides other avenues for research exploration and development. For example, given the relatively lower resolution of the acquisition image, exploration of the effects of deep learning-based super-resolution might prove worthy of application-specific investigation (10) (see, for example, ANTsRNet::mriSuperResolution). Also, with the same network software libraries, high-performing classification networks can be constructed and trained which might yield novel insights regarding image-based characterization of disease. One additional modification that we did not explore in this work, but is extremely important, is the confound caused by multi-site data which has yet to be explored in-depth. With neural networks, such confounds can be handled as part of the training process or as an explicit network modification. Either would be important to consider for future work. ## Data Availability The University of Virginia imaging data used for the evaluation is available upon request and through a data sharing agreement. In addition to the citation providing the online location of the original He 2019 Dataverse data, a header-modified version of these data is available in the GitHub repository associated with this manuscript. Additional evaluation plots are also available at this location. [https://github.com/ntustison/Histograms](https://github.com/ntustison/Histograms) ## Acknowledgments Support for the research reported in this work includes funding from the National Heart, Lung, and Blood Institute of the National Institutes of Health (R01HL133889). ## Footnotes * Add all co-authors * 1 The prior knowledge for histogram mapping is the general machine learning heuristic of clustering samples based on the minimizing within-class distance while simultaneously maximizing the between-class distance. In the case of k-means, this “distance” is the intensity variance. * 2 A software codename designating a work-in-progress simply based on a shared admiration between the first and last authors of Portuguese futebol. * 3 [https://github.com/ntustison/Histograms](https://github.com/ntustison/Histograms) * 4 For completeness, we did run the same experiments detailed below using the uncorrected UVa images (and the previously reported parameters for linear binning) and the results were similar. These results can be found in the GitHub repository associated with this work. * 5 This assessment is based on multiple conversations between the first author (as the co-developer of N4 and Atropos) and co-author Dr. Altes. * 6 It is important to note that, although these experiments provide supporting evidence, our principal contentions stand prior to these results and are based on the self-evidentiary observations mentioned in the Introduction. * Received March 4, 2021. * Revision received March 19, 2021. * Accepted March 21, 2021. * © 2021, Posted by Cold Spring Harbor Laboratory This pre-print is available under a Creative Commons License (Attribution 4.0 International), CC BY 4.0, as described at [http://creativecommons.org/licenses/by/4.0/](http://creativecommons.org/licenses/by/4.0/) ## References 1. 1.Avants BB, Tustison NJ, Stone JR: Similarity-driven multi-view embeddings from high-dimensional biomedical data. Nature Computational Science 2021. 2. 2.He M, Zha W, Tan F, Rankine L, Fain S, Driehuys B: SNR-degraded 129Xe ventilation MRI for the comparison of quantification methods. 2018. 3. 3.He M, Zha W, Tan F, Rankine L, Fain S, Driehuys B: A comparison of two hyperpolarized 129Xe MRI ventilation quantification pipelines: The effect of signal to noise ratio. Acad Radiol 2019; 26:949–959. 4. 4.Ray N, Acton ST, Altes T, Lange EE de, Brookeman JR: Merging parametric active contours within homogeneous image regions for MRI-based lung segmentation. IEEE Trans Med Imaging 2003; 22:189–99. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/TMI.2002.808354&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=12715995&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 5. 5.Chuang K-S, Tzeng H-L, Chen S, Wu J, Chen T-J: Fuzzy c-means clustering with spatial information for image segmentation. Comput Med Imaging Graph 2006; 30:9–15. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.compmedimag.2005.10.001&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=16361080&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 6. 6.Bezdek JC: Pattern Recognition with Fuzzy Objective Function Algorithms. New York: Plenum Press; 1981. 7. 7.Hughes PJC, Horn FC, Collier GJ, Biancardi A, Marshall H, Wild JM: Spatial fuzzy c-means thresholding for semiautomated calculation of percentage lung ventilated volume from hyperpolarized gas and 1 h MRI. J Magn Reson Imaging 2018; 47:640–646. 8. 8.Zha W, Niles DJ, Kruger SJ, et al: Semiautomated ventilation defect quantification in exercise-induced bronchoconstriction using hyperpolarized helium-3 magnetic resonance imaging: A repeatability study. Acad Radiol 2016; 23:1104–14. 9. 9.Stone JR, Avants BB, Tustison NJ, et al: Functional and structural neuroimaging correlates of repetitive low-level blast exposure in career breachers. J Neurotrauma 2020; 37:2468–2481. 10. 10.Li Y, Sixou B, Peyrin F: A review of the deep learning methods for medical images super resolution problems. IRBM 2020. 11. 11.[https://bicr-resource.atr.jp/srpbs1600/](https://bicr-resource.atr.jp/srpbs1600/). 12. 12. Boer R de, Vrooman HA, Ikram MA, et al: Accuracy and reproducibility study of automatic MRI brain tissue segmentation methods. Neuroimage 2010; 51:1047–56. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.neuroimage.2010.03.012&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=20226258&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 13. 13.Cuadra MB, Cammoun L, Butz T, Cuisenaire O, Thiran J-P: Comparison and validation of tissue modelization and statistical classification methods in T1-weighted MR brain images. IEEE Trans Med Imaging 2005; 24:1548–65. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/TMI.2005.857652&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=16350916&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000233779000003&link_type=ISI) 14. 14.Despotovic I, Goossens B, Philips W: MRI segmentation of the human brain: Challenges, methods, and applications. Comput Math Methods Med 2015; 2015:450341. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1155/2015/450341&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=25945121&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 15. 15.Pham DL, Xu C, Prince JL: Current methods in medical image segmentation. Annu Rev Biomed Eng 2000; 2:315–37. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1146/annurev.bioeng.2.1.315&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=11701515&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000089887400012&link_type=ISI) 16. 16.Bezdek JC, Hall LO, Clarke LP: Review of MR image segmentation techniques using pattern recognition. Med Phys 1993; 20:1033–48. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1118/1.597000&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=8413011&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=A1993LU09300010&link_type=ISI) 17. 17.Mammarappallil JG, Rankine L, Wild JM, Driehuys B: New developments in imaging idiopathic pulmonary fibrosis with hyperpolarized xenon magnetic resonance imaging. J Thorac Imaging 2019; 34:136–150. 18. 18.Santyr G, Kanhere N, Morgado F, Rayment JH, Ratjen F, Couch MJ: Hyperpolarized gas magnetic resonance imaging of pediatric cystic fibrosis lung disease. Acad Radiol 2019; 26:344–354. 19. 19.Myc L, Qing K, He M, et al: Characterisation of gas exchange in COPD with dissolved-phase hyperpolarised xenon-129 MRI. Thorax 2020. 20. 20.Tustison NJ, Cook PA, Klein A, et al: Large-scale evaluation of ANTs and FreeSurfer cortical thickness measurements. Neuroimage 2014; 99:166–79. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.neuroimage.2014.05.044&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=24879923&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000339860000018&link_type=ISI) 21. 21.Breiman L: Random forests. Machine Learning 2001; 45:5–32. 22. 22.Badnjevic A, Gurbeta L, Custovic E: An expert diagnostic system to automatically identify asthma and chronic obstructive pulmonary disease in clinical settings. Sci Rep 2018; 8:11645. 23. 23.Wolpert DH, Macready WG: No free lunch theorems for optimization. Trans Evol Comp 1997; 1:67–82. 24. 24.Couch MJ, Thomen R, Kanhere N, et al: A two-center analysis of hyperpolarized 129Xe lung MRI in stable pediatric cystic fibrosis: Potential as a biomarker for multi-site trials. J Cyst Fibros 2019; 18:728–733. 25. 25.Wang Z, Bovik AC, Sheikh HR, Simoncelli EP: Image quality assessment: From error visibility to structural similarity. IEEE Trans Image Process 2004; 13:600–12. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/TIP.2003.819861&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=15376593&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000220784600014&link_type=ISI) 26. 26.Cooley B, Acton S, Salemo M, et al: Automated scoring of hyperpolarized helium-3 MR lung ventilation images: Initial development and validation. In Proc intl soc mag reson med; 2002. 27. 27.Warfield SK, Zou KH, Wells WM: Simultaneous truth and performance level estimation (STAPLE): An algorithm for the validation of image segmentation. IEEE Trans Med Imaging 2004; 23:903–21. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/TMI.2004.828354&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=15250643&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000222428100013&link_type=ISI) 28. 28.Shen D, Wu G, Suk H-I: Deep learning in medical image analysis. Annu Rev Biomed Eng 2017; 19:221–248. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1146/annurev-bioeng-071516-044442&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=28301734&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 29. 29.LeCun Y, Bengio Y, Hinton G: Deep learning. Nature 2015; 521:436–44. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/nature14539&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=26017442&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 30. 30.Svenningsen S, McIntosh M, Ouriadov A, et al: Reproducibility of hyperpolarized 129Xe MRI ventilation defect percent in severe asthma to evaluate clinical trial feasibility. Acad Radiol 2020. 31. 31.Dempster AP, Laird NM, Rubin DB: Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society Series B (Methodological) 1977; 39:1–38. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/j.2517-6161.1977.tb01600.x&link_type=DOI) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=A1977DM46400001&link_type=ISI) 32. 32.Besag J: On the statistical analysis of dirty pictures. Journal of the Royal Statistical Society Series B (Methodological) 1986; 48:259–302. 33. 33.Thomen RP, Sheshadri A, Quirk JD, et al: Regional ventilation changes in severe asthma after bronchial thermoplasty with (3)He MR imaging and CT. Radiology 2015; 274:250–9. 34. 34.Kirby M, Svenningsen S, Owrangi A, et al: Hyperpolarized 3He and 129Xe MR imaging in healthy volunteers and patients with chronic obstructive pulmonary disease. Radiology 2012; 265:600–10. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1148/radiol.12120485&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=22952383&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000310508000034&link_type=ISI) 35. 35. Lange EE de, Mugler JP 3rd, Brookeman JR, et al: Lung air spaces: MR imaging evaluation with hyperpolarized 3He gas. Radiology 1999; 210:851–7. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1148/radiology.210.3.r99fe08851&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=10207491&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000078796500040&link_type=ISI) 36. 36.Schlemper J, Oktay O, Schaap M, et al: Attention gated networks: Learning to leverage salient regions in medical images. Med Image Anal 2019; 53:197–207. 37. 37.Crum WR, Camara O, Hill DLG: Generalized overlap measures for evaluation and validation in medical image analysis. IEEE Trans Med Imaging 2006; 25:1451–61. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/TMI.2006.880587&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=17117774&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000241805900006&link_type=ISI) 38. 38.Isensee F, Jaeger PF, Kohl SAA, Petersen J, Maier-Hein KH: nnU-Net: A self-configuring method for deep learning-based biomedical image segmentation. Nat Methods 2020. 39. 39.Tustison NJ, Cook PA, Holbrook AJ, et al: ANTsX: A dynamic ecosystem for quantitative biological and medical imaging. medRxiv 2021. 40. 40.Vannier MW, Butterfield RL, Jordan D, Murphy WA, Levitt RG, Gado M: Multispectral analysis of magnetic resonance images. Radiology 1985; 154:221–4. 41. 41.Hartigan J, Wang M: A k-means clustering algorithm. Applied Statistics 1979; 28:100–108. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.2307/2346830&link_type=DOI) 42. 42.Shammi UA, D’Alessandro MF, Altes T, et al: Comparison of hyperpolarized 3He and 129Xe MR imaging in cystic fibrosis patients. Acad Radiol 2021. 43. 43.Andersen AH: On the Rician distribution of noisy MRI data. Magn Reson Med 1996; 36:331–3. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=8843389&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 44. 44.Gudbjartsson H, Patz S: The Rician distribution of noisy MRI data. Magn Reson Med 1995; 34:910–4. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/mrm.1910340618&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=8598820&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=A1995TH39600017&link_type=ISI) 45. 45.Ashburner J, Friston KJ: Unified segmentation. Neuroimage 2005; 26:839–51. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.neuroimage.2005.02.018&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=15955494&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000230211100020&link_type=ISI) 46. 46.Avants BB, Tustison NJ, Wu J, Cook PA, Gee JC: An open source multivariate framework for n-tissue segmentation with evaluation on public data. Neuroinformatics 2011; 9:381–400. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s12021-011-9109-y&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=21373993&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000297150000006&link_type=ISI) 47. 47.Collewet G, Strzelecki M, Mariette F: Influence of MRI acquisition protocols and image intensity normalization methods on texture classification. Magn Reson Imaging 2004; 22:81–91. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.mri.2003.09.001&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=14972397&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 48. 48.Wendt RE 3rd: Automatic adjustment of contrast and brightness of magnetic resonance images. J Digit Imaging 1994; 7:95–7. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=8075191&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 49. 49.De Nunzio G, Cataldo R, Carlà A: Robust intensity standardization in brain magnetic resonance images. J Digit Imaging 2015; 28:727–37. 50. 50.Nyúl LG, Udupa JK, Zhang X: New variants of a method of MRI scale standardization. IEEE Trans Med Imaging 2000; 19:143–50. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/42.836373&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=10784285&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000086614000007&link_type=ISI) 51. 51.Nyúl LG, Udupa JK: On standardizing the MR image intensity scale. Magn Reson Med 1999; 42:1072–81. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/(SICI)1522-2594(199912)42:6<1072::AID-MRM11>3.0.CO;2-M&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=10571928&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 52. 52.Kirby M, Heydarian M, Svenningsen S, et al: Hyperpolarized 3He magnetic resonance functional imaging semiautomated segmentation. Acad Radiol 2012; 19:141–52. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.acra.2011.10.007&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=22104288&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 53. 53.He M, Wang Z, Rankine L, et al: Generalized linear binning to compare hyperpolarized 129Xe ventilation maps derived from 3D radial gas exchange versus dedicated multislice gradient echo MRI. Acad Radiol 2020; 27:e193–e203. 54. 54.He M, Driehuys B, Que LG, Huang Y-CT: Using hyperpolarized 129Xe MRI to quantify the pulmonary ventilation distribution. Acad Radiol 2016; 23:1521–1531. 55. 55.Woodhouse N, Wild JM, Paley MNJ, et al: Combined helium-3/proton magnetic resonance imaging measurement of ventilated lung volumes in smokers compared to never-smokers. J Magn Reson Imaging 2005; 21:365–9. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/jmri.20290&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=15779032&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000228029900007&link_type=ISI) 56. 56.Tustison NJ, Avants BB, Lin Z, et al: Convolutional neural networks with template-based data augmentation for functional lung image quantification. Acad Radiol 2019; 26:412–423. 57. 57.Falk T, Mai D, Bensch R, et al: U-net: Deep learning for cell counting, detection, and morphometry. Nat Methods 2019; 16:67–70. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/s41592-018-0261-2&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=http://www.n&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 58. 58.Zhang R, Isola P, Efros AA, Shechtman E, Wang O: The unreasonable effectiveness of deep features as a perceptual metric. In 2018 IEEE/CVF conference on computer vision and pattern recognition; 2018:586–595. 59. 59.Zhang Y, Brady M, Smith S: Segmentation of brain MR images through a hidden Markov random field model and the expectation-maximization algorithm. IEEE Trans Med Imaging 2001; 20:45–57. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/42.906424&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=11293691&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000167324900005&link_type=ISI) 60. 60.Sled JG, Zijdenbos AP, Evans AC: A nonparametric method for automatic correction of intensity nonuniformity in MRI data. IEEE Trans Med Imaging 1998; 17:87–97. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/42.668698&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=9617910&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000073646700008&link_type=ISI) 61. 61.Samee S, Altes T, Powers P, et al: Imaging the lungs in asthmatic patients by using hyperpolarized helium-3 magnetic resonance: Assessment of response to methacholine and exercise challenge. J Allergy Clin Immunol 2003; 111:1205–11. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1067/mai.2003.1544&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=12789218&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000183424700006&link_type=ISI) 62. 62.Altes TA, Powers PL, Knight-Scott J, et al: Hyperpolarized 3He MR lung ventilation imaging in asthmatics: Preliminary findings. J Magn Reson Imaging 2001; 13:378–84. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/jmri.1054&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=11241810&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000171296000008&link_type=ISI) 63. 63.Tustison NJ, Avants BB, Cook PA, et al: N4ITK: Improved N3 bias correction. IEEE Trans Med Imaging 2010; 29:1310–20. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1109/TMI.2010.2046908&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=20378467&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000278535800009&link_type=ISI) 64. 64.Tustison NJ, Avants BB, Flors L, et al: Ventilation-based segmentation of the lungs using hyperpolarized (3)he MRI. J Magn Reson Imaging 2011; 34:831–41. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/jmri.22738&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=21837781&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2021%2F03%2F21%2F2021.03.04.21252588.atom) 65. 65.Tustison NJ, Johnson HJ, Rohlfing T, et al: Instrumentation bias in the use and evaluation of scientific software: Recommendations for reproducible practices in the computational sciences. Front Neurosci 2013; 7:162. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.3389/fnins.2013.00162&link_type=DOI) [1]: /embed/graphic-4.gif [2]: /embed/graphic-8.gif