ASPG Menu
search

American Scientific Publishing Group

verified Journal

Metaheuristic Optimization Review

ISSN
Online: 3066-280X
Frequency

Continuous publication

Publication Model

Open access journal. All articles are freely available online with no APC.

Metaheuristic Optimization Review
Review Article

Volume 6Issue 1PP: 103–117 • 2026

Deep Learning-Based Classification of Brain Tumors from Magnetic Resonance Imaging Scans Using a Convolutional Neural Network Model

Karim Eldreny 1*
1Department of Communications and Electronics, Delta Higher Institute of Engineering and Technology, Mansoura 35111, Egypt
* Corresponding Author.
Received: December 31, 2025 Revised: February 04, 2026 Accepted: April 01, 2026

Abstract

Brain tumors are serious neurological conditions that require accurate and timely classification to support medical evaluation and treatment planning. This project presents a deep learning-based system for classifying brain Magnetic Resonance Imaging (MRI) scans into four categories: glioma, meningioma, pituitary tumor, and no tumor. The proposed system uses a Convolutional Neural Network (CNN) trained on a balanced dataset of 7,200 MRI images collected from publicly available sources. The images were preprocessed through RGB conversion, resizing, tensor transformation, and normalization to ensure consistent input for model training and testing. The trained model achieved an overall classification accuracy of 94.31% on a held-out test set of 1,600 MRI images, demonstrating strong performance in multi-class brain tumor classification. A Streamlit-based web application was also developed to allow users to upload MRI images and view the predicted class, confidence score, and probability distribution across the four categories. The system is intended for educational and research purposes only and should not replace professional medical diagnosis, clinical judgment, or radiological evaluation.

Keywords

Brain Tumor Classification Magnetic Resonance Imaging Deep Learning Convolutional Neural Network Medical Image Classification

References

[1] Gopal S. Tandel, Antonella Balestrieri, Tanay Jujaray, Narender N. Khanna, Luca Saba, and Jasjit S. Suri. Multiclass magnetic resonance imaging brain tumor classification using artificial intelligence paradigm. Computers in Biology and Medicine, 122:103804, 2020.

[2] Ahmad Saleh, Rozana Sukaik, and Samy S. Abu-Naser. Brain tumor classification using deep learning. In 2020 International Conference on Assistive and Rehabilitation Technologies (iCareTech), pages 131–136. IEEE, 2020.

[3] Hapsari Peni Agustin Tjahyaningtijas, Dewinda Julianensi Rumala, Cucun Very Angkoso, Nurul Zainal Fanani, Joan Santoso, Anggraini Dwi Sensusiati, Peter MA Van Ooijen, IKE Ketut Eddy Purnama, and Mauridhi Hery Purnomo. Brain tumor classification in MRI images using en-CNN. International Journal of Intelligent Engineering and Systems, 14(4):437–451, 2021.

[4] Evangelia I. Zacharaki, Sumei Wang, Sanjeev Chawla, Dong Soo Yoo, Ronald Wolf, Elias R. Melhem, and Christos Davatzikos. Classification of brain tumor type and grade using MRI texture and shape in a machine learning scheme. Magnetic Resonance in Med, 62(6):1609–1618, December 2009.

[5] Yuki Wong, Eileen Lee Ming Su, Che Fai Yeong, William Holderbaum, and Chenguang Yang. Brain tumor classification using MRI images and deep learning techniques. PloS one, 20(5):e0322624, 2025.

[6] Shuvashis Sarker. Transfer Learning and Explainable AI for Brain Tumor Classification: A Study Using MRI Data from Bangladesh. In 2024 6th International Conference on Sustainable Technologies for Industry 5.0 (STI), pages 1–6. IEEE, 2024.

[7] Md Mahfuz Ahmed, Md Maruf Hossain, Md Rakibul Islam, Md Shahin Ali, Abdullah Al Noman Nafi, Md Faisal Ahmed, Kazi Mowdud Ahmed, Md Sipon Miah, Md Mahbubur Rahman, and Mingbo Niu. Brain tumor detection and classification in MRI using hybrid ViT and GRU model with explainable AI in Southern Bangladesh. Scientific reports, 14(1):22797, 2024.

