Introduction

Brain tumors are abnormal masses of tissue that arise due to the uncontrolled growth of cells in the brain or its surrounding structures. These tumors can disrupt normal brain functions, leading to a range of symptoms, including persistent headaches, seizures, cognitive impairments, and motor dysfunctions1. Brain tumors are broadly categorized into two main types: benign and malignant. Benign tumors are generally slow-growing and non-cancerous, whereas malignant tumors are aggressive and capable of invading surrounding tissues2.

The classification of brain tumors is critical for understanding their biological behavior and guiding appropriate treatment strategies. Tumors are often classified based on their origin, histological type, and molecular characteristics. Primary brain tumors, such as gliomas, meningiomas, and pituitary adenomas, originate within the brain, while secondary (metastatic) tumors arise from cancers in other parts of the body that have spread to the brain3. The World Health Organization (WHO) grading system further refines this classification, ranging from Grade I (least aggressive) to Grade IV (most aggressive), based on tumor aggressiveness and prognosis3.

Magnetic Resonance Imaging (MRI) is a pivotal tool in the diagnosis and management of brain tumors. This advanced imaging technology utilizes powerful magnetic fields and radio waves to produce highly detailed images of the brain, enabling the precise visualization of tumor characteristics4. Unlike CT scans or X-rays, MRI does not use ionizing radiation, making it a safer option for repeated imaging. MRI is invaluable for identifying the size, location, and extent of brain tumors. It helps distinguish between tumor types, evaluate their impact on surrounding structures, and guide treatment decisions5. Therefore, recently, researchers have utilized MRI images to detect brain tumors through computer-aided detection (CAD) methods6.

The structure of this study is organized to ensure clarity and coherence in presenting the research. “Related works” provides a detailed exploration of existing methods for brain tumor detection, emphasizing their limitations. “Proposed methodology” offers the innovative aspects of the approach and describes its detailed implementation. “Experimental results” presents a comparison of the simulation outcomes of the implemented model with those of existing techniques. It also includes an analysis of factors that contribute to the success and efficiency of the suggested strategy. Finally, “Discussions” summarizes the main findings and highlights the effectiveness and potential impact of the proposed methodology in advancing brain tumor detection.

Related works

The incidence of brain tumor cases is rapidly increasing worldwide. If these tumors are not identified in their early stages, patients may experience severe medical complications. To address this challenge, numerous computer-aided detection (CAD) techniques have been developed in recent years7,8. This discussion highlights several recent methodologies while summarizing the challenges associated with these approaches.

Zhang et al.9 introduced an innovative approach for classifying brain MRI images by utilizing wavelet energy (WE) feature extraction in combination with a K-nearest neighbor (KNN) learning model. Similarly, Zhou et al.10 proposed an automated method for brain MRI classification, leveraging wavelet entropy (WN) features in conjunction with the Naive Bayes (NB) classifier. Yang et al.11 employed WE features alongside a kernel-based support vector machine (SVM) to effectively distinguish brain abnormalities in MRI scans. Additionally, Bahadure et al.12 developed a computer-aided diagnostic (CAD) system designed for brain tumor detection using Berkeley wavelet transform (BWT), discrete cosine transform (DCT), and genetic algorithms (GA).

In another study, Abadi et al.13 presented a diagnostic framework incorporating the gray-level co-occurrence matrix (GLCM) and a singular value decomposition-based radial basis function neural network (SVD-RBFNN). Gokulalakshmi et al.14 proposed an advanced classification model that integrates discrete wavelet transform (DWT) and SVM techniques to analyze brain MRI images. Mudda et al.15 introduced a more refined brain tumor classification method by combining gray-level run-length matrix (GLRLM), center-symmetric local binary patterns (CS-LBP), and artificial neural networks (ANN). For more accurate diagnostics, Ansari et al.16 created an enhanced statistical machine learning model that integrates GLCM, DWT, and SVM.

Togaçar et al.17 and Kaur et al.18 proposed deep learning-based automated techniques for brain tumor detection, demonstrating the efficacy of neural networks in medical imaging. Furthermore, Kumar et al.19 developed an automated detection and classification methodology using DWT, principal component analysis (PCA), and kernel-based SVM (K-SVM). Amin Abdollahi et al.20 advanced brain tumor classification by employing an enhanced convolutional neural network (CNN) optimized with a nonlinear Levy chaotic moth flame optimizer (NLCMFO). Janardhana Rao et al.21 applied a pre-trained ResNet-18 model for analyzing brain MRI images, while Mohsen Ahmadi et al.22 proposed a customized CNN model paired with PCA for brain tumor detection in MRI scans.

