- 1Shanghai Key Laboratory of Magnetic Resonance, School of Physics and Electronic Science, East China Normal University, Shanghai, China
- 2Department of Radiology, Weill Medical College of Cornell University, New York, NY, United States
Background: Accurate delineation of the midbrain nuclei, the red nucleus (RN), substantia nigra (SN) and subthalamic nucleus (STN), is important in neuroimaging studies of neurodegenerative and other diseases. This study aims to segment midbrain structures in high-resolution susceptibility maps using a method based on a convolutional neural network (CNN).
Methods: The susceptibility maps of 75 subjects were acquired with a voxel size of 0.83 × 0.83 × 0.80 mm3 on a 3T MRI system to distinguish the RN, SN, and STN. A deeply supervised attention U-net was pre-trained with a dataset of 100 subjects containing susceptibility maps with a voxel size of 0.63 × 0.63 × 2.00 mm3 to provide initial weights for the target network. Five-fold cross-validation over the training cohort was used for all the models’ training and selection. The same test cohort was used for the final evaluation of all the models. Dice coefficients were used to assess spatial overlap agreement between manual delineations (ground truth) and automated segmentation. Volume and magnetic susceptibility values in the nuclei extracted with automated CNN delineation were compared to those extracted by manual tracing. Consistencies of volume and magnetic susceptibility values by different extraction strategies were assessed by Pearson correlation coefficients and Bland-Altman analyses.
Results: The automated CNN segmentation method achieved mean Dice scores of 0.903, 0.864, and 0.777 for the RN, SN, and STN, respectively. There were no significant differences between the achieved Dice scores and the inter-rater Dice scores (p > 0.05 for each nucleus). The overall volume and magnetic susceptibility values of the nuclei extracted by the automatic CNN method were significantly correlated with those by manual delineation (p < 0.01).
Conclusion: Midbrain structures can be precisely segmented in high-resolution susceptibility maps using a CNN-based method.
Introduction
The red nucleus (RN), substantia nigra (SN), and subthalamic nucleus (STN) are small ganglia located in the midbrain and of great importance in regulating motor control, cognition, and emotion (Boecker et al., 2008). Accurate segmentation in these structures is important for analyzing structural variations and iron concentration changes. Evaluation of morphological degeneration and iron deposition can aid clinicians in early detection and diagnosis of neurodegenerative diseases, including Alzheimer’s disease (AD), Parkinson’s disease (PD), and multiple sclerosis (MS) (Wang et al., 2017). In addition, precise delineation of the STN can provide effective clinical treatment assistance for PD patients requiring deep brain stimulation (DBS) surgery (Dimov et al., 2019).
Midbrain nuclei are typically manually segmented, which is extremely time-consuming and dependent on evaluator experience. Automated segmentation methods are advantageous for faster and more reproducible results. Current automated brain segmentation methods were developed using automated brain mapping from brain atlases, where the most commonly used atlases were based on T1 contrast (Lancaster et al., 2000). However, automatic segmentation using these atlases is challenging in deep gray matter nuclei of the midbrain due to its low T1 contrast (Xiao et al., 2014). Although the RN, SN and STN appear to be moderately hypointense on T2-weighted (T2w) images due to iron deposition, clinical T2w images on 3T or 1.5T systems do not differentiate the STN from the adjacent SN (Xiao et al., 2014). Direct visualization of the STN may require ultrahigh-field-strength scanners, such as 7T (Schafer et al., 2012; Kim et al., 2019), which are not widely used in clinical practice.
Quantitative susceptibility mapping (QSM) can obtain in vivo tissue magnetic susceptibility distribution by using gradient echo phase images (de Rochefort et al., 2010). QSM provides an excellent contrast in deep gray matter regions because these structures are characterized by their high paramagnetic iron content, and are therefore clearly visible and easily distinguishable in susceptibility maps (Liu et al., 2010, 2013a; Haacke et al., 2015; Wang and Liu, 2015). The susceptibility maps yield a superior contrast-to-noise ratio in the depiction of the STN when compared with T2w images, and the true ellipsoidal shape of the STN is reliably reflected, which permits its distinction from the SN (Liu et al., 2013a). Combining magnetic susceptibility and T1 contrast in a multi-atlas approach yielded improved accuracy and reliability for automated segmentation because it can potentially model a greater amount of anatomical variability (Garzon et al., 2018; Li et al., 2019). However, existing multi-atlas approaches based on QSM cannot discriminate the STN from the SN, due to the low spatial resolution of the acquired images, or challenges in multiple registrations when aligning atlases to the target images.
In recent years, convolutional neural network (CNN) has been successfully applied to the segmentation of brain tissue, tumor and MS lesions (Brosch et al., 2016; Havaei et al., 2017). CNN has also been used in segmenting sub-cortical brain structures in traditional T1-weighted MRI (Dolz et al., 2018). Deep learning approaches achieved better overall performance in automated segmentation of subcortical brain structures, compared with atlas-based approaches and algorithmic approaches (Pagnozzi et al., 2019; Beliveau et al., 2021). To overcome the issue that CNN-based methods require large training datasets, the transfer learning can be applied, where a network pre-trained with a much larger dataset is used to initialize the target network weights, significantly reducing the demand of training data and training time for the target network (Pan and Yang, 2009; Xu et al., 2017). Transfer learning has been used in medical image segmentation and achieved good results in segmenting brain tissue (Ataloglou et al., 2019). To our knowledge, no study explored the potential of the CNN model for segmenting midbrain structures in susceptibility maps.
The purpose of this study was to segment three midbrain nuclei, the RN, SN, and STN, by taking advantage of the high-resolution susceptibility maps and CNN. The high-resolution susceptibility maps were acquired with a nearly isotropic voxel size of 0.83 × 0.83 × 0.80 mm3 for precise characterization of the midbrain nuclei. A deeply supervised attention U-net with the transfer learning algorithm was applied to obtain the segmentation results. The Dice coefficients between the results with the automated segmentation method and the manual ground truth were calculated to evaluate the performance of automatic segmentation. Furthermore, the volume and magnetic susceptibility values in the nuclei extracted with automated CNN delineation were also compared with those obtained by manual tracing.
Materials and Methods
Datasets
Quantitative susceptibility mapping from 100 subjects (53 males and 47 females; mean age = 43.7 ± 15.6 years) with a voxel size of 0.63 × 0.63 × 2.0 mm3 from a previous study (Li et al., 2018) were used as the source dataset to pre-train the network, and QSM data with a voxel size of 0.83 × 0.83 × 0.80 mm3 from a new cohort of 75 subjects (40 male and 35 female; mean age = 33.7 ± 13.4 years) were used as the target dataset. This study was approved by the local institutional review board and written informed consents were obtained from all participants.
All participants in the source dataset were scanned on a clinical 3T MR imaging system (Trio Tim, Siemens Healthcare, Erlangen, Germany) equipped with a 12-channel head matrix coil. Susceptibility maps were generated from the 3D spoiled unipolar-readout multi-echo GRE sequence acquired in the axial plane with the following imaging parameters: repetition time (TR) = 60 ms, first echo time (TE1) = 6.8 ms, echo spacing (ΔTE) = 6.8 ms, number of echoes = 8, flip angle = 15°, field of view (FOV) = 240 × 180 mm2, matrix size = 384 × 288, slice thickness = 2 mm, number of slices = 96, voxel size = 0.63 × 0.63 × 2.00 mm3, scan time = 7 min 52 s. A generalized auto-calibrating partially parallel acquisition (GRAPPA) with an acceleration factor of 2 in the right-left direction and elliptical sampling were used to reduce acquisition time.
All subjects in the target dataset were scanned on another 3T MRI scanner (Prisma Fit, Siemens Healthcare, Erlangen, Germany) equipped with a 20-channel head coil. Susceptibility maps were generated from a 3D spoiled bipolar-readout multi-echo GRE sequence with the following parameters: TR = 31 ms, TE1 = 4.07 ms, ΔTE = 4.35 ms, number of echoes = 6, flip angle = 12°, FOV = 240 × 200 mm2, matrix size = 288 × 240, slice thickness = 0.8 mm, number of slices = 192, parallel imaging acceleration factor = 2, voxel size = 0.83 × 0.83 × 0.80 mm3, scan time = 7 min 22 s. Images were acquired in the oblique-axial plane parallel to the anterior commissure–posterior commissure line (AC–PC line).
During scanning, foam pads were placed around each subject’s head to minimize head motion.
Quantitative Susceptibility Mapping Reconstruction
Susceptibility maps were reconstructed using the Morphology Enabled Dipole Inversion (MEDI) toolbox1. A brain extraction tool (BET) was first used to segment the brain tissue from the magnitude images. Then, the phase shift of even echoes induced by the gradient delay and eddy current was estimated and corrected for the data in the target domain (Li et al., 2015). The field map was estimated by performing a one-dimensional temporal unwrapping of the phase on each voxel followed by a nonlinear least-squares fit of the temporally unwrapped phases in each voxel over TE (Liu et al., 2013b). To address frequency aliasing on the field map, a Laplacian-based unwrapping algorithm was applied (Schofield and Zhu, 2003). The tissue field was separated from the background field by applying a projection onto dipole fields procedure (PDF) (Liu et al., 2011). Susceptibility maps were calculated by MEDI with automatic uniform cerebrospinal fluid zero reference (MEDI + 0) (Liu et al., 2018).
Manual Tracing
For the source dataset, the SN and STN were delineated as a whole in the axial view (Figure 1A), because there was no clear boundary between the SN and STN, even in the coronal view (Figure 1B). But for the target dataset with an approximate isotropic voxel size of 0.83 × 0.83 × 0.80 mm3, the true ellipsoidal shape of the STN was reliably distinguished from the SN in the coronal view (Figure 2B). Therefore, the RN, SN, and STN were delineated in the coronal view (Figure 2). A rater (6 years of neuroimaging experience), who was blinded to subject demographics, manually drew regions of interest (ROIs) on the susceptibility maps. Another rater (4 years of neuroimaging experience) manually drew the ROIs in the test cohort of the target domain. ROIs covered each bilateral structure on all sections where the deep nuclei were visible. Manual tracing was performed using ITK-SNAP software2.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/801618/fnins-16-801618-HTML/image_m/fnins-16-801618-g001.jpg)
Figure 1. Representative images and labels of midbrain structures in axial (A) and coronal (B) susceptibility maps of a female subject (46 y/o) from the source dataset with a voxel size of 0.63 × 0.63 × 2.00 mm3. Yellow arrows in panel (B) mark the regions covering the SN and STN. RN, red nucleus; SN, substantia nigra; STN, subthalamic nucleus.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/801618/fnins-16-801618-HTML/image_m/fnins-16-801618-g002.jpg)
Figure 2. Representative images and labels of midbrain structures in coronal susceptibility maps of a subject (male, 24 y/o) from the target dataset with a voxel size of 0.83 × 0.83 × 0.80 mm3. (A) The borders of the RN and SN. (B) The borders of the SN and STN. RN, red nucleus; SN, substantia nigra; STN, subthalamic nucleus.
Data Preprocessing
All slices including the ROIs and adjacent slices without ROIs were selected along the slice direction as the input data of the network. We used a CNN model to segment the midbrain nuclei regions and the 5-fold cross-validation over the training cohort was used for model training and selection. Three consecutive 2D images were used as input and the ground truth was corresponding to the middle slice image. Transverse slices in the source dataset were center-cropped to 128 × 128 before being used as input. For the target domain images, coronal slices center-cropped to 96 × 96 were used. Statistics on midbrain deep nuclei size in both the source and target datasets were used to ensure that no nuclei region was lost due to cropping.
To increase the robustness of the model, an on-line data augmentation strategy (Shan, 2019) was used all through the training process, which applied random shifting within ±15 pixels, random rotating within ±10°, and random shearing from 0.8 to 1.2 to each sample used in each epoch. In the source dataset, 64 subjects were used for model training and the number of slices for each subject was 96, so the total number of augmented training images was about 5.5 million. In the target dataset, 60 subjects were used for model training and the number of slices for each subject was 192, so the number of training images after the data augmentation was about 5.2 million (Detailed description on the estimation method is provided in the Supplementary Material).
Convolutional Neural Network Architecture
The multi-input Attention U-net model was used to segment the midbrain nucleus, which is shown in Figure 3A. The standard U-net contains an encoder and a decoder part, and each part consists of four downsampling and upsampling stages. The attention gates (AGs) were incorporated into the U-net to highlight salient features that were passed through the skip connections (Oktay et al., 2018). The architecture of the proposed AG is shown in Figure 3B. The coarse level and fine level features were fed into the AGs to get the attention map so the scaled features could be specific to local information. Input features (x) were fed into a convolutional layer with a kernel size of 1 × 1 and stride of 2 to obtain features with the same size as the gate signal (g) in the decoder part and then added with g. The attention coefficient (α) was obtained after features went through two 1 × 1 convolutional layers, ReLU, sigmoid and up-sampling layer. Finally, the input features were multiplied by α to get the attention map. The contribution of the attention gates was demonstrated using ablation experiments.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/801618/fnins-16-801618-HTML/image_m/fnins-16-801618-g003.jpg)
Figure 3. (A) Multi-input Attention U-net network structure. AG indicates that the attention mechanism was applied. (B) Schematic diagram of the AG. The input feature (x) was scaled by the attention coefficient (α) calculated in AG, in which the target area was selected by analyzing the contextual information provided by the activation function and the gate signal (g) obtained from a lower scale.
Cropped images were downsampled 2, 4, and 8 times, and these downsampled images were input into the network together with the original image to prevent image information loss in the encoder path. A deeply-supervised strategy was applied to force the feature maps in the decoder path to be semantically discriminative and improve model performance (Bin and Karl, 2018).
Network Description
The source dataset was randomly split into training cohort (80 subjects) and test cohort (20 subjects). Five-fold cross-validation over the training cohort was used for model training and selection. The test cohort was used for the final evaluation of the model. This dataset was used to train the network to segment two regions containing RN and SN–STN, which provided initial weights for the target network. Pre-processed images with a matrix size of 128 × 128 × 3 and corresponding ground truth with a batch size of 32 were fed into the source network to obtain the weights of the model. The training process was stopped when the loss function was no longer reduced for 20 epochs.
The target dataset was randomly split into training cohort (60 subjects) and test cohort (15 subjects). The pre-trained weights of the source model (excluding the output layers) were used to initialize the transfer learning CNN model (TL-model) and all the transferred weights were fine-tuned to segment RN, SN, and STN during training. The transfer learning procedure is presented in Figure 4.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/801618/fnins-16-801618-HTML/image_m/fnins-16-801618-g004.jpg)
Figure 4. Transfer learning from the source dataset to the target dataset. Voxel sizes were 0.63 × 0.63 × 2.00 and 0.83 × 0.83 × 0.80 mm3 for the source and target domain datasets, respectively.
A non-transfer learning CNN model (NTL-model) was also trained using the target dataset with random weight initialization.
A combination of Dice and cross-entropy loss was used as loss function in the training:
where the pi and gi represent the probability and ground truth of pixel i, respectively; N is the number of total pixels. Since our models used three output branches to segment three different nuclei, the weighted sums of loss for each branch were used:
Lossn (n = 1, 2, and 3) represent the loss functions calculated from the three output branches. The weights for the loss function (λ1, λ2, and λ3) were assigned as 0.6, 0.3, and 0.1, respectively. These hyperparameters were optimized by trying different weight values. The Adam algorithm was used to minimize the loss function during back-propagation with an initial learning rate of 10–4 (Kingma and Ba, 2015). An early stopping strategy was used to avoid overfitting, the training process was stopped if the loss on the validation dataset was not reduced over 20 epochs.
The models were implemented using Pytorch (version: 1.6.0) and Python (version: 3.7). Experiments were conducted on a workstation equipped with four NVIDIA TITAN XP GPUs. The source codes are available online3.
For comparison, an attention U-net model was also trained by using the target dataset and the weights of the Resnet50 model (He et al., 2016) pre-trained on the ImageNet dataset (Russakovsky et al., 2015) were used to initialize the encoder part of the model. During training, all the transferred weights were fine-tuned. All the experiments shared the same environment, hyperparameters, loss function, augmentation strategy and used the same training set and test set.
The performance of all models was evaluated with the corresponding test cohort. Each slice in a case was preprocessed identical to the training data before being fed into the trained U-net to get the predicted 2D probability maps. The results of the five trained models were ensembled by averaging the predicted probability maps to obtain the final segmentation result. A threshold of 0.5 was used to obtain binary segmentation masks before 2D masks of all slices were combined into a 3D volume, in which only the largest connected regions (Bernal et al., 2019) were selected for the final segmentation for each case.
Statistical Analysis of Segmentation Performance
Dice coefficients were used to assess spatial overlap agreement between manual delineations (ground truth) and automated segmentation. Dice scores were estimated with the following equation:
where M and A represent the manual and automated segmentations, respectively. Meanwhile, vol (⋅) indicates the volume of the segmentation. Segmentation was performed on 2D slices, but the accuracy of deep nuclei segmentation was calculated at the volume level. D equals 1 when there is a perfect match between the manual and automated segmentations, and 0 when there is no overlap. The Dice metric was also used to estimate inter-rater segmentation performance to establish a baseline for comparison. A paired t-test was used to compare Dice values obtained by the TL and NTL models. A p-value of less than 0.05 was deemed significant.
In addition to the Dice coefficients, quantitative values of tissue volume and magnetic susceptibility between the automated and manual segmentations were also compared using Pearson correlation coefficients and Bland-Altman analyses. All statistical analyses were carried out using IBM SPSS Statistics 22.
Results
Figure 5 shows typical segmentations of the RN, SN, and STN by manual tracing and by the TL-model. Automatic segmentation (Figures 5D,H,L) delineated the nuclei with similar boundaries to manual tracing (Figures 5C,G,K) and captured areas of high susceptibility in the susceptibility maps.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/801618/fnins-16-801618-HTML/image_m/fnins-16-801618-g005.jpg)
Figure 5. Segmentations of midbrain structures. First column: coronal QSM images (A,E,I) showing the RN, SN, and STN (red box). Second column: zoomed-in view (B,F,J) of the structures in the red box in the 1st column. Third column: manual segmentations (blue masks) of the RN (C), SN (G), and STN (K). Fourth column: automated segmentations (yellow masks) of the RN (D), SN (H), and STN (L).
Dice Similarity Analysis
In the testing cohort of the source dataset, the source model achieved Dice scores of 0.810 ± 0.089 and 0.788 ± 0.067 for the RN and SN-STN, respectively, which indicated that this model could perform preliminary segmentations of the RN and SN-STN.
Figure 6 shows the distribution of the mean Dice scores for the TL-model and NTL-model on the test cohort of the target dataset. The TL-model achieved Dice scores of 0. 903 ± 0.023, 0.864 ± 0.033, and 0.777 ± 0.066 for the RN, SN, and STN, respectively, while the NTL-model achieved Dice values of 0.903 ± 0.023, 0.866 ± 0.030, and 0.762 ± 0.073 for the RN, SN, and STN, respectively. A paired t-test with the Dice values showed that transfer learning improved STN segmentation performance (p = 0.07). The median, upper and lower quartiles of the STN Dice scores obtained by the TL-model were higher than those obtained by the NTL-model. According to the box plot, outliers in the segmentation by NTL-model disappeared in the results by the TL-model. Transfer learning reduced training time from 5 h for the NTL-model to 2 h for the TL-model.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/801618/fnins-16-801618-HTML/image_m/fnins-16-801618-g006.jpg)
Figure 6. Boxplots of Dice scores achieved by the non-transfer learning CNN model (NTL-model) and the transfer learning CNN model (TL-model) on the test cohort of the target dataset. Colored boxes indicate the 25th–75th percentile range, black bars refer to the median values, and red circles represent outliers (more than 1.5 × the interquartile range away from the box).
The model without attention gate achieved Dice scores of 0.904 ± 0.020, 0.864 ± 0.035, and 0.767 ± 0.079 for the RN, SN, and STN, respectively. The model using the weights of the Resnet50 model pre-trained on the ImageNet dataset achieved Dice scores of 0.903 ± 0.021, 0.861 ± 0.040, and 0.736 ± 0.102 for the RN, SN, and STN, respectively.
For the remainder of this section, all results refer to those of the TL-model.
Figure 7 shows the Dice value distribution using pairwise comparison of the segmentation results from the TL-model and two researchers. Inter-rater Dice scores were 0.891 ± 0.027, 0.845 ± 0.037, and 0.783 ± 0.061 for the RN, SN, and STN, respectively. There were no significant differences between Dice scores from automated segmentation and inter-rater Dice scores in the RN (t = 1.391, p = 0.186), SN (t = 1.883, p = 0.081) and STN (t = −0.236, p = 0.817). Automated segmentation compared with the second rater achieved Dice scores of 0.910 ± 0.028, 0.861 ± 0.031 and 0.772 ± 0.045 for the RN, SN, and STN, respectively.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/801618/fnins-16-801618-HTML/image_m/fnins-16-801618-g007.jpg)
Figure 7. Boxplots illustrating segmentation performance of midbrain gray matter nuclei. Automatic segmentations with transfer learning CNN model (TL-model) are compared to manual segmentations by Rater 1 (yellow boxes) or Rater 2 (red boxes). Dice scores between manual segmentations by two raters (blue boxes) are also presented. Colored boxes indicate the 25th–75th percentile range, black bars correspond to the median value, and red circles represent outliers (more than 1.5 × the interquartile range away from the box).
Volume and Susceptibility Correlation Analysis
Region volumes and mean susceptibility values from manual tracing and the TL-model are plotted in Figure 8 and summarized in Table 1. Overall volume and magnetic susceptibility values of the ROIs extracted using the TL-model were significantly correlated (p < 0.01) with those obtained using manual delineation, with the overall correlation coefficients r equaling 0.98 (Figures 8A,C). The corresponding susceptibility values from the automated approach showed 95% limits of agreement of −0.002 ± 0.015 ppm with respect to the manual approach (Figure 8D). Volume and susceptibility values of each nucleus extracted with TL-model were also significantly correlated (p < 0.01) with those extracted manually (Table 1). All correlation coefficients r were larger than 0.8.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/801618/fnins-16-801618-HTML/image_m/fnins-16-801618-g008.jpg)
Figure 8. Scatter plots (A,C) and Bland-Altman plots (B,D) of the volume (A,B) and tissue susceptibility values (C,D) in the midbrain deep nuclei from the TL-model and manual tracing by rater 1. In the scatter plots, the red and gray lines are the trend line of the linear regression and the line of equality, respectively. In the Bland-Altman plots, the solid and dashed lines indicate the mean difference and 95% confidence level interval, respectively. SD, standard deviation; RN, red nucleus; SN, substantia nigra; STN, subthalamic nucleus. **Indicates significant correlations p < 0.01 level.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/801618/fnins-16-801618-HTML/image_m/fnins-16-801618-t001.jpg)
Table 1. Summary of the volumes and mean susceptibility values in the selected regions of interest (ROIs) delineated manually by Rater 1 and the automated convolutional neural network (CNN) method with transfer learning (TL)-model.
Discussion
In this work, we segmented the midbrain gray matter nuclei automatically in high-resolution susceptibility maps using a CNN model with transfer learning. The true ellipsoidal shape of the STN was reliably reflected in the high-resolution susceptibility maps, which is the prerequisite for the segmentation of individual deep brain nuclei. The application of the CNN model with transfer learning was another highlight of this study. The combination of these two aspects allowed this automatic segmentation procedure to be performed in single-modal QSM images and yielded comparable results to manual delineation. Dice scores for the RN, SN, and STN were commensurate with inter-rater reliability ratings. Moreover, this proposed segmentation method allowed the volumes and magnetic susceptibility values of midbrain gray nuclei to be reproducibly quantified.
A variety of midbrain structures segmentation studies have been reported (Lim et al., 2013; Li et al., 2016, 2019; Visser et al., 2016; Garzón et al., 2018; Kim et al., 2019; Plassard et al., 2019; Beliveau et al., 2021), which are summarized in Table 2. These studies were mainly based on multi-modality MRI images, including T1-, T2-, T2*-weighted or QSM images. Our mean Dice score between manual and automated segmentation for RN was 0.903, which is comparable with those from previous studies (Visser et al., 2016; Garzon et al., 2018; Li et al., 2019). Further, mean Dice coefficients were 0.864 and 0.777 for SN and STN, respectively, which are higher than those reported in previous studies on segmentation of susceptibility-contrast images (Lim et al., 2013; Visser et al., 2016; Garzon et al., 2018; Zhang et al., 2018; Li et al., 2019), with ranges of 0.65–0.81 and 0.53–0.70 for the SN and STN, respectively.
The excellent segmentation achieved in this study can be partly attributed to the high-resolution susceptibility maps (Dimov et al., 2019). The true ellipsoidal shape of the STN is reliably reflected and distinguished from the SN in the high-resolution susceptibility maps, which is the foundation for accurate segmentation of the STN. Inter-rater Dice scores in this study were 0.89, 0.85, and 0.78 for RN, SN, and STN, respectively, which are comparable to those reported in a previous study based on high-resolution 0.5 mm isotropic susceptibility maps from a 7T scanner (Visser et al., 2016), with RN having the highest among the three nuclei reflecting the best conspicuity. Inter-rater Dice score for the STN (0.78) in this study is much higher than those from the previous 3T MRI studies, which ranged from 0.56 to 0.68 (Xiao et al., 2014; Garzon et al., 2018; Zhang et al., 2018; Li et al., 2019). An advantage of QSM is the deconvolution of the local magnetic field, which allows for a better definition of the deep gray matter nuclei better, eliminating blurring caused by magnetic susceptibility artifacts (Li et al., 2012). Previous qualitative and quantitative studies have demonstrated that QSM is highly reproducible and is superior to T2w, T2*w, R2*, and susceptibility-weighted images in the depiction of the STN (Schafer et al., 2012; Liu et al., 2013a). Further, coronal views in high-resolution susceptibility maps allow easier differentiation of the STN from the SN (Schafer et al., 2012), which are very small adjacent structures. However, high-resolution QSM requires increased scan time and leads to a reduced signal-to-noise ratio (Schafer et al., 2012; Liu et al., 2013a). In this study, a voxel size of 0.83 × 0.83 × 0.80 mm3 was used to balance scan time and image quality. An advantage of this approximate isotropic voxel size is that the coronal images can be reformatted from the acquired original transverse images, which can help discriminate the STN from SN.
Convolutional neural network model with transfer learning is another attribution for our excellent segmentation performance. Up to now, no study has utilized CNN to segment midbrain structures in high-resolution susceptibility maps, though the CNN model is rapidly evolving in image segmentations (Kim et al., 2019; Beliveau et al., 2021). The size of the high-resolution dataset in our study can hardly meet the requirement of CNN model training. Accordingly, a transfer learning scheme is applied by borrowing initial weights from an existing model used to segment two nuclei on QSM images of larger voxel size, in a manner similar to using a model pre-trained on large-scale natural images in typical transfer learning studies. This application of transfer learning may be more effective because both datasets of brain susceptibility maps contain similar image content in terms of contrasts and structures, except voxel size. The knowledge being “transferred” in the process may involve the basic susceptibility value histogram and the deep gray nuclei geometries. Our results suggest this transfer learning reduces training time and improves the segmentation performance compared with training from scratch, even if the pre-training dataset is small (only 80 cases). This transfer learning may be generalized for modeling new data using weights of the existing CNN model that has been trained on old data, which may have become unavailable and may differ from new data in some characteristics. For example, this transfer learned CNN segmentation may be adapted for longitudinal study of multiple sclerosis lesions (Zhang et al., 2016). Therefore, transfer learning can be used to build models for datasets with similar contrast that are acquired with different scanning parameters or from different MR scanners, when the samples in the newly acquired datasets are not large enough to build a model from scratch.
The proposed method may be used for monitoring brain morphological evolution and iron deposition in normal aging and neurodegenerative diseases. Brain morphology and iron deposition evolve over the entire lifespan (Ward et al., 2014; Caspi et al., 2020), and increased iron deposition in deep gray matter nuclei occurs early in the pathogenesis of several neurodegenerative diseases (Zecca et al., 2004). Our results demonstrated excellent agreement of the region volume and magnetic susceptibility values for each nucleus segmented with the CNN-based method compared to those obtained using manual tracing. Therefore, this automated segmentation procedure may dramatically reduce the amount of manual work and may eliminate operator bias, which will benefit the studies in aging and neurodegenerative diseases.
Accurately automated delineation of the STN can also help clinical treatment for PD patients who are undergoing DBS, because anatomical accuracy of electrode lead placement is critical for a successful surgical outcome (Wodarg et al., 2012). Images obtained from QSM can be imported into existing stereotactic localization software and the automatic segmentation of the STN may improve surgical targeting for DBS lead placement and ultimately result in more efficacious surgery in patients who suffer from advanced PD.
Limitations
There are several strategies that can further improve the segmentation of midbrain structures. More cases can be included in the training cohort where some cases are synthesized by a generative adversarial network (GAN) (Lan et al., 2020). A 3D model may also make better use of 3D shape and spatial information of the midbrain structures, though training of 3D models also requires more training data. In addition, midbrain structures from each hemisphere may be extracted separately to adapt to specific applications. Using the segmentation from a single rater as the ground truth during training is a limitation of this study, so future work focusing on consensus segmentations from multiple experts will provide ideal ground truth. Future work may also require testing the reliability of automatic segmentation algorithms across imaging devices or institutions and detecting regional volume and susceptibility values not only in healthy subjects with a limited age range, but also in those over a wider age range and/or with neurological disease.
Conclusion
We have presented an automated segmentation method for the midbrain gray matter nuclei using a combination of high-resolution susceptibility maps and CNN with transfer learning. By using transferred knowledge in a model trained with similar data (acquired with same pulse sequence but different scan parameters) and different labels, a new network for an extended target can be effectively trained with a relatively small data size. This transfer learned CNN allows excellent segmentation of deep gray nuclei on quantitative susceptibility maps. Future studies on brain volumetric change or iron deposition across the lifespan and in neurodegenerative diseases will benefit from this segmentation approach.
Data Availability Statement
The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author/s.
Ethics Statement
The studies involving human participants were reviewed and approved by Human Subject Protection Committee of East China Normal University. The patients/participants provided their written informed consent to participate in this study.
Author Contributions
JL and GY made substantial contributions to the conception and design of the study. WZ, ZW, and HZ participated in the data acquisition. YidW, WZ, FZ, and YS carried out the study and performed the data analysis. WZ and GL designed and carried out the statistical analysis. WZ performed data interpretation and drafted the manuscript. JL, GY, KG, and YiW revised the manuscript critically for important intellectual content. All authors read and approved the final manuscript.
Funding
This study was supported by grants from the National Social Science Foundation of China (15ZDB016), the Basic Research Project of Science and Technology Commission of Shanghai Municipality (19JC1410101), and the “Flower of Happiness” Fund Pilot Project of East China Normal University (2019JK2203).
Conflict of Interest
YiW owns equity of Medimagemetric LLC, a Cornell spinoff company.
The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s Note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Acknowledgments
We thank all participants involved in this study.
Supplementary Material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fnins.2022.801618/full#supplementary-material
Footnotes
- ^ http://pre.weill.cornell.edu/mri/pages/qsm.html
- ^ http://www.itksnap.org
- ^ https://github.com/wangyidada/Nuclear_segmentation
References
Ataloglou, D., Dimou, A., Zarpalas, D., and Daras, P. (2019). Fast and precise hippocampus segmentation through deep convolutional neural network ensembles and transfer learning. Neuroinformatics 17, 563–582. doi: 10.1007/s12021-019-09417-y
Beliveau, V., Nørgaard, M., Birkl, C., Seppi, K., and Scherfler, C. (2021). Automated segmentation of deep brain nuclei using convolutional neural networks and susceptibility weighted imaging. Hum. Brain Mapp. 42, 4809–4822. doi: 10.1002/hbm.25604
Bernal, J., Kushibar, K., Asfaw, D. S., Valverde, S., Oliver, A., Martí, R., et al. (2019). Deep convolutional neural networks for brain image analysis on magnetic resonance imaging: a review. Artif. Intell. Med. 95, 64–81. doi: 10.1016/j.artmed.2018.08.008
Bin, Y., and Karl, K. (2018). Artificial intelligence and statistics. Front. Inf. Technol. Electron. Eng. 19, 6–9. doi: 10.1631/FITEE.1700813
Boecker, H., Jankowski, J., Ditter, P., and Scheef, L. (2008). A role of the basal ganglia and midbrain nuclei for initiation of motor sequences. Neuroimage 39, 1356–1369. doi: 10.1016/j.neuroimage.2007.09.069
Brosch, T., Tang, L. Y., Youngjin, Y., Li, D. K., Traboulsee, A., and Tam, R. (2016). Deep 3D convolutional encoder networks with shortcuts for multiscale feature integration applied to multiple sclerosis lesion segmentation. IEEE Trans. Med. Imaging 35, 1229–1239. doi: 10.1109/TMI.2016.2528821
Caspi, Y., Brouwer, R. M., Schnack, H. G., van de Nieuwenhuijzen, M. E., Cahn, W., Kahn, R. S., et al. (2020). Changes in the intracranial volume from early adulthood to the sixth decade of life: a longitudinal study. Neuroimage 220:116842. doi: 10.1016/j.neuroimage.2020.116842
de Rochefort, L., Liu, T., Kressler, B., Liu, J., Spincemaille, P., Lebon, V., et al. (2010). Quantitative susceptibility map reconstruction from MR phase data using bayesian regularization: validation and application to brain imaging. Magn. Reson. Med. 63, 194–206. doi: 10.1002/mrm.22187
Dimov, A. V., Gupta, A., Kopell, B. H., and Wang, Y. (2019). High-resolution QSM for functional and structural depiction of subthalamic nuclei in DBS presurgical mapping. J. Neurosurg. 131, 360–367. doi: 10.3171/2018.3.JNS172145
Dolz, J., Desrosiers, C., and Ben Ayed, I. (2018). 3D fully convolutional networks for subcortical segmentation in MRI: a large-scale study. Neuroimage 170, 456–470. doi: 10.1016/j.neuroimage.2017.04.039
Garzon, B., Sitnikov, R., Backman, L., and Kalpouzos, G. (2018). Automated segmentation of midbrain structures with high iron content. Neuroimage 170, 199–209. doi: 10.1016/j.neuroimage.2017.06.016
Garzón, B., Sitnikov, R., Bäckman, L., and Kalpouzos, G. (2018). Automated segmentation of midbrain structures with high iron content. Neuroimage 170, 199–209.
Haacke, E. M., Liu, S., Buch, S., Zheng, W., Wu, D., and Ye, Y. (2015). Quantitative susceptibility mapping: current status and future directions. Magn. Reson. Imaging 33, 1–25. doi: 10.1016/j.mri.2014.09.004
Havaei, M., Davy, A., Warde-Farley, D., Biard, A., Courville, A., Bengio, Y., et al. (2017). Brain tumor segmentation with deep deep neural networks. Med. Image Anal. 35, 18–31. doi: 10.1016/j.media.2016.05.004
He, K., Zhang, X., Ren, S., and Sun, J. (2016). “Deep residual learning for image recognition,” in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, 770–778. doi: 10.1109/CVPR.2016.90
Kim, J., Duchin, Y., Shamir, R. R., Patriat, R., Vitek, J., Harel, N., et al. (2019). Automatic localization of the subthalamic nucleus on patient-specific clinical MRI by incorporating 7 T MRI and machine learning: application in deep brain stimulation. Hum. Brain Mapp. 40, 679–698. doi: 10.1002/hbm.24404
Kingma, D. P., and Ba, J. L. (2015). “Adam: a method for stochastic optimization,” in Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015 - Conference Track Proceedings, San Diego, CA, 1–15.
Lan, L., You, L., Zhang, Z., Fan, Z., Zhao, W., Zeng, N., et al. (2020). Generative adversarial networks and its applications in biomedical informatics. Front. Public Health 8:164. doi: 10.3389/fpubh.2020.00164
Lancaster, J. L., Woldorff, M. G., Parsons, L. M., Liotti, M., Freitas, C. S., Rainey, L., et al. (2000). Automated Talairach atlas labels for functional brain mapping. Hum. Brain Mapp. 10, 120–131. doi: 10.1002/1097-0193(200007)10:33.0.co;2-8
Li, B., Jiang, C., Li, L., Zhang, J., and Meng, D. (2016). Automated segmentation and reconstruction of the subthalamic nucleus in Parkinson’s disease patients. Neuromodulation 19, 13–19. doi: 10.1111/ner.12350
Li, G., Tong, R., Bo, B., Zhang, M., Zhao, Y., Liu, T., et al. (2018). “Measurement of iron concentration in deep gray matter nuclei over the lifespan using quantitative susceptibility mapping,” in Proceedings of the 26th ISMRM Conference; 2018 June 16–21; Paris: International Society for Magnetic Resonance in Medicine. (New Jersey, NJ: IEEE).
Li, J., Chang, S., Liu, T., Jiang, H., Dong, F., Pei, M., et al. (2015). Phase-corrected bipolar gradients in multi-echo gradient-echo sequences for quantitative susceptibility mapping. Magn. Reson. Mater. Phys. Biol. Med. 28, 347–355. doi: 10.1007/s10334-014-0470-3
Li, J., Chang, S., Liu, T., Wang, Q., Cui, D., Chen, X., et al. (2012). Reducing the object orientation dependence of susceptibility effects in gradient echo MRI through quantitative susceptibility mapping. Magn. Reson. Med. 68, 1563–1569. doi: 10.1002/mrm.24135
Li, X., Chen, L., Kutten, K., Ceritoglu, C., Li, Y., Kang, N., et al. (2019). Multi-atlas tool for automated segmentation of brain gray matter nuclei and quantification of their magnetic susceptibility. Neuroimage 191, 337–349. doi: 10.1016/j.neuroimage.2019.02.016
Lim, I. A., Faria, A., Li, X., Hsu, J. T., Airan, R. D., Mori, S., et al. (2013). Human brain atlas for automated region of interest selection in quantitative susceptibility mapping: application to determine iron content in deep gray matter structures. Neuroimage 82, 449–469. doi: 10.1016/j.neuroimage.2013.05.127
Liu, T., Eskreis-Winkler, S., Schweitzer, A. D., Chen, W., Kaplitt, M. G., Tsiouris, A. J., et al. (2013a). Improved subthalamic nucleus depiction with quantitative susceptibility mapping. Radiology 269, 216–223. doi: 10.1148/radiol.13121991
Liu, T., Wisnieff, C., Lou, M., Chen, W., Spincemaille, P., and Wang, Y. (2013b). Nonlinear formulation of the magnetic field to source relationship for robust quantitative susceptibility mapping. Magn. Reson. Med. 69, 467–476. doi: 10.1002/mrm.24272
Liu, T., Khalidov, I., de Rochefort, L., Spincemaille, P., Liu, J., Tsiouris, A. J., et al. (2011). A novel background field removal method for MRI using projection onto dipole fields (PDF). NMR Biomed. 24, 1129–1136. doi: 10.1002/nbm.1670
Liu, T., Spincemaille, P., de Rochefort, L., Wong, R., Prince, M., and Wang, Y. (2010). Unambiguous identification of superparamagnetic iron oxide particles through quantitative susceptibility mapping of the nonlinear response to magnetic fields. Magn. Reson. Imaging 28, 1383–1389. doi: 10.1016/j.mri.2010.06.011
Liu, Z., Spincemaille, P., Yao, Y., Zhang, Y., and Wang, Y. (2018). MEDI+0: morphology enabled dipole inversion with automatic uniform cerebrospinal fluid zero reference for quantitative susceptibility mapping. Magn. Reson. Med. 79, 2795–2803. doi: 10.1002/mrm.26946
Oktay, O., Schlemper, J., Folgoc, L. L., Lee, M., Heinrich, M., Misawa, K., et al. (2018). Attention U-Net: learning where to look for the pancreas. arXiv [Preprint]. arXiv:1804.03999.
Pagnozzi, A. M., Fripp, J., and Rose, S. E. (2019). Quantifying deep grey matter atrophy using automated segmentation approaches: a systematic review of structural MRI studies. Neuroimage 201:116018. doi: 10.1016/j.neuroimage.2019.116018
Pan, S. J., and Yang, Q. (2009). A survey on transfer learning. IEEE Trans. Knowl. Data Eng. 22, 1345–1359. doi: 10.1109/TKDE.2009.191
Plassard, A. J., Bao, S., D’Haese, P. F., Pallavaram, S., Claassen, D. O., Dawant, B. M., et al. (2019). Multi-modal imaging with specialized sequences improves accuracy of the automated subcortical grey matter segmentation. Magn. Reson. Imaging 61, 131–136. doi: 10.1016/j.mri.2019.05.025
Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., et al. (2015). ImageNet large scale visual recognition challenge. Int. J. Comput. Vis. 115, 211–252. doi: 10.1007/s11263-015-0816-y
Schafer, A., Forstmann, B. U., Neumann, J., Wharton, S., Mietke, A., Bowtell, R., et al. (2012). Direct visualization of the subthalamic nucleus and its iron distribution using high-resolution susceptibility mapping. Hum. Brain Mapp. 33, 2831–2842. doi: 10.1002/hbm.21404
Schofield, M. A., and Zhu, Y. (2003). Fast phase unwrapping algorithm for interferometric applications. Opt. Lett. 28:1194. doi: 10.1364/ol.28.001194
Shan, Q. (2019). Improve image classification using data augmentation and neural networks. SMU Data Sci. Rev. 2:1.
Visser, E., Keuken, M. C., Forstmann, B. U., and Jenkinson, M. (2016). Automated segmentation of the substantia nigra, subthalamic nucleus and red nucleus in 7T data at young and old age. Neuroimage 139, 324–336. doi: 10.1016/j.neuroimage.2016.06.039
Wang, Y., and Liu, T. (2015). Quantitative susceptibility mapping (QSM): decoding MRI data for a tissue magnetic biomarker. Magn. Reson. Med. 73, 82–101. doi: 10.1002/mrm.25358
Wang, Y., Spincemaille, P., Liu, Z., Dimov, A., Deh, K., Li, J., et al. (2017). Clinical quantitative susceptibility mapping (QSM): biometal imaging and its emerging roles in patient care. J. Magn. Reson. Imaging 46, 951–971. doi: 10.1002/jmri.25693
Ward, R. J., Zucca, F. A., Duyn, J. H., Crichton, R. R., and Zecca, L. (2014). The role of iron in brain ageing and neurodegenerative disorders. Lancet Neurol. 13, 1045–1060. doi: 10.1016/S1474-4422(14)70117-6
Wodarg, F., Herzog, J., Reese, R., Falk, D., Pinsker, M. O., Steigerwald, F., et al. (2012). Stimulation site within the MRI-defined STN predicts postoperative motor outcome. Mov. Disord. 27, 874–879. doi: 10.1002/mds.25006
Xiao, Y., Jannin, P., D’Albis, T., Guizard, N., Haegelen, C., Lalys, F., et al. (2014). Investigation of morphometric variability of subthalamic nucleus, red nucleus, and substantia nigra in advanced Parkinson’s disease patients using automatic segmentation and PCA-based analysis. Hum. Brain Mapp. 35, 4330–4344. doi: 10.1002/hbm.22478
Xu, Y., Geraud, T., and Bloch, I. (2017). “From neonatal to adult brain MR image segmentation in a few seconds using 3D-like fully convolutional network and transfer learning,” in Proceedings of the IEEE International Conference on Image Processing; 2017 Sept. 17–20, (Beijing: Institute of Electrical and Electronics Engineers), 4417–4421.
Zecca, L., Youdim, M. B., Riederer, P., Connor, J. R., and Crichton, R. R. (2004). Iron, brain ageing and neurodegenerative disorders. Nat. Rev. Neurosci. 5, 863–873. doi: 10.1038/nrn1537
Zhang, Y., Gauthier, S. A., Gupta, A., Comunale, J., Chia-Yi Chiang, G., Zhou, D., et al. (2016). Longitudinal change in magnetic susceptibility of new enhanced multiple sclerosis (MS) lesions measured on serial quantitative susceptibility mapping (QSM). J. Magn. Reson. Imaging 44, 426–432. doi: 10.1002/jmri.25144
Keywords: midbrain structure, automated segmentation, high-resolution quantitative susceptibility mapping, convolutional neural network, transfer learning
Citation: Zhao W, Wang Y, Zhou F, Li G, Wang Z, Zhong H, Song Y, Gillen KM, Wang Y, Yang G and Li J (2022) Automated Segmentation of Midbrain Structures in High-Resolution Susceptibility Maps Based on Convolutional Neural Network and Transfer Learning. Front. Neurosci. 16:801618. doi: 10.3389/fnins.2022.801618
Received: 25 October 2021; Accepted: 17 January 2022;
Published: 10 February 2022.
Edited by:
Angarai Ganesan Ramakrishnan, Indian Institute of Science (IISc), IndiaCopyright © 2022 Zhao, Wang, Zhou, Li, Wang, Zhong, Song, Gillen, Wang, Yang and Li. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Guang Yang, gyang@phy.ecnu.edu.cn; Jianqi Li, jqli@phy.ecnu.edu.cn