[8] Md. Ariful Islam, M. F. Mridha, Mejdl Safran, Sultan Alfarhood, and Md. Mohsin Kabir. Revolutionizing Brain Tumor Detection Using Explainable AI in MRI Images. NMR in Biomedicine, 38(3):e70001, March 2025.

[9] Abdullah A. Asiri, Toufique Ahmed Soomro, Ahmed Ali Shah, Ganna Pogrebna, Muhammad Irfan, and Saeed Alqahtani. Optimized brain tumor detection: a dual-module approach for mri image enhancement and tumor classification. IEEE access, 12:42868–42887, 2024.

[10] Sanjukta Chakraborty and Dilip Kumar Banerjee. A review of brain cancer detection and classification using artificial intelligence and machine learning. Journal of Artificial Intelligence and Systems, 6(1):146–178, 2024.

[11] M. Thachayani and Sneha Kurian. AI based classification framework for cancer detection using brain MRI images. In 2021 International conference on system, computation, automation and networking (ICSCAN), pages 1–4. IEEE, 2021.

[12] Diponkor Bala, Mohammad Anwarul Islam, Mohammad Iqbal Hossain, Mohammed Mynuddin, Mohammad Alamgir Hossain, and Md Shamim Hossain. Automated brain tumor classification system using convolutional neural networks from mri images. In 2022 International Conference on Engineering and Emerging Technologies (ICEET), pages 1–6. IEEE, 2022.

[13] L. Reddy, Muniyandy Elangovan, M. Vamsikrishna, and Ch Ravindra. Brain Tumor Detection and Classification Using Deep Learning Models on MRI Scans. EAI Endorsed Transactions on Pervasive Health & Technology, 10(1), 2024.

[14] Asma Alshuhail, Arastu Thakur, R Chandramma, T R Mahesh, Ahlam Almusharraf, V Vinoth Kumar, and Surbhi Bhatia Khan. Refining neural network algorithms for accurate brain tumor classification in MRI imagery. BMC Med Imaging, 24(1):118, May 2024.

[15] Sarah Ali Abdelaziz Ismael, Ammar Mohammed, and Hesham Hefny. An enhanced deep learning approach for brain cancer MRI images classification using residual networks. Artificial intelligence in medicine, 102:101779, 2020.

[16] Chetana Srinivas, Nandini Prasad K. S., Mohammed Zakariah, Yousef Ajmi Alothaibi, Kamran Shaukat, B. Partibane, and Halifa Awal. Deep Transfer Learning Approaches in Performance Analysis of Brain Tumor Classification Using MRI Images. Journal of Healthcare Engineering, 2022:1–17, March 2022.

[17] Nadia Shamshad, Danish Sarwr, Ahmad Almogren, Kiran Saleem, Alia Munawar, Ateeq Ur Rehman, and Salil Bharany. Enhancing brain tumor classification by a comprehensive study on transfer learning techniques and model efficiency using MRI datasets. IEEe Access, 12:100407–100418, 2024.

[18] Shaimaa E. Nassar, Ibrahim Yasser, Hanan M. Amer, and Mohamed A. Mohamed. A robust MRI-based brain tumor classification via a hybrid deep learning technique. J Supercomput, 80(2):2403–2427, January 2024.

[19] Shahriar Hossain, Amitabha Chakrabarty, Thippa Reddy Gadekallu, Mamoun Alazab, and Md Jalil Piran. Vision transformers, ensemble model, and transfer learning leveraging explainable AI for brain tumor detection and classification. IEEE Journal of Biomedical and Health Informatics, 28(3):1261–1272, 2023.

[20] Yoon Han Chel and Lin Lih Poh. Brain tumor classification in MRI: Insights from LIME and Grad-CAM explainable AI techniques. IEEE Access, 2025.

[21] Soun Marina. Improving diagnostic accuracy of brain tumor MRI classification using generative AI and deep learning techniques. Babylonian Journal of Artificial Intelligence, 2025:55–63, 2025.