Sowjanya et al.23 developed a novel methodology for the classification of brain tumors using histogram-based local shape and texture features followed by supervised learning models. Abdullah et al.24 presented a machine learning (ML)-based framework for the grading of brain tumors. Rahman et al.25 implemented an EfficientNet-B5 architecture to discriminate normal and pathological brain MRI images. Yanning et al.26 proposed a new framework with scarce labels, namely Double-SimCLR, to improve the robustness of the brain tumor detection system.

By analyzing the issues outlined above, it is evident that while these methods have significantly advanced brain tumor detection, they still face challenges such as a heavy reliance on feature engineering, high computational demands, sensitivity to dataset size, and the risk of overfitting. These limitations underscore the need for further refinement to improve the robustness and scalability of such techniques. To address these challenges, we propose a novel framework for classifying brain MRI images. This framework incorporates Tuned Single-Scale Retinex (TSSR), Empirical Wavelet Transform (EWT), and statistical measures such as energy and entropy (Shannon and Tsallis) to enhance diagnostic accuracy.

Key contributions

The key contributions of the proposed approach are as follows:

  1. 1.

    A Retinex-based enhancement model is employed to enhance the quality of brain MRI images, thereby improving the classification accuracy of the model.

  2. 2.

    A novel feature set is proposed, combining the Empirical Wavelet Transform (EWT) with energy and entropy measures. The performance of this feature set is compared against traditional wavelet-based energy and entropy features to demonstrate its efficiency. This combination is a unique aspect of the proposed framework, introduced for the first time in the classification of brain tumors from MRI images.

  3. 3.

    The effectiveness of the proposed model is validated using various wavelet basis functions and benchmarked against widely recognized approaches.

  4. 4.

    To highlight the significance of the proposed Retinex model, its performance is assessed under different noise conditions and geometric transformations. This evaluation constitutes a key contribution of the proposed approach.

Proposed methodology.

The proposed approach consists of four key stages. First, contrast enhancement is achieved through the TSSR technique to enhance image quality. Second, the enhanced images are decomposed using EWT to capture essential frequency components. Third, energy and entropy features are extracted from the decomposed images to provide meaningful representations. Finally, the extracted features are classified using supervised machine learning approaches, as illustrated in Fig. 1.

Fig. 1
Fig. 1
Full size image

Working flow of the proposed framework.

Contrast enhancement

MRI sequences are vital diagnostic tools for analyzing medical images and visualizing the internal structure of the human body. However, during the image acquisition process, MRI images are often affected by various types of noise27, primarily due to environmental factors such as illumination variability. This noise can result in the loss of critical information and degrade image quality, making it challenging for medical practitioners to accurately diagnose diseases. Therefore, obtaining high-quality MRI images is essential for enhancing detection accuracy. To address this issue, a TSSR approach has been implemented28. This method significantly enhances the contrast and brightness of MRI brain images without compromising fine details, offering superior performance compared to existing techniques29. The mathematical formulation of the TSSR is provided below:

$$\:TSSR\left(m,n\right)={log}\left(I\left(m,m\right)\right)-{log}\left(h\left(m,n\right)*I\left(m,n\right)\right),$$
(1)
$$\:h\left(x,y\right)=\frac{N{exp}\left(-\frac{G{\left(m,n\right)}^{2}+\widehat{G}{\left(m,n\right)}^{2}}{{L}^{2}}\right)}{\xi\:},$$
(2)
$$\:N=\frac{1}{{\sum\:}_{m=1}^{L\sum\:}{\sum\:}_{n=1}^{L\sum\:}exp\left(-\frac{G{\left(m,n\right)}^{2}+\widehat{G}{\left(m,n\right)}^{2}}{{L}^{2}}\right)}$$
(3)

where \(\:I(m,n)\) is the original image; L is the dimensions of the image; G and \(\:\widehat{G}\) denotes the gradient along \(\:m\) and \(\:n\) direction; N illustrates the normalization factor; \(\:h(m,n)\)is the modified Gaussian function; ‘\( * \)’ indicates the convolution operator; \(\:\xi\:\)is an arbitrary constant which controls the brightness and contrast of an image. In the TSSR method, the parameter \(\:\xi\:\) controls image brightness and contrast. In this work, \(\:\xi\:\) = 1.5 is selected after evaluating several brain MRI images to enhance tumor visibility without introducing noise or edge artifacts. This value preserved anatomical detail while improving contrast between healthy and abnormal regions. Our choice is consistent with prior studies28, which recommend values between 1.2 and 2 for effective MR image enhancement. The effectiveness of β = 1.5 is visually supported in Fig. 2. It was observed that the TSSR method enhances the visual details of the tumor-affected region when compared to the original images. Consequently, the proposed model demonstrates improved effectiveness differentiating tumors in enhanced MR brain images. After that, decompose the enhanced image into low and high-frequency components using the EWT. Algorithm 1 represents the pseudo-code of the suggested enhanced model.

