Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 May 9;20(5):e0322624.
doi: 10.1371/journal.pone.0322624. eCollection 2025.

Brain tumor classification using MRI images and deep learning techniques

Affiliations

Brain tumor classification using MRI images and deep learning techniques

Yuki Wong et al. PLoS One. .

Abstract

Brain tumors pose a significant medical challenge, necessitating early detection and precise classification for effective treatment. This study aims to address this challenge by introducing an automated brain tumor classification system that utilizes deep learning (DL) and Magnetic Resonance Imaging (MRI) images. The main purpose of this research is to develop a model that can accurately detect and classify different types of brain tumors, including glioma, meningioma, pituitary tumors, and normal brain scans. A convolutional neural network (CNN) architecture with pretrained VGG16 as the base model is employed, and diverse public datasets are utilized to ensure comprehensive representation. Data augmentation techniques are employed to enhance the training dataset, resulting in a total of 17,136 brain MRI images across the four classes. The accuracy of this model was 99.24%, a higher accuracy than other similar works, demonstrating its potential clinical utility. This higher accuracy was achieved mainly due to the utilization of a large and diverse dataset, the improvement of network configuration, the application of a fine-tuning strategy to adjust pretrained weights, and the implementation of data augmentation techniques in enhancing classification performance for brain tumor detection. In addition, a web application was developed by leveraging HTML and Dash components to enhance usability, allowing for easy image upload and tumor prediction. By harnessing artificial intelligence (AI), the developed system addresses the need to reduce human error and enhance diagnostic accuracy. The proposed approach provides an efficient and reliable solution for brain tumor classification, facilitating early diagnosis and enabling timely medical interventions. This work signifies a potential advancement in brain tumor classification, promising improved patient care and outcomes.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Flowchart of the proposed methodology.
Fig 2
Fig 2. Sample images before and after augmentation.
Fig 3
Fig 3. Accuracy and loss plots of the model.
Fig 4
Fig 4. Confusion matrix of the brain tumor classification.
Fig 5
Fig 5. Web application output for uploaded glioma MRI image.

References

    1. Zuckerman C. Human Brain: facts and information. National Geographic. 2009. Oct 16 [Cited 2023 Jan 31]. Available from: https://www.nationalgeographic.com/science/article/brain-2
    1. Sharif MI, Li JP, Naz J, Rashid I. A comprehensive review on multi-organs tumor detection based on machine learning. Pattern Recognition Letters. 2020;131:30–7. doi: 10.1016/j.patrec.2019.12.006 - DOI
    1. NHS. Brain tumours - NHS. 2023. Jun 12 [cited 24 Jun 2023]. In: NHS. Available from: https://www.nhs.uk/conditions/brain-tumours
    1. Cancer.Net. Brain Tumor: Statistics. 2023. March [cited 24 Jun 2023]. In: Cancer.Net. Available from: https://www.cancer.net/cancer-types/brain-tumor/statistics
    1. National Brain Tumor Society. Brain Tumors Facts. 2023. [cited 24 Jun 2023]. In: National Brain Tumor Society. https://braintumor.org/brain-tumors/about-brain-tumors/brain-tumor-facts

MeSH terms