[22] Monika Sachdeva and Alok Kumar Singh Kushwaha. AI-based intelligent hybrid framework (BODenseXGB) for multi-classification of brain tumor using MRI. Image and Vision Computing, 154:105417, 2025.

[23] Girish Bathla, Durjoy Deb Dhruba, Neetu Soni, Yanan Liu, Nicholas B. Larson, Blake A. Kassmeyer, Suyash Mohan, Douglas Roberts-Wolfe, Saima Rathore, and Nam H. Le. AI-based classification of three common malignant tumors in neuro-oncology: A multiinstitutional comparison of machine learning and deep learning methods. Journal of neuroradiology, 51(3):258–264, 2024.

[24] Hamid R. Alsanad. Hybrid Deep Learning Framework with Explainable AI for Multi-Class Brain Tumor Classification Using MRI Images. Anbar Journal of Engineering Sciences, 17(1):192–203, 2026.

[25] Joice J. Anish and D. Ajitha. Exploring the state-of-theart algorithms for brain tumor classification using MRI data. IEEE Access, 2025.

[26] Mehmet U. Dalmi,s, Albert Gubern-Merida, Suzan Vreemann, Peter Bult, Nico Karssemeijer, Ritse Mann, and Jonas Teuwen. Artificial intelligence–based classification of breast lesions imaged with a multiparametric breast MRI protocol with ultrafast DCE-MRI, T2, and DWI. Investigative radiology, 54(6):325–332, 2019.

[27] Mohamed Musthafa M, Mahesh T. R, Vinoth Kumar V, and Suresh Guluwadi. Enhancing brain tumor detection in MRI images through explainable AI using Grad- CAM with Resnet 50. BMC Med Imaging, 24(1):107, May 2024.

[28] V. Yamuna, R. V. S. Praveen, R. Sathya, M. Dhivva, R. Lidiya, and P. Sowmiya. Integrating AI for improved brain tumor detection and classification. In 2024 4th International Conference on Sustainable Expert Systems (ICSES), pages 1603–1609. IEEE, 2024.

[29] Shah Foysal Hossain, Md Al Amin, Irin Akter Liza, Shahriar Ahmed, Md Musa Haque, Md Azharul Islam, and Sarmin Akter. AI-based brain MRI segmentation for early diagnosis and treatment planning of low-grade gliomas in the USA. British Journal of Nursing Studies, 3(2):37–55, 2023.

[30] Vinayaka R. Srinivas and Ramasubramanian Parvathi. Explainable AI-driven MRI-based brain tumor classification: a novel deep learning approach. Frontiers in Artificial Intelligence, 8:1700214, 2025.

[31] Amin Kabir Anaraki, Moosa Ayati, and Foad Kazemi. Magnetic resonance imaging-based brain tumor grades classification and grading via convolutional neural networks and genetic algorithms. biocybernetics and biomedical engineering, 39(1):63–74, 2019.

[32] Hiba Mzoughi, Ines Njeh, Mohamed BenSlima, Nouha Farhat, and Chokri Mhiri. Vision transformers (ViT) and deep convolutional neural network (D-CNN)-based models for MRI brain primary tumors images multiclassification supported by explainable artificial intelligence (XAI). Vis Comput, 41(4):2123–2142, March 2025.

[33] Sahar Gull and Shahzad Akbar. Artificial intelligence in brain tumor detection through MRI scans: advancements and challenges. Artificial intelligence and internet of things, pages 241–276, 2021.

[34] Md Rahman, Mustavi Masum, Khan Hasib, M. Mridha, Sultan Alfarhood, Mejdl Safran, and Dunren Che. GliomaCNN: an effective lightweight CNN model in assessment of classifying brain tumor from magnetic resonance images using explainable AI. Computer Modeling in Engineering & Sciences, 140(3):2425, 2024.

[35] Arsalan Khan, Sugyani Rani Panda, Mansha Gupta, Md Hasnain Raza, Soumya Snigdha Mohapatra, and Debendra Muduli. A Two-Phase Fine Tuned Xception Model with Explainable AI for Brain Tumor Classification in MRI Images. In 2025 International Conference on Intelligent and Cloud Computing (ICoICC), pages 1–6. IEEE, 2025.