Fig. 2
Fig. 2
Full size image

Contrast enhancement: (a,b) Original images; (c,d) enhanced images.

Algorithm 1 Pseudo code of the proposed enhanced model.

Image decomposition

Recently, wavelets and their geometric extensions, such as Ridgelet30, Curvelet31, and Contourlet32 transforms, have been widely applied in the analysis of MR images. These methods rely on fixed basis functions, which may not be optimal for characterizing the image. This limitation can be overcome by employing adaptive decomposition techniques. In line with this, we introduce the Empirical Wavelet Transform (EWT)33, which combines the strengths of both Empirical Mode Decomposition (EMD)34 and Wavelet Transform (WT)35. The primary advantage of EWT lies in its ability to accurately capture the local characteristics (or features) of an image. The EWT approach can be summarized as follows:

1) Divide the Fourier spectrum.

2) Building an empirical wavelet filter-bank.

3) EWT representation.

Divide the Fourier spectrum

Here, initially, we employed a Fast-Fourier Transform (FFT) to obtain spectrum of a signal over a frequency range of\(\left[ {0,\pi } \right]\). For boundaries, the corresponding Fourier spectrum is segmented into N frequency bands as shown in Fig. 3 and they are represented by\({\lambda _n}=\left[ {{\omega _{n - 1}},{\omega _n}} \right]\), where\(n=1,2,3, \ldots ,N\). From this, the complete Fourier spectrum is can be obtained by \( \cup _{{n=1}}^{N}{\lambda _n}=\left[ {0,\pi } \right]\). Now, we develop the filter-banks to implement EWT.

Building an empirical wavelet filter bank

To construct EWT, we define a bank of N wavelet filters including one low-pass (LP) and \(N - 1\)band-pass (BP) filters as shown in Fig. 3 using the idea utilized in building Meyer wavelets37. Then, the empirical scaling and wavelet functions of one-dimensional EWT (1D-EWT) using various basis functions are given by.

Fig. 3
Fig. 3
Full size image

Principle of Fourier spectrum decomposition (adopted from work in36).

  1. a)

    Ridgelet and tensor:

