Brain Tumor Detection and Classification from MRI Images Using a Convolutional Neural Network Approach

Authors

  • Rahardian Andiharsa Sih Setiarto Universitas Dian Nuswantoro, Semarang
  • Ahmad Zainul Fanani Universitas Dian Nuswantoro, Semarang

DOI:

https://doi.org/10.30865/jurikom.v13i2.9610

Keywords:

Deep Learning, Tumor-Size, CNN, Artificial Inelligence, Brain tumor, MRI

Abstract

Brain tumors are a serious neurological disease that require rapid and accurate diagnosis to improve treatment success. However, conventional interpretation of brain MRI images is often time-consuming and highly dependent on radiologists’ expertise, which may lead to diagnostic inconsistency. This study aims to develop a brain tumor detection and classification model from MRI images using a Convolutional Neural Network (CNN) approach. The dataset consists of four classes, namely glioma, meningioma, pituitary, and no tumor. The research stages include data collection, image preprocessing, model training, and evaluation using accuracy, loss, precision, recall, and F1-score. The results show that the CNN model achieved a training accuracy of 1.0000 at the final epoch, while the testing phase produced an accuracy of 58.75% with a loss value of 1.9600. These findings indicate that the model was able to learn important patterns from MRI images, although the gap between training and testing performance suggests overfitting. This study contributes to the development of AI-based medical image classification for brain tumor identification and shows that CNN has potential as a supportive tool for assisting medical personnel in brain tumor diagnosis. Further improvements can be achieved through data augmentation, hyperparameter tuning, and optimization of model architecture.

References

[1] M. C. Dewan et al., “Global neurosurgery: The current capacity and deficit in the provision of essential neurosurgical care. Executive summary of the global neurosurgery initiative at the program in global surgery and social change,” J. Neurosurg., vol. 130, no. 4, pp. 1055–1064, Apr. 2019, doi: 10.3171/2017.11.JNS171500.

[2] B. E. Masel and D. S. DeWitt, “Traumatic brain injury: A disease process, not an event,” Aug. 01, 2010. doi: 10.1089/neu.2010.1358.

[3] G. Zoccatelli, F. Alessandrini, A. Beltramello, and A. Talacchi, “Advanced magnetic resonance imaging techniques in brain tumours surgical planning,” J. Biomed. Sci. Eng., vol. 06, no. 03, pp. 403–417, 2013, doi: 10.4236/jbise.2013.63a051.

[4] M. Martucci et al., “Magnetic Resonance Imaging of Primary Adult Brain Tumors: State of the Art and Future Perspectives,” Feb. 01, 2023, MDPI. doi: 10.3390/biomedicines11020364.

[5] L. Menashe et al., “The diagnostic performance of MRI in osteoarthritis: A systematic review and meta-analysis,” Osteoarthritis Cartilage, vol. 20, no. 1, pp. 13–21, Jan. 2012, doi: 10.1016/j.joca.2011.10.003.

[6] I. A. Abbasi, M. Alshehri, and Y. AlQahtani, “Tumor-specific PET tracer imaging and contrast-enhanced Mri based tumor volume differences inspection of glioblastoma patients,” Sci. Rep., vol. 15, no. 1, Dec. 2025, doi: 10.1038/s41598-025-15185-4.

[7] Md Ashraful Alam, Amir Sohel, Kh Maksudul Hasan, and Imran Ahmad, “Advancing Brain Tumor Detection Using Machine Learning And Artificial Intelligence: A Systematic Literature Review Of Predictive Models And Diagnostic Accuracy,” 2024.

[8] G. K. Thakur, A. Thakur, S. Kulkarni, N. Khan, and S. Khan, “Deep Learning Approaches for Medical Image Analysis and Diagnosis,” Cureus, May 2024, doi: 10.7759/cureus.59507.

[9] A. Younis et al., “Abnormal Brain Tumors Classification Using ResNet50 and Its Comprehensive Evaluation,” IEEE Access, vol. 12, pp. 78843–78853, 2024, doi: 10.1109/ACCESS.2024.3403902.

[10] M. Wageh, K. Amin, A. D. Algarni, A. M. Hamad, and M. Ibrahim, “Brain Tumor Detection Based on Deep Features Concatenation and Machine Learning Classifiers With Genetic Selection,” IEEE Access, vol. 12, pp. 114923–114939, 2024, doi: 10.1109/ACCESS.2024.3446190.

[11] S. Solanki, U. P. Singh, S. S. Chouhan, and S. Jain, “Brain Tumor Detection and Classification Using Intelligence Techniques: An Overview,” 2023, Institute of Electrical and Electronics Engineers Inc. doi: 10.1109/ACCESS.2023.3242666.

[12] A. Younis et al., “Abnormal Brain Tumors Classification Using ResNet50 and Its Comprehensive Evaluation,” IEEE Access, vol. 12, pp. 78843–78853, 2024, doi: 10.1109/ACCESS.2024.3403902.

[13] T. C. Kwee and R. M. Kwee, “Workload of diagnostic radiologists in the foreseeable future based on recent scientific advances: growth expectations and role of artificial intelligence,” Insights Imaging, vol. 12, no. 1, Dec. 2021, doi: 10.1186/s13244-021-01031-4.

[14] M. J. Van Den Bent, M. Weller, P. Y. Wen, J. M. Kros, K. Aldape, and S. Chang, “A clinical perspective on the 2016 WHO brain tumor classification and routine molecular diagnostics,” May 01, 2017, Oxford University Press. doi: 10.1093/neuonc/now277.

[15] V. P. Collins, “Brain tumours: Classification and genes,” 2004, BMJ Publishing Group. doi: 10.1136/jnnp.2004.040337.

[16] H. Malik, M. S. Farooq, A. Khelifi, A. Abid, J. Nasir Qureshi, and M. Hussain, “A Comparison of Transfer Learning Performance Versus Health Experts in Disease Diagnosis from Medical Imaging,” IEEE Access, vol. 8, pp. 139367–139386, 2020, doi: 10.1109/ACCESS.2020.3004766.

[17] L. Alzubaidi et al., “A survey on deep learning tools dealing with data scarcity: definitions, challenges, solutions, tips, and applications,” J. Big Data, vol. 10, no. 1, Dec. 2023, doi: 10.1186/s40537-023-00727-2.

[18] H. E. Kim, A. Cosa-Linan, N. Santhanam, M. Jannesari, M. E. Maros, and T. Ganslandt, “Transfer learning for medical image classification: a literature review,” Dec. 01, 2022, BioMed Central Ltd. doi: 10.1186/s12880-022-00793-7.

Published

2026-04-30

How to Cite

Andiharsa Sih Setiarto, R., & Ahmad Zainul Fanani. (2026). Brain Tumor Detection and Classification from MRI Images Using a Convolutional Neural Network Approach. JURNAL RISET KOMPUTER (JURIKOM), 13(2). https://doi.org/10.30865/jurikom.v13i2.9610

Issue

Section

Articles