An efficient brain tumor classification system with accurate recognition and complementary downsampling blocks
Jincan Zhang, Chuanqi Cai, XingHua Tan, Wenna Chen, Xin Zhao, Ganqin Du, Hongwei Jiang
Abstract
Due to the substantial impact of brain tumors on human health, precise identification of tumor types is vital for patient prognosis and guiding treatment decisions. Magnetic Resonance Imaging (MRI) technology, owing to its non-invasive nature and high resolution, is indispensable in accurately classifying brain tumor types.
Introduction
Brain tumors are primarily categorized into two distinct types, primary brain tumors and brain metastases. Surgical intervention, particularly complete resection, is often regarded as the optimal approach for managing this condition [1]. Prior to treatment, a thorough evaluation of the tumor is imperative to ensure the effectiveness of the therapeutic intervention. MRI, a widely utilized imaging technique for elucidating the shape, size, and location of brain tumors, holds a crucial role in this assessment [2].
Materials and methods
This paper conducts a series of experiments aimed at classifying brain tumors using publicly available MRI datasets. The dataset, sourced from Cheng et al.[ 30 ], comprises 3064 grayscale brain MR images categorized into three groups: 708 meningioma samples, 1426 glioma samples, and 930 pituitary tumor samples. In addition, experimental data sets consisting of 3264 grayscale brain MR images from the Kaggle platform [31] were also used.
Results
The experiments were conducted on a computer equipped with a 3.50 GHz CPU, 64.0 GB RAM, and an NVIDIA GeForce RTX 4070 Ti. All experiments were conducted in Python 3.10 environment. PyTorch 2.1.1 and TorchVision 0.16.1 are used to implement the proposed model.
Discussion
A confusion matrix [36] is a specific tabular layout that is primarily used to evaluate the performance of a classification model to clearly show how well the classification model predicts actual samples. The confusion matrices of the proposed model on the Chen and Kaggle datasets are shown in Fig 8 and Fig 9, respectively. Equations (12) to (15) are utilized to compute the specific values of the model’s classification outcomes from the confusion matrixes.
Conclusion
Early diagnosis of brain tumors plays a crucial role in treatment decision-making. Given the cumbersome and time-consuming nature of manual examination of brain tumors, the imperative need arises for the development of automated detection methods to aid physicians. A method for efficient detection of multiple types of brain tumors is proposed in this paper.
Acknowledgments
The provision of these two public datasets by Kaggle and Chen is greatly appreciated by us.
Citation: Zhang J, Cai C, Tan X, Chen W, Zhao X, Du G, et al. (2026) An efficient brain tumor classification system with accurate recognition and complementary downsampling blocks. PLoS One 21(9): e0343457. https://doi.org/10.1371/journal.pone.0343457
Editor: Ali Mohammad Alqudah, University of Manitoba, CANADA
Received: October 31, 2024; Accepted: September 15, 2026; Published: September 30, 2026
Copyright: © 2026 Zhang et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The datasets used are free and open. Dataset Chen from figshare(https://figshare.com/articles/dataset/Chen/28533134?file=55975439). Dataset Kaggle from figshare(https://figshare.com/articles/dataset/Kaggle/28533164?file=52781087). The Dataset Brain Tumor MRI from figshare (https://figshare.com/articles/dataset/The_Dataset_Brain_Tumor_MRI/28533221?file=52782272). Our model code can be found in the following web site: https://figshare.com/articles/software/CODE/28537058?file=52799603.
Funding: This research is funded by the Major Science and Technology Projects of Henan Province (No. 221100210500), the Foundation of Henan Educational Committee (No. 24A320004), the Medical and Health Research Project in Luoyang (No. 2001027A), and the Construction Project of Improving Medical Service Capacity of Provincial Medical Institutions in Henan Province (No. 2017-51).Role of Funder statement: The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.