$${\Phi _n}\left( \omega \right)=\left\{ {\begin{array}{*{20}{l}} 1&{{\text{if}}{\mkern 1mu} \left| \omega \right| \leqslant \left( {1 - \alpha } \right){\omega _n},} \\ {\cos \left[ {\frac{\pi }{2}\beta \left( {\frac{1}{{2\alpha {\omega _n}}}\left( {\left| \omega \right| - \left( {1 - \alpha } \right){\omega _n}} \right)} \right)} \right]}&{{\text{if}}{\mkern 1mu} \left( {1 - \alpha } \right){\omega _n} \leqslant \left| \omega \right| \leqslant \left( {1+\alpha } \right){\omega _n}} \\ 0&{{\text{otherwise}}.} \end{array}} \right.,$$
(4)
$${\Psi _n}\left( \omega \right)=\left\{ {\begin{array}{*{20}{l}} 1&{{\text{if}}{\mkern 1mu} \left( {1+\alpha } \right){\omega _n} \leqslant \left| \omega \right| \leqslant \left( {1 - \alpha } \right){\omega _{n+1}},} \\ {\cos \left[ {\frac{\pi }{2}\beta \left( {\frac{1}{{2\alpha {\omega _{n+1}}}}\left( {\left| \omega \right| - \left( {1 - \alpha } \right){\omega _{n+1}}} \right)} \right)} \right]}&{{\text{if}}{\mkern 1mu} \left( {1 - \alpha } \right){\omega _{n+1}} \leqslant \left| \omega \right| \leqslant \left( {1+\alpha } \right){\omega _{n+1}},} \\ {\sin \left[ {\frac{\pi }{2}\beta \left( {\frac{1}{{2\alpha {\omega _n}}}\left( {\left| \omega \right| - \left( {1 - \alpha } \right){\omega _n}} \right)} \right)} \right]}&{{\text{if}}{\mkern 1mu} \left( {1 - \alpha } \right){\omega _n} \leqslant \left| \omega \right| \leqslant \left( {1+\alpha } \right){\omega _n},} \\ 0&{{\text{otherwise}}.} \end{array}} \right.$$
(5)
  1. b)

    Littlewood-Paley:

$${\Phi _n}\left( \omega \right)=\left\{ {\begin{array}{*{20}{l}} 1&{{\text{if}}{\mkern 1mu} \left| \omega \right| \leqslant \left( {1 - \alpha } \right){\omega _n},} \\ {\cos \left[ {\frac{\pi }{2}\beta \left( {\frac{1}{{2\alpha {\omega _n}}}\left( {\left| \omega \right| - \left( {1 - \alpha } \right){\omega _n}} \right)} \right)} \right]}&{{\text{if}}{\mkern 1mu} \left( {1 - \alpha } \right){\omega _n} \leqslant \left| \omega \right| \leqslant \left( {1+\alpha } \right){\omega _n}} \\ 0&{{\text{otherwise}}.} \end{array}} \right.,$$
(6)

and, when \(n{\text{ }} \ne {\text{ }}N - 1:\)

$${\Psi _n}\left( \omega \right)=\left\{ {\begin{array}{*{20}{l}} 1&{{\text{if}}{\mkern 1mu} \left( {1+\alpha } \right){\omega _n} \leqslant \left| \omega \right| \leqslant \left( {1 - \alpha } \right){\omega _{n+1}},} \\ {\cos \left[ {\frac{\pi }{2}\beta \left( {\frac{1}{{2\alpha {\omega _{n+1}}}}\left( {\left| \omega \right| - \left( {1 - \alpha } \right){\omega _{n+1}}} \right)} \right)} \right]}&{{\text{if}}{\mkern 1mu} \left( {1 - \alpha } \right){\omega _{n+1}} \leqslant \left| \omega \right| \leqslant \left( {1+\alpha } \right){\omega _{n+1}},} \\ {\sin \left[ {\frac{\pi }{2}\beta \left( {\frac{1}{{2\alpha {\omega _n}}}\left( {\left| \omega \right| - \left( {1 - \alpha } \right){\omega _n}} \right)} \right)} \right]}&{{\text{if}}{\mkern 1mu} \left( {1 - \alpha } \right){\omega _n} \leqslant \left| \omega \right| \leqslant \left( {1+\alpha } \right){\omega _n},} \\ 0&{{\text{otherwise}}.} \end{array}} \right.$$
(7)

and, when \(n{{ = }}N - 1:\)

$${\Psi _{N - 1}}\left( \omega \right)=\left\{ {\begin{array}{*{20}{l}} 1&{{\text{if}}{\mkern 1mu} \left( {1+\alpha } \right){\omega _{N - 1}} \leqslant \left| \omega \right|,} \\ {\sin \left[ {\frac{\pi }{2}\beta \left( {\frac{1}{{2\alpha {\omega _{N - 1}}}}\left( {\left| \omega \right| - \left( {1 - \alpha } \right){\omega _{N - 1}}} \right)} \right)} \right]}&{{\text{if}}{\mkern 1mu} \left( {1 - \alpha } \right){\omega _{N - 1}} \leqslant \left| \omega \right| \leqslant \left( {1+\alpha } \right){\omega _{N - 1}}} \\ 0&{{\text{otherwise}}.} \end{array}} \right.,$$
(8)

Here, the arbitrary function\(\beta \left( z \right)\), the parameter \(\alpha \)and the transition phase \({T_n}\) are defined as follows

$$\beta \left( z \right)=\left\{ {\begin{array}{*{20}{l}} 0&{{\text{if}}{\mkern 1mu} z \leqslant 0} \\ 1&{{\text{if}}{\mkern 1mu} z \geqslant 1} \\ {{z^4}\left( {35 - 84z+70{z^2} - 20{z^3}} \right)}&{{\text{if}}{\mkern 1mu} z \in \left[ {0,1} \right]} \end{array}} \right.,$$
(9)
$$\alpha ={\hbox{min} _n}\left( {\frac{{{\omega _{n+1}} - {\omega _n}}}{{{\omega _{n+1}}+{\omega _n}}}} \right)$$
(10)
$${T_n}=2{\tau _n}=2\left( {\alpha {\omega _n}} \right)$$
(11)

EWT representation

The EWT \(E_{g}^{\varepsilon }\) is defined similar to that of the conventional wavelet transform. The detailed \(E_{g}^{\varepsilon }\left( {n,t} \right)\)and approximated \(E_{g}^{\varepsilon }\left( {0,t} \right)\)coefficients of empirical wavelets are obtained by performing inner product between original signal\(g\left( t \right)\), empirical wavelet\({\Psi _n}\), and empirical scaling function\({\Phi _n}\), is given below

$$E_{g}^{\varepsilon }\left( {n,t} \right)=\left\langle {g\left( \tau \right),{\Psi _n}\left( {t - \tau } \right)} \right\rangle =\int {g\left( \tau \right)\overline {{{\Psi _n}\left( {\tau - t} \right)}} d\tau ={\mathcal{F}^{ - 1}}\left( {\hat {G}\left( \omega \right)\widehat {{{\Psi _n}}}\left( \omega \right)} \right)} ,$$
(12)
$$E_{g}^{\varepsilon }\left( {0,t} \right)=\left\langle {g\left( \tau \right),{\Phi _1}\left( {t - \tau } \right)} \right\rangle =\int {g\left( \tau \right)\overline {{{\Phi _1}\left( {\tau - t} \right)}} d\tau ={\mathcal{F}^{ - 1}}\left( {\hat {G}\left( \omega \right)\widehat {{{\Phi _1}}}\left( \omega \right)} \right)} ,$$
(13)

where \({\mathcal{F}^{ - 1}}\left( . \right)\)is the inverse Fourier transform. The original signal can be reconstructed by applying the inverse EWT as

$$g\left( t \right)=E_{g}^{\varepsilon }\left( {0,t} \right) * {\Phi _1}\left( t \right)+\sum\limits_{{n=1}}^{N} {E_{g}^{\varepsilon }} \left( {n,t} \right) * {\Psi _n}\left( t \right),$$
(14)

Building upon the 1D-EWT, the Littlewood-Paley, Ridgelet, and Tensor-based 2D-EWTs38 have been developed.

Parameters selection

To ensure consistency in feature extraction across brain MRI images, the number of EWT subbands was fixed at four. This was achieved using a local maximum detection scheme that identifies dominant spectral components within the Fourier domain. Four subbands offered a trade-off between detailed frequency analysis and manageable feature dimensionality.

In addition, three basis functions were employed in the EWT framework: Littlewood-Paley, Ridgelet, and Tensor-based designs. These were selected based on their unique capabilities:

  1. a.

    Littlewood-Paley: Effective in capturing smooth variations, gradual transitions, and rounded boundary details. This basis function is particularly suitable for highlighting tumor contours, which often present with smooth but irregular shapes.

  2. b.

    Ridgelet: Specialized in detecting linear and directional structures, making it ideal for characterizing elongated tumor features or streak-like patterns observed in some brain abnormalities.

  3. c.

    Tensor-based basis: Capable of extracting multidirectional and edge-dense regions by combining several orientations. It is well-suited for detecting sharp transitions, intersecting features, and complex tumor textures, which are typical in advanced pathological cases.

These theoretical advantages are supported by the empirical results presented in Tables 3, 4 and 5, where each EWT basis function exhibits distinct strengths under various test conditions. Additionally, Figs. 4, 5 and 6 illustrate the effectiveness of each basis in capturing specific image features. These observations confirm that each EWT approach contributes significantly to accurately characterizing brain MR images. Algorithm 2 represents the pseudo code of EWT decomposition approach.

Algorithm 2 Pseudo code of the proposed EWT decomposition.
Fig. 4
Fig. 4
Full size image

Components of 2D Littlewood-Paley EWT for N = 4.

Fig. 5
Fig. 5
Full size image

Components of 2D Ridgelet EWT for N = 4.

Fig. 6
Fig. 6
Full size image

Components of 2D Tensor EWT for\({N_R},{N_C}=4\).

Feature extraction

Features play a key role in the classification of brain MR images. Among all the available features, texture features39 are extensively utilized since they can significantly capture the variations within the image. In this work we consider energy and entropy measures to classify the brain MR images as healthy and pathological.

Energy

Energy is an estimation of the similarity/closeness of the image, which is defined as follows

$$Energy\left( E \right)=\sum\limits_{{x,y}} {{{\left( {g\left( {x,y} \right)} \right)}^2}} $$
(15)

Entropy

Entropy quantifies the variations contained in the image and thus illustrating the texture details. In this work, we employed Shannon entropy40 and Tsallis entropy41 due to their complementary characteristics. Shannon entropy effectively captures the uncertainty and information content in the image, making it suitable for detecting texture variations. On the other hand, Tsallis entropy generalizes Shannon entropy and provides better sensitivity to long-range interactions and nonlinearities, which are often present in pathological brain tissues. The combination of these two measures ensures a more comprehensive quantification of textural heterogeneity in MRI subbands. The mathematical formulations of each measure are presented below:

  1. a.

    Shannon entropy:

It evaluates the uncertainty or randomness about the information content of an image40 and is formulated as

$${H_S}=\sum\limits_{{j=1}}^{L} {{p_j}} {\log _2}\left( {\frac{1}{{{p_j}}}} \right),$$
(16)

where L gives the number of gray values and \({p_j}\)indicates the probability of gray value j.

  1. b.

    Tsallis entropy:

It is a generalization of traditional Boltzmann-Gibbs entropy41 and is expressed as

$${H_T}=\frac{{1 - \sum\limits_{{j=1}}^{L} {{{\left( {{p_j}} \right)}^\gamma }} }}{{\gamma - 1}},$$
(17)

where \(\gamma \) represents a entropy index which is always a real value. Note that, if\(\gamma \to 1\), then \({H_T}\)approached to \({H_S}\).

Wavelet-based energy and entropy features, along with Curvelet-entropy features, have been widely used in the classification of MR brain images9,10,1142,43,44,45,]-46. However, to the best of our knowledge, empirical wavelet-energy and entropy features have not been explored in the context of brain MR image classification. In this study, we first estimate the energy and entropy from each empirical wavelet subband. These features are then organized into a row feature vector by linearly concatenating them. This extracted feature vector is subsequently fed into a classifier to distinguish between pathological and healthy brain MR images.

$${V_c}=\left[ {\begin{array}{*{20}{c}} {EWT - E,}&{EWT - {H_S},}&{EWT - {H_T}} \end{array}} \right]$$
(18)

where \(EWT - E\)represents the empirical wavelet-energy feature, \(EWT - {H_S}\)denotes the empirical wavelet-Shannon entropy feature, \(EWT - {H_T}\)gives the empirical wavelet-Tsallis entropy feature.

From each brain MRI image, we extracted a total of 36 features, resulting in a feature vector of size 1 × 36. A Kruskal-Wallis (KW) test was conducted to find the feature relevance. This is a nonparametric test that ranks the data to test for statistical differences. The test results are presented in Table 1. All features had p-values less than 0.05 (e.g., p = 0.032), demonstrating the statistical significance of the features. This signifies that the extracted local texture features can be used for further analysis. Then, the feature vectors were fed into conventional classifiers for discriminating between normal and abnormal brain MRI scans. Algorithm illustrates the pseudo code of the presented feature extraction method.

Table 1 Kruskal-Wallis ANOVA Table.
Algorithm 3 Pseudo code of the proposed feature extraction.

Classification

In this study, supervised machine learning techniques such as Support Vector Machine (SVM)47 and LPBoost48 are utilized to identify the pathology in brain MR images. Further, assess the performance of these models using several established metrics, including the true positive rate (TPR), true negative rate (TNR), positive predictive value (PPV), F-score, area under the curve (AUC), and accuracy. Algorithm 4 shows the pseudo code of the presenting classification framework, whereas Algorithm gives the main work-flow of the implemented model.

Algorithm 4 Pseudo code of the proposed classification model.
Algorithm 5 Main workflow of the proposed model.

Experimental results

This study used brain MRI images obtained from the Harvard Medical School (HMS) dataset49 and the Kaggle brain tumor repository50. The combined dataset includes 280 images, comprising 235 pathological and 45 healthy samples. To maintain class distribution integrity during evaluation, both 70/30 and 80/20 train-test splits were performed using stratified sampling, which is illustrated in Table 2.

All MRI images were resized to a fixed resolution of 256 × 256 pixels to ensure uniformity across the processing pipeline. Before processing of these images, we performed intensity normalization to map pixel values into the [0, 1] range, and TSSR-based contrast enhancement to highlight critical tumor features without amplifying noise. The dataset includes a diverse mix of T1- and T2-weighted scans, covering a variety of tumor types, anatomical locations, and intensity profiles. This diversity enhances the clinical relevance and generalizability of the proposed method to real-world diagnostic applications.

Table 2 Dataset.

Simulation settings

In this study, to identify an optimal feature set, the Empirical Wavelet Transform (EWT) is constructed using various basis functions, such as Littlewood-Paley, Ridgelet, and Tensor. Due to the adaptive nature of the EWT, the number of subbands may vary from one image to another, which is not ideal for classification tasks. To address this, we generate four subbands using the ‘localmax’ detection approach. Furthermore, to evaluate the effectiveness of the image enhancement, the proposed methodology is tested under different noise and geometric transformation conditions. The parameters for these conditions are summarized in Table 3. All simulations are performed on an Intel® Core™ i3-5005U CPU @ 2 GHz using MATLAB 2020a.

Table 3 Parameters for noise and geometric transformations.

Simulation results

In this subsection, we present and discuss the findings from the proposed and existing methods. To assess the performance of our model, a series of simulations were conducted using the dataset outlined in Table 2. The classification outcomes presented in Tables 4, 5 and 6 reveal consistent trends and critical observations across various EWT basis functions, tested under different image distortions and classifier types. Across each of the EWT variants and perturbed under various transformations such as Gaussian noise and impulse noise, rotation, shear, and translation, the SVM classifier has maintained an extremely high TPR, sometimes achieving a clean 100%. This indicates that SVM is highly effective in detecting abnormal brain MR images, making it a dependable option for clinical diagnostics. On the other hand, whereas LPBoost seemed sometimes to lag behind SVM in TPR, it behaved more consistently with respect to TNR, PPV, and Accuracy. LPBoost benefited more in reducing false positives, particularly under geometric distortions with impulse noise (greater TNR than SVM), which might come into play where a good compromise is sought between sensitivity and specificity.

A comparative evaluation of the three EWT basis functions reveals the following:

  • From Table 4, we observed that the Littlewood-Paley EWT was proficient at extracting boundary and shape-related information, producing reasonable results. However, it exhibited some inconsistency in TNR, especially under intense geometric transformations.

  • From Table 5, we conclude that the Ridgelet EWT outperformed Littlewood-Paley in texture-rich conditions, demonstrating better accuracy and TNR, particularly in noisy environments, and showed notable synergy with the LPBoost classifier.

  • From Table 6, we discovered that Tensor-based EWT stood out as the most resilient and high-performing approach, maintaining excellent TPR and balanced TNR values across all distortions and classifiers. It consistently delivered top-tier results in both pristine and degraded image conditions.

A significant enhancement across all EWT configurations was observed when the TSSR technique was applied. For example, the combination of TSSR and Tensor-EWT with LPBoost achieved the highest recorded accuracy of 96.43%, alongside a TPR of 100% and a TNR of 77.78%. This highlights the effectiveness of TSSR in amplifying visual features crucial for accurate tumor detection. In summary, the integrated framework of TSSR + Tensor-EWT + LPBoost emerges as the most effective setup for brain MRI classification. It offers a well-balanced performance in terms of sensitivity and specificity, and demonstrates consistent reliability under varying image conditions—surpassing many existing methodologies.

To further validate the theoretical advantages of each EWT basis function, we conducted a series of experiments under various noise conditions and geometric transformations. The performance of the proposed framework using Littlewood-Paley, Ridgelet, and Tensor basis functions was systematically evaluated and is summarized in Tables 4, 5 and 6. These results not only reinforce the distinct strengths of each basis function described earlier but also confirm that their structural characteristics directly influence classification effectiveness. Specifically, the Littlewood-Paley basis, with its emphasis on shape and boundary features, performs well in delineating tumor outlines, particularly when enhanced by TSSR. Similarly, the Ridgelet basis demonstrates strong performance in scenarios requiring texture sensitivity, aligning with its ability to capture corner and directional information. Notably, the Tensor basis, which offers multi-directional edge and line feature extraction, consistently achieves the highest accuracy across all test conditions. This empirical evidence validates our design choice and highlights the practical advantage of combining TSSR enhancement with Tensor-based EWT for robust and accurate brain tumor classification.

Table 4 Performance of the proposed method using the Little-wood Paley based EWT.
Table 5 Performance of the proposed method using the ridgelet based EWT.
Table 6 Performance of the proposed method using the tensor based EWT.

Ablation study

In this study, we compared the performance of the complete framework (TSSR + EWT + statistical features + classifier) with a baseline variant that excluded the TSSR module (i.e., using raw MRI images directly with EWT and the same classification pipeline). As detailed in Tables 4, 5 and 6 of the manuscript, the inclusion of TSSR consistently improved performance across all metrics. For instance, under the 80/20 train-test split with Tensor-based EWT and LPBoost, the complete model achieved an accuracy of 96.43%, TPR of 100%, and TNR of 77.78%. In contrast, without TSSR, the same configuration yielded noticeably lower accuracy and TNR values. This demonstrates that TSSR significantly enhances the visual contrast and edge definition of brain MR images, leading to more discriminative features during EWT decomposition and ultimately improving classification. Thus, the ablation confirms that TSSR is a critical component in the pipeline, substantially contributing to the improved robustness and sensitivity of the proposed framework. We have clarified this in the revised manuscript to better highlight the impact of each individual module.

Comparative analysis

The proposed framework is more complete with rigorous statistical validation to support its performance claims. The KW statistical test was applied to the features extracted-energy, Shannon entropy, and Tsallis entropy-and returned a p-value of 0.032, confirming their statistical significance for classification. Statistical comparisons of classification measures TPR, TNR, and accuracy were also made across competing methods through the same test, and the results again showed significant differences (p < 0.05), confirming that the enhancements offered by the proposed method are not merely due to chance but are statistically relevant. Tables 4, 5 and 6 cover the studies of the proposed system, where the framework showed consistent performance with all the noise types and geometric distortions tested, supporting evidence of its robustness and reliability.

The recent advances in statistical approaches on which the method is based, which are necessary to benchmark the method’s performance in comparison to other techniques used in analogous applications presented in the literature, are shown in Table 7 using the 80/20 train-test splitting ratio. Results show that the fabulous framework does the best in classification efficiency of any method, with a perfect TPR of 100%, 77.78% TNR, and 96.43% accuracy. This surpasses those recorded in former works, thus indicating that the solution stands as an effective and general one. The framework is useful and reliable for brain MR image analysis and classification, that is, to achieve the identification of both normal and pathological states quickly and reliably.

Table 7 Comparative analysis of the proposed and existing works.

To ensure statistical validity of the observed performance improvements over existing techniques, we conducted KW- test for classifier comparison. The results confirmed that the performance gains of the proposed framework are statistically significant (p < 0.05), supporting our claim of superior classification performance.

Discussions

To evaluate the significance of the presented model, a sequence of experiments were conducted on a two-class brain MR image dataset. The proposed framework has major implications for developing clinical diagnostics and research in medical image processing. The approach uses TSSR to enhance image contrast; thereafter, it employs EWT followed by energy and entropy-driven feature extraction to develop a robust yet efficient method for classifying normal brain tissue from the abnormal. The results demonstrated that the framework performed well with both classifiers, particularly with the Little-Wood Paley and tensor-based empirical wavelets, as shown in Tables 4 and 6. Among the two classifiers, LPBoost achieved superior performance, consistently exceeding 90% accuracy across all features. In this way, the system can act as a computer-aided diagnosis (CAD) tool in locales that may have limited specialized medical competence.

Advantages

The key pros of the proposed framework are as follows:

  1. 1.

    The use of the TSSR technique preserved the meaningful information (edge) of brain MR images, improving classification accuracy, as reflected in Tables 4, 5 and 6.

  2. 2.

    The EWT effectively extracted relevant local texture details from the images.

  3. 3.

    Entropy and energy features were derived from each empirical wavelet subband to accurately classify the images by capturing critical information.

  4. 4.

    The combination of EWT, entropy, and energy features efficiently highlighted the intrinsic details of pathological brain MR images, enabling the proposed framework to outperform existing methods, as represented in Table 7.

  5. 5.

    Another advantage lies in the model’s resilience to noise and geometric transformation and its consistent performance levels.

These advantages underline the robustness and efficiency of the suggested model in brain MR image classification.

Limitations

Despite several advantages of the proposed model, there are still a few limitations present, including:

  1. 1.

    Currently, the model has been set to evaluate the binary classification of cases between healthy and pathological. There is scope to extend this framework into multi-class classification tasks in the future, such as differentiation among glioma, meningioma, and pituitary tumors.

  2. 2.

    Currently, the dataset used in this study was gathered from two sources, i.e., Harvard and Kaggle; yet, the dataset can still be considered relatively limited in size. Hence, this, in turn, could limit the ability of the model to generalize into broader clinical scenarios. Therefore, bigger and more diverse datasets will be trained with, in the forthcoming phases, to increase generalizability.

  3. 3.

    Furthermore, strategies will be put in place in the forthcoming phases of this study, such as cross-validation and validation on external datasets, which are very pivotal in judging the model’s stability and reliability.

Conclusion

This study introduces a novel framework for classifying brain MR images by integrating TSSR, EWT, and entropy and energy features (Shannon and Tsallis). The TSSR technique enhances the brightness and contrast of brain MR images, improving their visual quality. Following this, EWT is employed to decompose the enhanced images into meaningful subbands using various basis functions. From these subbands, entropy and energy features are extracted to construct a feature vector capable of accurately identifying pathological brain MR images by revealing hidden details. The extracted features are then classified using SVM and LPBoost to differentiate healthy and pathological brain MR images. Comprehensive experiments were conducted on a brain MR image dataset to evaluate the proposed approach. The experimental outcomes reveal that the framework outperforms existing methods, demonstrating its robustness and efficiency. Additionally, the methodology is versatile and can be extended to detect other medical conditions, such as glaucoma and Parkinson’s disease, highlighting its potential for broader applications in medical image analysis.