RESEARCH PROJECT Published 12 November 2021 · Sensors, 21(22), 7528 · Open Access (CC BY)

Brain MR Image Enhancement for Tumor Segmentation Using 3D U-Net

Faizad Ullah1,2, Shahab U. Ansari2, Muhammad Hanif2, Mohamed Arselene Ayari3,4, Muhammad Enamul Hoque Chowdhury5, Amith Abdullah Khandakar5 and Muhammad Salman Khan1,6

1 Artificial Intelligence in Healthcare, Intelligent Information Processing Lab, National Center of Artificial Intelligence, University of Engineering and Technology, Peshawar, Pakistan
2 Faculty of Computer Science and Engineering, GIK Institute of Engineering Sciences and Technology, Topi, Pakistan
3 Technology Innovation and Engineering Education, College of Engineering, Qatar University, Doha, Qatar
4 Department of Civil and Architectural Engineering, College of Engineering, Qatar University, Doha, Qatar
5 Department of Electrical Engineering, College of Engineering, Qatar University, Doha, Qatar
6 Department of Electrical Engineering (JC), University of Engineering and Technology, Peshawar, Pakistan

Abstract

Experts look at MRI scans to study and measure brain tumors, but because the scans contain so much 3D data, doing this by hand is slow, subjective and prone to error. Automatic tools can segment the tumor, which means outlining it in the scan. Before that, however, the scans have to be prepared, and this pre-processing step is an important challenge.

This study investigates many combinations of pre-processing methods, in particular the removal of Gibbs ringing artifacts, bias field correction, intensity normalization and adaptive histogram equalization. The prepared scans are then passed to a 3D U-Net, a deep learning network, which segments the brain tumor automatically. The best results came from combining two techniques: Gibbs ringing artifact removal and bias-field correction. This reached mean Dice scores of 0.91, 0.86 and 0.70 for the whole tumor, the tumor core and the enhancing tumor on the training data, and 0.90, 0.83 and 0.71 on the test data. The method was compared with other methods on the Brain Tumor Segmentation Challenge (BraTS) data.

Brain tumor segmentation Deep learning Gibbs ringing artifact Image enhancement Medical image processing

Introduction

Medical imaging plays a key role in finding diseases and planning treatment. Segmenting a tumor automatically in brain MRI is hard, because the scans contain noise, the brightness is uneven across the image, different scanners produce different intensity ranges, and the scans also show tissue that is not part of the brain, such as the skull.

Because of this, the scans are usually prepared before a deep learning model is trained on them. Pre-processing directly affects how well the model works. This study looks at how different pre-processing methods affect the automatic segmentation of brain tumors. Its main contributions are:

Earlier studies describe several standard ways of preparing brain MRI. Skull stripping removes the skull and other tissue that is not brain, and registration aligns scans from different sequences into one common space. Intensity normalization scales the brightness of different scans to a common range. Noise can be reduced with filters, and the uneven brightness caused by the scanner’s magnetic field, called the bias field, can be corrected with methods such as N4ITK.

Another problem in MRI is the Gibbs ringing artifact, which appears as ripples near sharp, high-contrast edges. Methods to remove it include a technique based on local sub-voxel shifts, and some deep learning methods. This study uses the sub-voxel shift technique. The authors state that this is the first time that Gibbs ringing artifact removal has been used as a pre-processing step for brain MRI analysis with a deep learning model.

Proposed Method

The experiments use the BraTS-2018 dataset, which has MRI scans of 285 patients: 210 with high-grade tumors (glioblastomas) and 75 with low-grade tumors (gliomas). Each case has four types of MRI scan (FLAIR, T1, T1c and T2) that are already aligned and have the skull removed. Experts have outlined three nested tumor regions in each case: the whole tumor, the tumor core and the enhancing tumor. The older BraTS-2015 and BraTS-2013 datasets were also tested.

Four pre-processing methods were tested, alone and in different orders. Two kinds of intensity normalization (Nyúl and z-score) were included. Bias field correction used the N4ITK method (Figure 1). Adaptive histogram equalization improved the contrast. Gibbs ringing artifact removal used the local sub-voxel shift technique (Figure 2). The Gibbs artifact appears when the MR signal is turned into an image, and it is strongest near the skull, the spinal fluid and the spinal cord.

