CardiacNET: Segmentation of Left Atrium and Proximal Pulmonary Veins from MRI Using Multi-View CNN
Anatomical and biophysical modeling of left atrium (LA) and proximal pulmonary veins (PPVs) is important for clinical management of several cardiac diseases. Magnetic resonance imaging (MRI) allows qualitative assessment of LA and PPVs through visualization. However, there is a strong need for an advanced image segmentation method to be applied to cardiac MRI for quantitative analysis of LA and PPVs. In this study, we address this unmet clinical need by exploring a new deep learning-based segmentation strategy for quantification of LA and PPVs with high accuracy and heightened efficiency. Our approach is based on a multi-view convolutional neural network (CNN) with an adaptive fusion strategy and a new loss function that allows fast and more accurate convergence of the backpropagation based optimization. After training our network from scratch by using more than 60K 2D MRI images (slices), we have evaluated our segmentation strategy to the STACOM 2013 cardiac segmentation challenge benchmark. Qualitative and quantitative evaluations, obtained from the segmentation challenge, indicate that the proposed method achieved the state-of-the-art sensitivity (90%), specificity (99%), precision (94%), and efficiency levels (10 seconds in GPU, and 7.5 minutes in CPU).
Atrial fibrillation (AF) is a cardiac arrhythmia caused by abnormal electrical discharges in the atrium, often beginning with hemodynamic and/or structural changes in the left atrium (LA) . AF is clinically associated with LA strain, and MRI is shown to be a promising imaging method for assessing the disease state and predicting adverse clinical outcomes. The LA also has an important role in patients with ventricular dysfunction as a booster pump to augment ventricular volume . Computed tomography (CT) imaging of the heart is frequently performed when managing AF and prior to pulmonary vein ablation (isolation) therapy due to its rapid processing time. In recent years, there is an increasing interest in shifting towards cardiac MRI due to its excellent soft tissue contrast properties and lack of radiation exposure. For pulmonary vein ablation therapy planning in AF, precise segmentation of the LA and PPVs is essential. However, this task is non-trivial because of multiple anatomical variations of LA and PPV.
Historically, statistical shape and atlas-based methods have been the state-of-the-art cardiac segmentation approaches due to their ability to handle large shape/appearance variations. One significant challenge for such approaches is their limited efficiency: an average of 50 minutes processing time per volume . Statistical shape models are faster than atlas-based methods, and a high degree uncertainties in the accuracy of such models is inevitable . To alleviate this problem and accomplish the segmentation of LA and PPVs from 3D cardiac MRI with high accuracy and efficiency, we propose to a new deep CNN. Our proposed method is fully automated, and largely different from previous methods of LA and PPVs segmentation. The summary of these differences and key novelties of the proposed method, named as CardiacNET, are listed as follows:
Training CNN from scratch for 3D cardiac MRI is not feasible with insufficient 3D training data (with ground truth) and limited computer memory. Instead, we parsed 3D data into 2D components (axial (A), sagittal (S), and coronal (C)), and utilized a separate deep learning architecture for each component. The proposed CardiacNET was trained using more than 60K 2D slices of cardiac MR images without relying on a pre-training network of non-medical data.
We have combined three CNN networks through an adaptive fusion mechanism where complementary information of each CNN was utilized to improve segmentation results. The proposed adaptive fusion mechanism is based on a new strategy; called robust region, which measures (roughly) the reliability of segmentation results without the need for ground truth.
We devised a new loss function in the proposed network, based on a modified z-loss, to provide fast convergence of network parameters. This not only improved segmentation results due to fast and reliable allocation of network parameters, but it also provided a significant acceleration of the segmentation process. The overall segmentation process for a given 3D cardiac MRI takes at most 10 seconds in GPU, and 7.5 minutes in CPU on a normal workstation.
2Proposed Multi-View Convolutional Neural Network (CNN) Architecture
The proposed pipeline for deep learning based segmentation of the LA and PPVs is summarized in Fig.1. We used the same CNN architecture for each view of the 3D cardiac MRI after parsing them into axial, sagittal, and coronal views. The rationale behind this decision is based on the limitation of computer memory and insufficient 3D data for training on 3D cardiac MRI from scratch. Instead, we reduced the computational burden of the CNN training by constraining the problem into a 2D domain. The resulting pixel-wise segmentations from each CNN are combined through an adaptive fusion strategy. The fusion operation was designed to maximize the information content from different views. The details of the pipeline are given in the following subsections.
Encoder-Decoder CNN: We constructed an encoder-decoder CNN architecture, similar to that of Noh et al. . The network includes 23 layers (11 in encoder, 12 in decoder units). Two max-pooling layers in encoder units reduce the image dimensions by half, and a total of 19 convolutional (9 in encoder, 10 in decoder), 18 batch normalization, and 18 ReLU (rectified linear unit) layers are used. Specific to the decoder unit, two upsampling layers are used to convert the images back into original sizes. Also, the kernel size of all filters are considered as . The final layer of the network includes a softmax function (logistic) for generating a probability score for each pixel. Details of these layers, and associated filter size and numbers are given in Fig.2.
Loss Function: We used a new loss function that can estimate the parameters of the proposed network at a much faster rate. We trained end-to-end mapping with a loss function softplus, called z-loss , where denotes output of the network, denotes the ground truth label, and indicate z-normalized label, obtained as where mean () and standard deviation are obtained from . z-loss is simply obtained with the reparametrization of soft-plus (SP) function (i.e., ) through two hyperparameters: and . Herein, we kept these hyperparameters fixed, and trained the network with a reduced z-loss function. The rationale behind this choice is the following: the z-loss function provides an efficient training performance as it belongs to spherical loss family, and it is invariant to scale and shift changes in the output, avoiding output parameters to deviate from extreme values.
Training CardiacNET from scratch: 3D cardiac MRI images along with its corresponding expert annotated ground truths were used to train the CNN after the images are parsed into three views (A, S, C). Data augmentation has been conducted on the training dataset with translation and rotation operation as indicated in Table 1. Obtained 3D images were parsed into A, S, and C views, and more than 60K 2D images were obtained to feed training of the CNN (approximately 30K for A and C views, around 11K for S view). As a preprocessing step, all images have undergone anisotropic smoothing filtering and histogram matching.
Multi-View Information Fusion. Since cardiac MRI is often not reconstructed with isotropic resolution, we expected varying segmentation accuracy in different views. In order to alleviate potential adverse effects caused by non-isotropic spatial resolutions of a particular view, it is desirable to reduce the contribution of that view into final segmentation. We have achieved this with the adaptive fusion strategy as described next. For a given MRI volume I, and its corresponding segmentation , we proposed a new strategy, called robust region, that roughly determined the reliability of the output segmentation by assessing its object distribution. To achieve this, we hypothesized that the output should include only one connected object when the segmentation is successful, and if there was more than a single connected object available, these can be considered as false positives. Accordingly, respective performance of segmentation performance in A, S, and C views can be compared and weighted. To this end, we utilized connected component analysis (CCA) to rank output segmentations and reduced the contribution of CNN for a particular view when false positive findings (non-trusted objects/components) were large and true positive findings (trusted object/component) were small. Fig.3 describes the adaptive fusion strategy as . Thus, the contribution of each view’s CNN was computed based on a weighting , indicating that higher weights were assigned when the component with largest volume dominated the whole output volume. Note that this block has been used only in the test phase. Complementary to this strategy, we also used simple linear fusion of each views for comparison (See Experimental Results section).
Thirty cardiac MRI data sets were provided by the STACOM 2013 challenge organizers . Ten training data were provided with ground truth labels, and the remaining twenty were provided as a test set. It is important to note that not the complete PVs are considered in the segmentation challenge, but only the proximal segments of the PVs up to the first branching vessel or after 10 mm from the vein ostium were included in the segmentation. MR images were obtained from a 1.5T Achieva (Philips Healtcare, The Neatherlands) scanner with an ECG-gated 3D balanced steady-state free precession acquisition  with TR/TE ms, and Flip-angle=. Typical acquisition time for the cardiac volume imaging was 10 minutes. In-plane resolution was recorded as 1.25 1.25 mm, slice thickness was measured as 2.7 mm. Further details on the data acquisition, and image properties can be found in .
Evaluations. For evaluation and comparison with other state-of-the-art method, we have used the same evaluation metrics, provided by the STACOM 2013 challenge: Dice index and surface-to-surface (S2S) metrics. In addition, we calculated Dice index and S2S for the LA and PPVs separately. To provide a comprehensive evaluation and comparisons, sensitivity (true positive rate), specificity (true negative rate), precision (positive prediction value), and Dice index values for the combined LA and PPVs were included too. Table 2 summarizes all these evaluation metrics along with efficiency comparisons where we tested our algorithm both in GPU and CPU. LTSI-VRG, UCL-1C, and UCL-4C are three atlas-based method which their output were published publicly as a part of STACOM 2013 challenge. Also, OBS-2 is the result from human observer which its output was available as a part of STACOM 2013 challenge. Using leave-one-out cross-validation strategy on training dataset, we achieved high sensitivity (0.92) and Dice value (0.93). Similarly, in almost all evaluation metrics in the test set, the proposed method out-performed the state-of-the-art approaches by large margins. Table 2 indicates the results of varying combinations using CardiacNET such as single CNN in particular view (i.e,. ), with simple linear fusion F-CNN, adaptive fusion AF-CNN, and with the new loss function AF-CNN-SP. In AF-CNN, the loss function was cross-entropy. The best method in the challenge data set was reported to have a Dice index of 0.94 for LA and 0.65 for PPVs (combined LA and PPVs was less than 0.9). In our proposed method, the Dice index for combined LA and PPVs was well above 0.90. For efficiency comparison, our approach only takes at most 10 seconds on a Nvidia TitanX GPU and 7.5 minutes in a CPU with Octa-core processor (2.4 GHz) configuration. The method in  required 30-45 minutes of processing times (with Quad-core processor (2.13 GHz)). For qualitative evaluation, we have used surface rendering of output segmentations compared to ground truth in Fig.4. Sample axial, sagittal, and coronal MRI slices are given in the same figure with ground truth annotations overlaid with the segmented LA and PPVs.
S2S(LA) in mm
S2S(PPVs) in mm
4Discussions and Concluding Remarks
The advantage of CardiacNET is accurate and efficient method for both LA and PPVs segmentation in atrial fibrillation patients: combined segmentation of the LA and PPVs. Precise segmentation of the LA and PPVs is needed for ablation therapy planning and clinical guidance in AF patients. PPVs have a greater number of anatomical variations than the LA-body, leading to challenges with accurate segmentation. Joint segmentation the LA and PPVs is even more challenging compared to sole LA-body segmentation. Nevertheless, with all available quantitative metrics, the proposed method has been shown to greatly improve the segmentation accuracy on the existing benchmark for LA and PPVs segmentation. The benchmark evaluation has also allowed the method and its variations to be cross-compared on the same dataset with other existing methods in literature.
Despite the efficacy of the proposed method, there are several possibilities that our work can be extended in future studies. Firstly, the new method will be tested, evaluated, and validated our in more diverse data sets from several independent cohorts, and at the different imaging resolution and noise levels, and even across different scanner vendors. Secondly, extending our framework into 4D (i.e motion) analysis of cardiac images can be possible by extending our parsing strategy. Thirdly, we aim to explore the feasibility of training completely 3D cardiac MRI based on the availability of multiple GPUs, or developing sparse CNNs to alleviate the segmentation problem. Fourthly, with low-dose cardiac CT technology on the rise; it is desirable to have similar network structure trained on CT scans. This notable efficacy of the deep learning strategies presented in this work promises a similar performance on CT scans.
In conclusion, the proposed method has utilized the strength of deeply trained CNN to segment LA and PPVs from cardiac MRI. We have shown combining information from different views of MRI by using an adaptive fusion strategy and a new loss function improves segmentation accuracy and efficiency significantly.
Acknowledgment: Thanks to Nvidia for donating a GPU for deep learning experiments. The experiments have been conducted using Tensorflow.
- “Left atrial strain and strain rate in patients with paroxysmal and persistent atrial fibrillation relationship to left atrial structural remodeling detected by delayed-enhancement mri,”
Suman S Kuppahally and et al., Circulation: Cardiovascular Imaging, vol. 3, no. 3, 2010.
- “Automatic segmentation of the left atrium on ct images,”
Abdelaziz Daoudi, Saïd Mahmoudi, and Mohammed Amine Chikh, in International Workshop on Statistical Atlases and Computational Models of the Heart. Springer, 2013, pp. 14–23.
- “Benchmark for algorithms segmenting the left atrium from 3d ct and mri datasets,”
Tobon-Gomez and et al., IEEE TMI, vol. 34, no. 7, 2015.
- “Model-based segmentation of the left atrium in ct and mri scans,”
Birgit Stender, Oliver Blanck, Bo Wang, and Alexander Schlaefer, in International Workshop on Statistical Atlases and Computational Models of the Heart. Springer, 2013.
- “Learning deconvolution network for semantic segmentation,”
Hyeonwoo Noh, Seunghoon Hong, and Bohyung Han, in Proceedings of the IEEE International Conference on Computer Vision, 2015, pp. 1520–1528.
- “The z-loss: a shift and scale invariant classification loss belonging to the spherical family,”
Alexandre de Brébisson and Pascal Vincent, arXiv preprint arXiv:1604.08859, 2016.
- “Multi-atlas propagation whole heart segmentation from mri and cta using a local normalised correlation coefficient criterion,”
Maria A Zuluaga and et al., in International Conference on Functional Imaging and Modeling of the Heart. Springer, 2013.