Submitted:
09 July 2025
Posted:
11 July 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Dataset Description

| Modality | Description |
|---|---|
| T1 | T1-weighted structural MRI |
| T1CE | T1-weighted with contrast enhancement (gadolinium) |
| T2 | T2-weighted imaging, useful for fluid detection |
| FLAIR | Fluid-Attenuated Inversion Recovery, suppresses CSF to highlight lesions |
| Label | Description |
|---|---|
| 0 | Background |
| 1 | Necrotic/Non-enhancing Tumor Core (NCR/NET) |
| 2 | Edema (ED) |
| 4→3 | Enhancing |
| Label | Sub-region |
|---|---|
| 1 | Tumor Core (TC) |
| 1, 2, 3 | Whole Tumor (WT) |
| 3 | Enhancing Tumor (ET) |
3. Data and Image Preprocessing
3.1. Image Preprocessing
3.1.1. Intensity Normalization
3.1.2. Slice Selection
3.1.3. Cropping and Resizing
3.1.4. Data Augmentation
3.1.5. Input Modalities
3.2. Label Preprocessing
| Label | Description |
|---|---|
| 0 | Background |
| 1 | Necrotic/Non-enhancing Tumor Core (NCR/NET) |
| 2 | Edema (ED) |
| 3 | Enhancing Tumor (ET) |
3.3. Model Architecture
3.3.1. U-Net Structure
- Encoder Path:
- Bottleneck:
- Decoder Path:
- Output Layer:
3.3.2. Input and Output Specifications
- Input Shape: Each input consists of two channels—FLAIR and T1CE—resulting in a shape of (128, 128, 2).
- Output Shape: The model produces a segmentation map of shape (128, 128, 4), with class-wise probabilities for each tumor sub-region.

3.3.3. Training Configuration
- Frameworks: TensorFlow 2.12 and Keras
- Loss Function: Categorical Crossentropy (suitable for multi-class segmentation)
- Optimizer: Adam optimizer with a learning rate of 0.001
- Regularization: Dropout (rate = 0.2) in the bottleneck layer
3.3.4. Evaluation Metrics
- Mean Intersection over Union (Mean IoU):
- Dice Similarity Coefficient (DSC):
- ○
- Overall Dice: Aggregates segmentation performance across all classes.
- ○
- Class-specific Dice: Computed separately for necrotic core, edema, and enhancing tumor regions.
- Precision:
- Sensitivity (Recall):
- Specificity:
3.4. Training Strategy
- Train/Val/Test split: 70% / 15% / 15%
- Epochs: 30
- Optimizer: Adam (learning rate = 0.001)
- Callbacks: ReduceLROnPlateau, EarlyStopping, CSVLogger
- Batch size: 1 (due to memory constraints)
- Custom DataGenerator for real-time augmentation and loading
4. Results
| Metric | Value |
|---|---|
| Validation loss | 0.0284 |
| Validation accuracy | 98.84% |
| Global Dice Coefficient | 0.5139 |
| Precision | 99.08% |
| Specificity | 99.69% |
| Tumor Sub-Region | Validation Dice Score |
|---|---|
| Necrotic Core (NCR/NET) | 0.4292 |
| Edema (ED) | 0.4644 |
| Enhancing Tumor (ET) | 0.5895 |
- NCR/NET: 0.4920
- ED: 0.6751
- ET: 0.6251
| Tumor Sub-Region | Training Dice Score |
|---|---|
| Necrotic Core (NCR/NET) | 0.4920 |
| Edema (ED) | 0.6751 |
| Enhancing Tumor (ET) | 0.6251 |