Brain MRI slices before and after bias field correction
Figure 1. Before (top row) and after (bottom row) bias field correction, on FLAIR images. Source: Ullah et al., Sensors (2021), CC BY.
Brain MRI slices before and after Gibbs ringing artifact removal
Figure 2. BraTS images before (top row) and after (bottom row) Gibbs ringing artifact removal, on T1ce sagittal images. Source: Ullah et al., Sensors (2021), CC BY.

After pre-processing, the scans are cut into 3D patches of 80 × 80 × 80 voxels and used to train a 3D U-Net (Figure 3). The U-Net follows an earlier design, but it was trained for 80 epochs with a batch of 2. A Dice loss for several classes was used, to deal with the fact that the background has far more voxels than the tumor. The data was split 80% for training and 20% for testing. In total, 10 combinations of pre-processing methods (called sequences) were tested: sequences 1 to 8 on BraTS-2018, sequence 9 on BraTS-2015 and sequence 10 on BraTS-2013.

The proposed framework with the training and testing phases of the 3D U-Net
Figure 3. The proposed framework: (a) training and (b) testing. Source: Ullah et al., Sensors (2021), CC BY.

Results and Discussion

The first test compared scans with and without Gibbs ringing artifact removal. Removing the artifact improved the whole-tumor Dice score on all three datasets: from 0.88 to 0.91 on BraTS-2018, from 0.85 to 0.90 on BraTS-2015 and from 0.84 to 0.90 on BraTS-2013. It also raised the tumor-core score on BraTS-2018 (0.82 to 0.85) and BraTS-2015 (0.71 to 0.82), but not on the smaller BraTS-2013 set, and it did not change the enhancing-tumor score.

The best combination was sequence 6: first correct the bias field with N4ITK, then remove the Gibbs ringing artifact. It reached the training and test Dice scores given in the abstract (0.91, 0.86 and 0.70 for training and 0.90, 0.83 and 0.71 for testing). Adding adaptive histogram equalization or intensity normalization to the combinations did not improve the results. The training and test scores were close to each other, which shows that the model generalizes well to new scans. Figure 4 compares the segmentations that the different sequences produced with the manual outlines of the experts.

FLAIR images with the manual segmentation and the segmentation from each pre-processing sequence
Figure 4. Segmentation results of the different pre-processing sequences, next to the manual segmentation. Source: Ullah et al., Sensors (2021), CC BY.

Compared with earlier published methods on BraTS data, the whole-tumor test score of 0.90 was higher than all of those listed, and the tumor-core score of 0.83 was as high as the best of them. On the enhancing tumor, the score of 0.71 was in the same range as other methods, and a few scored higher. The authors suggest the reason is that the enhancing region lies between the other two regions, so it is less affected by the Gibbs ringing artifact.

Conclusions

Pre-processing the training data is an essential step for training a deep learning model to segment brain tumors. The best sequence was to correct the bias field and then remove the Gibbs ringing artifact, and the authors strongly recommend using Gibbs ringing artifact removal as a pre-processing step. It improved the whole-tumor and tumor-core results, but not the enhancing region. As future work, the technique could be applied to MRI of other parts of the body.

Author Contributions

Funding

The authors thank the Higher Education Commission (HEC), Pakistan, for funding this research under the Artificial Intelligence in Healthcare, IIPL, National Center of Artificial Intelligence (NCAI) program, and for partial funding by an HEC-SRGP research grant.

Ethical Approval

An institutional review board statement is not applicable, because the study used a public dataset, and the original study was carried out with ethical approval from an institutional review board. Informed consent was obtained from all subjects when the group that publishes the data acquired it.

Data Availability

The MICCAI BraTS 2018 data was used, and it is available from the BraTS 2018 website.

Acknowledgments

The authors thank NVIDIA Corporation for the donation of the Titan X Pascal graphics card that was used for this research.

Competing Interests

The authors declare that they have no conflict of interest to report regarding the present study.