Brain Tumor Detection Using MRI Images
Main Article Content
Abstract
Brain tumors represent an important clinical disease of the nervous system that requires early and accurate diagnosis for improved patient prognoses. Magnetic Resonance Imaging (MRI) is still the modality of choice for the evaluation of brain tumor due to its better soft tissue contrast and non-invasive nature. Nevertheless, manual interpretation of MRI examinations is difficult and subject to inter-observer variation. The present study aims at a thorough comparative evaluation of deep learning architectures for fully automated, multi-class brain tumor classification based on MRI data. A unified experimental framework is designed to empirically evaluate a custom convolutional neural network (CNNs) trained with the scratch method and four pre-trained transfer learning methods, including VGG16, ResNet50, DenseNet121, and MobileNetV3. The models are trained and validated using a large, consolidated data set of four classes: glioma, meningioma, pituitary tumour and healthy brain images. In order to make sure the comparability between models is true, same preprocessing, data augmentation and dataset partition strategy and the evaluation measure are followed by all the models. Performance is measured in terms of accuracy, precision, recall, F1 score, confusion matrices and roc-auc analysis. Results show that transfer learning models significantly exceed the custom CNN. Among the architectures evaluated, ResNet50 can achieve the best classification performance, test accuracy is 98.38% and macro-averaged F1-score is 0.9837, which can be regarded as good classification and generalisability. These results highlight the power of deep residual learning for solving some of the difficulties in classifying brain MRI, such as inter-class similarity and feature heterogeneity. The study adds a rigorous benchmarking mechanism and empirical evidence for adopting ResNet50 as a robust model for multi-class brain tumour diagnosis. Future research may extend this work by develop a web-based application that enables users to upload MRI images for automated brain tumor detection and classification.
Manuscript received: 22 Feb 2026 | Revised: 23 Apr 2026 | Accepted: 29 Apr 2026 | Published: 31 Jul 2026
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
J. Amin, M. Sharif, M. Raza, T. Saba and M.A. Anjum, "Brain tumor detection using statistical and machine learning method," Computer Methods and Programs in Biomedicine, vol. 177, pp. 69-79, 2019.
DOI: https://doi.org/10.1016/j.cmpb.2019.05.015
J. Amin, M. Sharif, A. Haldorai, M. Yasmin and R.S. Nayak, "Brain tumor detection and classification using machine learning: a comprehensive survey," Complex & Intelligent Systems, vol. 8, no. 4, pp. 3161-3183, 2022.
DOI: https://doi.org/10.1007/s40747-021-00563-y
T. Hossain, F.S. Shishir, M. Ashraf, M.A.A. Nasim and F.M. Shah, "Brain Tumor Detection Using Convolutional Neural Network," 2019 1st International Conference on Advances in Science, Engineering and Robotics Technology (ICASERT), pp. 1-6, 2019.
DOI: https://doi.org/10.1109/ICASERT.2019.8934561
D.C. Febrianto, I. Soesanti and H.A. Nugroho, "Convolutional Neural Network for Brain Tumor Detection," IOP Conference Series: Materials Science and Engineering, vol. 771, no. 1, pp. 012031, 2020.
DOI: https://doi.org/10.1088/1757-899X/771/1/012031
R. Martínez-Del-Rio-Ortega, J. Civit-Masot, F. Luna-Perejon and M. Dominguez-Morales, "Brain Tumor Detection Using Magnetic Resonance Imaging and Convolutional Neural Networks," Big Data and Cognitive Computing, vol. 8, no. 9, pp. 123, 2024. DOI: https://doi.org/10.3390/bdcc8090123
C.L. Choudhury, C. Mahanty, R. Kumar and B.K. Mishra, "Brain Tumor Detection and Classification Using Convolutional Neural Network and Deep Neural Network," 2020 International Conference on Computer Science, Engineering and Applications (ICCSEA), pp. 1-4, 2020.
DOI: https://doi.org/10.1109/ICCSEA49143.2020.9132874
M.S.I. Khan, A. Rahman, T. Debnath, M.R. Karim, M.K. Nasir, S.S. Band, A. Mosavi and I. Dehzangi, "Accurate brain tumor detection using deep convolutional neural network," Computational and Structural Biotechnology Journal, vol. 20, pp. 4733-4745, 2022.
DOI: https://doi.org/10.1016/j.csbj.2022.08.039
D. Lamrani, B. Cherradi, O.E. Gannour, M.A. Bouqentar and L. Bahatti, "Brain Tumor Detection using MRI Images and Convolutional Neural Network," International Journal of Advanced Computer Science and Applications, vol. 13, no. 7, 2022.
DOI: https://doi.org/10.14569/IJACSA.2022.0130755
P. Tiwari, B. Pant, M.M. Elarabawy, M. Abd-Elnaby, N. Mohd, G. Dhiman and S. Sharma, "CNN Based Multiclass Brain Tumor Detection Using Medical Imaging," Computational Intelligence and Neuroscience, vol. 2022, pp. 1-8, 2022.
DOI: https://doi.org/10.1155/2022/1830010
V.K. Bairagi, P.P. Gumaste, S.H. Rajput and C.K. S., "Automatic brain tumor detection using CNN transfer learning approach," Medical & Biological Engineering & Computing, vol. 61, no. 7, pp. 1821-1836, 2023.
DOI: https://doi.org/10.1007/s11517-023-02820-3
M.Z. Khaliki and M.S. Basarslan, "Brain tumor detection from images and comparison with transfer learning methods and 3-layer CNN," Scientific Reports, vol. 14, no. 1, 2024.
DOI: https://doi.org/10.1038/s41598-024-52823-9
D. Rastogi, P. Johri, M. Donelli, L. Kumar, S. Bindewari, A. Raghav and S.K. Khatri, "Brain Tumor Detection and Prediction in MRI Images Utilizing a Fine-Tuned Transfer Learning Model Integrated Within Deep Learning Frameworks," Life, vol. 15, no. 3, pp. 327, 2025.
DOI: https://doi.org/10.3390/life15030327
M. Khairandish, M. Sharma, V. Jain, J. Chatterjee and N. Jhanjhi, "A Hybrid CNN-SVM Threshold Segmentation Approach for Tumor Detection and Classification of MRI Brain Images," IRBM, vol. 43, no. 4, pp. 290-299, 2022.
DOI: https://doi.org/10.1016/j.irbm.2021.06.003
M. Kolla, R.K. Mishra, S.Z.u. Huq, Y. Vijayalata, M.V. Gopalachari and K. Siddiquee, "CNN-Based Brain Tumor Detection Model Using Local Binary Pattern and Multilayered SVM Classifier," Computational Intelligence and Neuroscience, vol. 2022, pp. 1-9, 2022.
DOI: https://doi.org/10.1155/2022/9015778
A. Rahman, M. Hayat, N. Iqbal, F.K. Alarfaj, S. Alkhalaf and F. Alturise, "Enhanced MRI brain tumor detection using deep learning in conjunction with explainable AI SHAP based diverse and multi feature analysis," Scientific Reports, vol. 15, no. 1, 2025.
DOI: https://doi.org/10.1038/s41598-025-14901-4
T.A. Soomro, L. Zheng, A.J. Afifi, A. Ali, S. Soomro, M. Yin and J. Gao, "Image Segmentation for MR Brain Tumor Detection Using Machine Learning: A Review," IEEE Reviews in Biomedical Engineering, vol. 16, pp. 70-90, 2023.
DOI: https://doi.org/10.1109/RBME.2022.3185292.
G. Hemanth, M. Janardhan and L. Sujihelen, "Design and Implementing Brain Tumor Detection Using Machine Learning Approach," 2019 3rd International Conference on Trends in Electronics and Informatics (ICOEI), pp. 1289-1294, 2019.
DOI: https://doi.org/10.1109/ICOEI.2019.8862553
A.B. Abdusalomov, M. Mukhiddinov and T.K. Whangbo, "Brain Tumor Detection Based on Deep Learning Approaches and Magnetic Resonance Imaging," Cancers, vol. 15, no. 16, pp. 4172, 2023.
DOI: https://doi.org/10.3390/cancers15164172
S. Solanki, U.P. Singh, S.S. Chouhan and S. Jain, "Brain Tumor Detection and Classification Using Intelligence Techniques: An Overview," IEEE Access, vol. 11, pp. 12870-12886, 2023.
DOI: https://doi.org/10.1109/ACCESS.2023.3242666
N. Rasool and J.I. Bhat, "Brain tumour detection using machine and deep learning: a systematic review," Multimedia Tools and Applications, vol. 84, no. 13, pp. 11551-11604, 2024.