[36] Farzan Moodi, Fereshteh Khodadadi Shoushtari, Delaram J. Ghadimi, Gelareh Valizadeh, Ehsan Khormali, Hanieh Mobarak Salari, Mohammad Amin Dabbagh Ohadi, Yalda Nilipour, Amin Jahanbakhshi, and Hamidreza Saligheh Rad. Glioma Tumor Grading Using Radiomics on Conventional <span style="font-variant:small-caps;">MRI</span> : A Comparative Study of <span style="font-variant:smallcaps;"> WHO</span> 2021 and <span style="fontvariant: small-caps;">WHO</span> 2016 Classification of Central Nervous Tumors. Magnetic Resonance Imaging, 60(3):923–938, September 2024.

[37] Faris Rustom, Ezekiel Moroze, Pedram Parva, Haluk Ogmen, and Arash Yazdanbakhsh. Deep learning and transfer learning for brain tumor detection and classification. Biology Methods and Protocols, 9(1):bpae080, 2024.

[38] Essam H. Houssein, Amr M. Gamal, Eman M. G. Younis, and Ebtsam Mohamed. Explainable artificial intelligence for brain tumor classification via fine-tuned transfer learning. Discov Artif Intell, 6(1):306, March 2026.

[39] Lal Hussain, Pauline Huang, Tony Nguyen, Kashif J. Lone, Amjad Ali, Muhammad Salman Khan, Haifang Li, Doug Young Suh, and Tim Q. Duong. Machine learning classification of texture features of MRI breast tumor and peri-tumor of combined pre- and early treatment predicts pathologic complete response. BioMed Eng OnLine, 20(1):63, June 2021.

[40] Yu Ji, Heather M. Whitney, Hui Li, Peifang Liu, Maryellen L. Giger, and Xuening Zhang. Differences in Molecular Subtype Reference Standards Impact AI-based Breast Cancer Classification with Dynamic Contrast-enhanced MRI. Radiology, 307(1):e220984, April 2023.

Cite This Article

Choose your preferred format

format_quote
Eldreny, Karim . "Deep Learning-Based Classification of Brain Tumors from Magnetic Resonance Imaging Scans Using a Convolutional Neural Network Model." Metaheuristic Optimization Review, vol. Volume 6, no. Issue 1, 2026, pp. 103–117. DOI: https://doi.org/10.54216/MOR.060108
Eldreny, K. (2026). Deep Learning-Based Classification of Brain Tumors from Magnetic Resonance Imaging Scans Using a Convolutional Neural Network Model. Metaheuristic Optimization Review, Volume 6(Issue 1), 103–117. DOI: https://doi.org/10.54216/MOR.060108
Eldreny, Karim . "Deep Learning-Based Classification of Brain Tumors from Magnetic Resonance Imaging Scans Using a Convolutional Neural Network Model." Metaheuristic Optimization Review Volume 6, no. Issue 1 (2026): 103–117. DOI: https://doi.org/10.54216/MOR.060108
Eldreny, K. (2026) 'Deep Learning-Based Classification of Brain Tumors from Magnetic Resonance Imaging Scans Using a Convolutional Neural Network Model', Metaheuristic Optimization Review, Volume 6(Issue 1), pp. 103–117. DOI: https://doi.org/10.54216/MOR.060108
Eldreny K. Deep Learning-Based Classification of Brain Tumors from Magnetic Resonance Imaging Scans Using a Convolutional Neural Network Model. Metaheuristic Optimization Review. 2026;Volume 6(Issue 1):103–117. DOI: https://doi.org/10.54216/MOR.060108
K. Eldreny, "Deep Learning-Based Classification of Brain Tumors from Magnetic Resonance Imaging Scans Using a Convolutional Neural Network Model," Metaheuristic Optimization Review, vol. Volume 6, no. Issue 1, pp. 103–117, 2026. DOI: https://doi.org/10.54216/MOR.060108
Digital Archive Ready