Enhancing the Explainability of the MRI-Based Brain Tumour Detection with Image Preprocessing
Source abstract
Abstract
Accurate and interpretable brain tumour detection from magnetic resonance imaging (MRI) is important for the reliable use of computer-assisted diagnostic systems. This study examines whether image preprocessing can improve the localisation quality of explanations generated by convolutional neural network (CNN) classifiers while preserving high classification performance. Two pre-trained CNN architectures, ResNet50 and DenseNet121, were fine-tuned using the BRISC 2025 dataset, which contains 6000 annotated contrast-enhanced T1-weighted MRI images: 5000 training images and 1000 test images. The dataset includes four classes: glioma, meningioma, pituitary tumour, and healthy brain images. The original classification layers were replaced with custom fully connected heads designed for four-class classification. Model explanations were generated using Grad-CAM, Integrated Gradients, and LIME. Their localisation quality was evaluated against the available tumour segmentation masks using Intersection over Union (IoU), the Dice coefficient, and the Pointing Game metric. Tests show that both models (99.1% for ResNet50 and 99.2% for DenseNet121) perform well in terms of validation accuracy, but the explanation maps often operate in regions outside the clinically relevant area. To combat this issue, an image preprocessing pipeline utilising Otsu threshold masking, hole filling, and brightness–contrast jittering was implemented to filter noise from the background and isolate the focus area—brain region. After preprocessing, the validation accuracy of the DenseNet121 model was 99.6%, and the average Grad-CAM explainability metrics improved from 21.49% to 23.08% IoU, from 30.21% to 32.49% Dice coefficient, and from 48.33% to 51.67% Pointing Game score. The results indicate that conventional image preprocessing can moderately improve the spatial agreement between explanation maps and annotated tumour regions without reducing classification accuracy.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Brain Tumor Detection and Classification · Glioma Diagnosis and Treatment · Advanced Neural Network Applications
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Electrical Motion Automation Systems, Faculty of Automatics, Technical University of Sofia, 8 Kliment Ohridski Blvd, 1000 Sofia, Bulgaria
Faculty of Electronic Engineering and Technologies, Technical University of Sofia, 8 Kliment Ohridski Blvd, 1000 Sofia, Bulgaria
Department of Electronics Telecommunications and Informatics, Institute of Electronics and Informatics Engineering of Aveiro (IEETA), University of Aveiro, 3800-193 Aveiro, Portugal
References (36)
Show source-provided references
1. BRISC: Annotated Dataset for Brain Tumor Segmentation and Classification10.1038/s41597-026-06753-y ↗
2. AI in MRI brain tumor diagnosis: A systematic review of machine learning and deep learning advances (2010–2025)10.1016/j.chemolab.2025.105414 ↗
3. ResNet50-based Deep Learning model for accurate brain tumor detection in MRI scans10.1016/j.nexres.2024.100104 ↗
4. Liu, X., and Wang, Z. (2024, January 26–28). Deep Learning in Medical Image Classification from MRI-Based Brain Tumor Images. Proceedings of the 2024 IEEE 6th International Conference on Power, Intelligent Computing and Systems (ICPICS), Shenyang, China.10.1109/ICPICS62053.2024.10796108 ↗
5. Huang, G., Liu, Z., Van Der Maaten, L., and Weinberger, K.Q. (2017, January 21–26). Densely Connected Convolutional Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.243 ↗
6. Brain tumor detection across diverse MR images: An automated triple-module approach integrating reduced fused deep features and machine learning10.1016/j.rineng.2024.103832 ↗
7. MRI brain tumor detection using deep learning and machine learning approaches10.1016/j.measen.2024.101026 ↗
8. Abdusalomov, A.B., Mukhiddinov, M., and Whangbo, T.K. (2023). Brain Tumor Detection Based on Deep Learning Approaches and Magnetic Resonance Imaging. Cancers, 15.10.3390/cancers15164172 ↗
9. A deep learning-based framework for automatic brain tumors classification using transfer learning10.1007/s00034-019-01246-3 ↗
10. Saeedi, S., Rezayi, S., Keshavarz, H., and Niakan Kalhori, S.R. (2023). MRI-based brain tumor detection using convolutional deep learning methods and chosen machine learning techniques. BMC Med. Inform. Decis. Mak., 23.10.1186/s12911-023-02114-6 ↗
11. Mahmud, M.I., Mamun, M., and Abdelgawad, A. (2023). A Deep Analysis of Brain Tumor Detection from MR Images Using Deep Learning Networks. Algorithms, 16.10.3390/a16040176 ↗
12. Raza, A., Ayub, H., Khan, J.A., Ahmad, I., Salama, A.S., Daradkeh, Y.I., Javeed, D., Ur Rehman, A., and Hamam, H. (2022). A Hybrid Deep Learning-Based Approach for Brain Tumor Classification. Electronics, 11.10.3390/electronics11071146 ↗
13. Optimization-enabled hybrid deep learning for brain tumor detection and classification from MRI10.1016/j.bspc.2023.104955 ↗
14. Multimodal brain tumor detection and classification using deep saliency map and improved dragonfly optimization algorithm10.1002/ima.22831 ↗
15. Ensemble of Deep Learning Models for Brain Tumor Detection10.1016/j.procs.2023.01.222 ↗
16. Rasheed, Z., Ma, Y.-K., Ullah, I., Al Shloul, T., Tufail, A.B., Ghadi, Y.Y., Khan, M.Z., and Mohamed, H.G. (2023). Automated Classification of Brain Tumors from Magnetic Resonance Imaging Using Deep Learning. Brain Sci., 13.10.3390/brainsci13040602 ↗
17. An automated metaheuristic-optimized approach for diagnosing and classifying brain tumors based on a convolutional neural network10.1016/j.rineng.2024.102459 ↗
18. Venmathi, A.R., David, S., Govinda, E., Ganapriya, K., Dhanapal, R., and Manikandan, A. (2023, January 16–17). An automatic brain tumors detection and classification using deep convolutional neural network with VGG-19. Proceedings of the 2023 2nd International Conference on Advancements in Electrical, Electronics, Communication, Computing and Automation (ICAECA), Coimbatore, India.
19. A decision support system for multimodal brain tumor classification using deep learning10.1007/s40747-021-00321-0 ↗
20. Kang, J., Ullah, Z., and Gwak, J. (2021). MRI-Based Brain Tumor Classification Using Ensemble of Deep Features and Machine Learning Classifiers. Sensors, 21.10.3390/s21062222 ↗
21. Employing deep learning and transfer learning for accurate brain tumor detection10.1038/s41598-024-57970-7 ↗
22. Efficient framework for brain tumour classification using hierarchical deep learning neural network classifier10.1080/21681163.2022.2111719 ↗
23. An intelligent driven deep residual learning framework for brain tumor classification using MRI images10.1016/j.eswa.2022.119087 ↗
24. Explaining explainability: The role of XAI in medical imaging10.1016/j.ejrad.2024.111389 ↗
25. Detection of brain tumor based on features fusion and machine learning10.1007/s12652-018-1092-9 ↗
26. Mahmud, B.U., and Hong, G.Y. (2022, January 17–19). Semantic image segmentation using CNN (Convolutional neural network) based technique. Proceedings of the 2022 IEEE World Conference on Applied Intelligence and Computing (AIC), Sonbhadra, India.10.1109/AIC55036.2022.9848977 ↗
27. Explainable AI in Medical Imaging: An Overview for Clinical Practitioners—Beyond Saliency-Based XAI Approaches10.1016/j.ejrad.2023.110786 ↗
28. A Survey on Explainable Artificial Intelligence (XAI): Toward Medical XAI10.1109/TNNLS.2020.3027314 ↗
29. Explainable artificial intelligence in Alzheimer’s disease classification: A systematic review10.1007/s12559-023-10192-x ↗
30. Threshold Selection Method from Gray-Level Histograms10.1109/TSMC.1979.4310076 ↗
31. SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python10.1038/s41592-019-0686-2 ↗
32. Selvaraju, R.R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D. (2017, January 22–29). Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.74 ↗
33. Ribeiro, M.T., Singh, S., and Guestrin, C. (2016, January 13–17). Why should i trust you?” Explaining the predictions of any classifier. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939778 ↗
34. Sundararajan, M., Taly, A., and Yan, Q. (2017, January 6–11). Axiomatic Attribution for Deep Networks. Proceedings of the 34th International Conference on Machine Learning (ICML 2017), Sydney, Australia. Available online: https://proceedings.mlr.press/v70/sundararajan17a.html.
35. Fernandez, F.-G. (2026, July 14). TorchCAM: Class Activation Explorer. Poster presented at the PyTorch Developer Day 2021, Online, 2 December 2021. Available online: https://s3.amazonaws.com/assets.pytorch.org/ptdd2021/posters/B5.png.
36. Kokhlikyan, N., Miglani, V., Martin, M., Wang, E., Alsallakh, B., Reynolds, J., Melnikov, A., Kliushkina, N., Araya, C., and Yan, S. (2020). Captum: A unified and generic model interpretability library for pytorch. arXiv.