5. Discussion
5.1. Performance Observations
5.2. Model Advantages
6. Conclusions
References
- Stupp, W.; et al. Radiotherapy plus concomitant and adjuvant temozolomide for glioblastoma. New England Journal of Medicine 2005, 352, 987–996. [Google Scholar] [CrossRef] [PubMed]
- Bauer, S.; Wiest, R.; Nolte, L.-P.; Reyes, M. A survey of MRI-based medical image analysis for brain tumor studies. Physics in Medicine and Biology 2013, 58, R97–R129. [Google Scholar] [CrossRef] [PubMed]
- Menze, B.H.; Jakab, A.; Bauer, S.; Kalpathy-Cramer, J.; Farahani, K.; Kirby, J.; et al. The Multimodal Brain Tumor Image Segmentation Benchmark (BRATS). IEEE Transactions on Medical Imaging 2015, 34, 1993–2024. [Google Scholar] [CrossRef] [PubMed]
- Baid, U.; et al. The RSNA-ASNR-MICCAI BraTS 2021 Benchmark on Brain Tumor Segmentation and Radiogenomic Classification. arXiv 2021, arXiv:2107.02314. [Google Scholar]
- Bakas, S.; Akbari, H.; Sotiras, A.; Bilello, M.; Rozycki, M.; Kirby, J.S.; et al. Advancing The Cancer Genome Atlas glioma MRI collections with expert segmentation labels and radiomic features. Nature Scientific Data 2017, 4, 170117. [Google Scholar] [CrossRef] [PubMed]
- Havaei, M.; et al. Brain tumor segmentation with deep neural networks. Medical Image Analysis 2017, 35, 18–31. [Google Scholar] [CrossRef] [PubMed]
- Otsu, N. A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics 1979, 9, 62–66. [Google Scholar] [CrossRef]
- Adams, R.; Bischof, L. Seeded region growing. IEEE Transactions on Pattern Analysis and Machine Intelligence 1994, 16, 641–647. [Google Scholar] [CrossRef]
- Canny, J. A computational approach to edge detection. IEEE Transactions on Pattern Analysis and Machine Intelligence 1986, 8, 679–698. [Google Scholar] [CrossRef] [PubMed]
- Bezdek, J.C.; Ehrlich, R.; Full, W. FCM: The fuzzy c-means clustering algorithm. Computers & Geosciences 1984, 10, 191–203. [Google Scholar] [CrossRef]
- Kass, M.; Witkin, A.; Terzopoulos, D. Snakes: Active contour models. International Journal of Computer Vision 1988, 1, 321–331. [Google Scholar] [CrossRef]
- Osher, S.; Sethian, J.A. Fronts propagating with curvature-dependent speed: Algorithms based on Hamilton–Jacobi formulations. Journal of Computational Physics 1988, 79, 12–49. [Google Scholar] [CrossRef]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional networks for biomedical image segmentation. In Proc. Medical Image Computing and Computer-Assisted Intervention (MICCAI); 2015; pp. 234–241. [Google Scholar]
- He, K.; Gkioxari, G.; Dollár, P.; Girshick, R. Mask R-CNN. In Proc. IEEE International Conference on Computer Vision (ICCV); 2017; pp. 2961–2969. [Google Scholar]
- Chen, J.; et al. TransUNet: Transformers make strong encoders for medical image segmentation. arXiv 2021. [Google Scholar] [CrossRef]
- Elaff, I.; EL-Kemany, A.; Kholif, M. Universal and stable medical image generation for tissue segmentation (The unistable method). Turkish Journal of Electrical Engineering and Computer Sciences 2017, 25, 32. [Google Scholar] [CrossRef]
- Elaff, I. Medical Image Enhancement Based on Volumetric Tissue Segmentation Fusion (Uni-Stable 3D Method). Journal of Science, Technology and Engineering Research 2023, 4, 78–89. [Google Scholar] [CrossRef]
- Elaff, I. Brain Tissue Classification Based on Diffusion Tensor Imaging: A Comparative Study Between Some Clustering Algorithms and Their Effect on Different Diffusion Tensor Imaging Scalar Indices. Iran J Radiol. 2016, 13, e23726. [Google Scholar] [CrossRef] [PubMed]
- El-Aff, I. Human brain tissues segmentation based on DTI data. In Proceedings of the 2012 11th International Conference on Information Science, Signal Processing and their Applications (ISSPA), Montreal, QC, Canada; 2012; pp. 876–881. [Google Scholar] [CrossRef]
- El-Dahshan, E.-S.A.; Hosny, T.; Salem, A.-B.M. Hybrid intelligent techniques for MRI brain images classification. Digital Signal Processing 2010, 20, 433–441. [Google Scholar] [CrossRef]
- Kapur, T.; Grimson, W.E.L.; Wells, W.M.; Kikinis, R. Segmentation of brain tissue from magnetic resonance images. Medical Image Analysis 1996, 1, 109–127. [Google Scholar] [CrossRef] [PubMed]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional networks for biomedical image segmentation. In MICCAI; Springer, 2015; pp. 234–241. [Google Scholar]
- Milletari, F.; Navab, N.; Ahmadi, S.A. V-Net: Fully convolutional neural networks for volumetric medical image segmentation. In 3DV; IEEE, 2016; pp. 565–571. [Google Scholar]
- Jiang, Z.; Zhang, H.; Wang, Y.; Ko, H. Mask R-CNN with DenseNet for brain tumor segmentation. Computers, Materials & Continua 2021, 67, 1941–1955. [Google Scholar]
- Elaff, I. Comparative study between spatio-temporal models for brain tumor growth. Biochemical and Biophysical Research Communications 2018, 496, 1263–1268. [Google Scholar] [CrossRef] [PubMed]
- The BraTS Consortium. BraTS: Brain Tumor Segmentation dataset. The Cancer Imaging Archive. Available online: https://www.synapse.org/#!Synapse:syn36640318.
- CBICA/Upenn. BraTS: Brain Tumor Segmentation dataset. Synapse. 2023. Available online: https://www.synapse.org/#!Synapse:syn51156910/wiki/622351.
- Nyúl, L.G.; Udupa, J.K.; Zhang, X. New variants of a method of MRI scale standardization. IEEE Transactions on Medical Imaging 2000, 19, 143–150. [Google Scholar] [CrossRef] [PubMed]
- Isensee, F.; Petersen, J.; Kohl, S.; Jäger, P.F.; Maier-Hein, K.H. nnU-Net: A self-configuring method for deep learning-based biomedical image segmentation. Nature Methods 2021, 18, 203–211. [Google Scholar] [CrossRef] [PubMed]
- Shorten, C.; Khoshgoftaar, T.M. A survey on image data augmentation for deep learning. Journal of Big Data 2019, 6, 60. [Google Scholar] [CrossRef]
- Bakas, S.; Reyes, M.; Jakab, A.; Bauer, S.; Rempfler, M.; Crimi, A.; Menze, B.H. Identifying the best machine learning algorithms for brain tumor segmentation, progression assessment, and overall survival prediction in the BRATS challenge. arXiv 2018. [Google Scholar] [CrossRef]
- Havaei, M.; Davy, A.; Warde-Farley, D.; Biard, A.; Courville, A.; Bengio, Y.; Larochelle, H. Brain tumor segmentation with deep neural networks. Medical Image Analysis 2017, 35, 18–31. [Google Scholar] [CrossRef] [PubMed]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. In Medical Image Computing and Computer-Assisted Intervention (MICCAI); 2015; pp. 234–241. [Google Scholar]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. Proc. MICCAI 2015, 9351, 234–241. [Google Scholar]
- Taha, A.A.; Hanbury, A. Metrics for evaluating 3D medical image segmentation: Analysis, selection, and tool. BMC Medical Imaging 2015, 15, 1–28. [Google Scholar] [CrossRef] [PubMed]
- Zou, K.H.; et al. Statistical validation of image segmentation quality based on a spatial overlap index: Scientific reports. Academic Radiology 2004, 11, 178–189. [Google Scholar] [CrossRef] [PubMed]
- Bakas, S.; et al. Identifying the best machine learning algorithms for brain tumor segmentation, progression assessment, and overall survival prediction in the BRATS challenge. Medical Image Analysis 2018, 55, 115–142. [Google Scholar]
- Isensee, F.; et al. Nnu-net: Self-adapting framework for U-Net-based medical image segmentation. Nature Methods 2021, 18, 203–211. [Google Scholar] [CrossRef] [PubMed]
- Shorten, C.; Khoshgoftaar, T.M. A survey on image data augmentation for deep learning. Journal of Big Data 2019, 6, 1–48. [Google Scholar] [CrossRef]
- Zhou, Z.; et al. UNet++: A nested U-Net architecture for medical image segmentation. Deep Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support 2018, 3–11. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).