{'fraction_non_alphanumeric': 0.030713815407258222, 'fraction_numerical': 0.010689802083736783, 'mean_word_length': 5.138849262957679, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Investigating the Role of Image Fusion in Brain Tumor Classification Models Based on Machine Learning Algorithm for Personalized Medicine

Image fusion can be performed on images either in spatial domain or frequency domain methods. Frequency domain methods will be most preferred because these methods can improve the quality of edges in an image. In image fusion, the resultant fused images will be more informative than individual input images, thus more suitable for classification problems. Artificial intelligence (AI) algorithms play a significant role in improving patient's treatment in the health care industry and thus improving personalized medicine. This research work analyses the role of image fusion in an improved brain tumour classification model, and this novel fusion-based cancer classification model can be used for personalized medicine more effectively. Image fusion can improve the quality of resultant images and thus improve the result of classifiers. Instead of using individual input images, the high-quality fused images will provide better classification results. Initially, the contrast limited adaptive histogram equalization technique preprocess input images such as MRI and SPECT images. Benign and malignant class brain tumor images are applied with discrete cosine transform-based fusion method to obtain fused images. AI algorithms such as support vector machine classifier, KNN classifier, and decision tree classifiers are tested with features obtained from fused images and compared with the result obtained from individual input images. Performances of classifiers are measured using the parameters accuracy, precision, recall, specificity, and F1 score. SVM classifier provided the maximum accuracy of 96.8%, precision of 95%, recall of 94%, specificity of 93%, F1 score of 91%, and performed better than KNN and decision tree classifiers when extracted features from fused images are used. The proposed method results are compared with existing methods and provide satisfactory results.


Introduction
Early detection of cancer plays a vital role in the healthcare industry because when abnormal tissue or cancer is found early, it is easy to plan successful treatment [1,2]. If cancer spreads to neighbor cells, it is challenging to treat, and survival chances are much lower. Many machine learning techniques were developed to detect cancer at early stages [3,4]. Still, a tool with more accuracy and less processing time is needed. This research is aimed at detecting cancer irrespective of its types by combining two imaging modalities, such as CT/PET or MRI/SPECT, which provides better accuracy than existing methods. Finally, the concept is extended to cancer classification to predict the tumor type, whether it belongs to benign or malignant tumors [5,6]. While there are many studies in image fusion for the visual enhancement of images, very few types of research focus on the influence of image fusion in other applications such as image classification. The role of image fusion in remote sensing is significant, and almost every recent sensor development for earth applications considers channels with different spatial resolutions [7,8]. Image fusion improves the information content by combining two or more images using a specific algorithm [3]. A case study on the influence of image fusion approaches on classification accuracy for remote sensing applications is more relevant to this research work. They took Landsat 7 ETM+ image for the analysis. They analyzed various image fusion approaches such as adaptive image fusion (AIF), wavelet-based fusion, multisensor multiresolution fusion technique (MMT), principal component analysis (PCA), hue saturation-value transform (HSV), and Brovey method of fusion. The fusion results were employed for maximum likelihood classifier, objectbased classification, and support vector machine classifier [9]. The Brovey Transform (BT) was created to visually boost contrast between the image histogram's low and high ends. BT produce the spectral degradation, which should not be employed if the original scene radiometry must be preserved. Brovey Transform resulted in low dynamic range resultant image and significant misclassification detected when using pixel-based classifiers. HSV fusion was not assigning the discrete classes from the training dataset. Another method called principal component analysis performed better because of its capability of separately highand low-frequency parts of an image. MMT fusion technique produced "Speckle" noise in the classification, which results in poor edge detection. They concluded in the case study that wavelet transform-based fusion improves the classification accuracy, and they recommended the classification application. Wavelet transforms are used to portray abrupt peaks and discontinuities. Wavelet transform has a number of drawbacks, including shift sensitivity and directional selectivity [10,11].
The research on the effects of image fusion algorithms on classification accuracy in remote sensing applications was conducted. They took Quickbird-02 panchromatic and multispectral images over the city of Wuhan (China) and analyzed the effects of fusion on unsupervised ISODATA (iterative self-organizing data analysis) classifier accuracy.
They considered eight image fusion techniques and analyzed the effects of fusion on improving classification accuracy. They found that the high pass filter-based fusion method performs worst because of its injection of high-frequency information [12]. They concluded that the region-based image fusion method improves the accuracy of the classifier. Even though colour distortion occurs, the contrast of the fused image is higher, which is very helpful in interpretation and classification, and they recommended a region-based fusion technique for classification application. Region-based image fusion has several advantages over pixel-based image fusion methods, such as being less susceptible to noise, more resilient, and avoiding misregistration, but it is also more difficult.
Kumar et al. have proposed a novel MSLN-CNN method to solve the HSI classification problems, multilayer spatialspectral feature fusion and sample augmentation with local and nonlocal constraints (MSLN-CNN). The authors make full use of complementary spatial-spectral information among different layers, and compared with other deep learning models, CNN has two unique structures: local connection and weight sharing. The representative classifiers include k-nearest neighbors, logistic regression, support vector machine (SVM), sparse representation-based classification, and extreme learning machine [13,14]. Among these classifiers, SVM seeks to separate the samples with different classes. Finally, the authors concluded that MSLN-CNN could achieve end-to-end classification by optimizing multilayer spatial-spectral feature fusion jointly. It is a promising method to deal with the overfitting problem by considering local spatial and nonlocal spectral constraints.
Chandran et al. have developed an approach for fusing features obtained from multisensor compressive measurements for spectral image classification. This fusion method merged the components extracted from data captured by sensors that satisfy the Nyquist-Shannon sampling theorem. They developed a low-resolution feature as degraded versions of the high-resolution features [15]. Also, they formulated an inverse problem that aims at estimating high-resolution characteristics, including both a sparsityinducing term and a total variation (TV) regularization term to exploit the correlation between neighboring pixels of the spectral image. Therefore, they improved the performance of pixel-based classifiers. Besides, they introduce the mathematical model of the high-resolution features. This model describes the relationship between the high-resolution elements and the spectral image under test. The authors described an algorithm based on the alternating direction method of multipliers (ADMM) for solving the fusion problem. The proposed feature fusion approach is tested for two CSI architectures: three-dimensional coded aperture snapshot spectral imaging (3D-CASSI) and colored CASSI (C-CASSI). Finally, they compared the proposed feature fusion method concerning state-of-the-art feature extraction and fusion techniques which improves the accuracy and robustness to noise [16,17]. They concluded that the ADMM algorithm performs better when compared to existing methods. Because of its fast convergence speed in many applications, the ADMM technique has sparked a lot of academic attention in recent years.

Computational and Mathematical Methods in Medicine
Most of the related research was attempted only in remote sensing, focusing on medical imaging applications. Based on the above literature, many researchers reported that image fusion could improve image quality, and no research analyzes with experiment results. This research work shows how image fusion improves the visual quality of medical images and how these images further improve classification accuracy with experiment results. This research work combines brain tumor images from MRI and SPECT modalities using the discrete cosine transform (DCT) method. The magnetic resonance interference (MRI) imaging technique can produce incredibly detailed diagnostic images of most of body's major organs and tissues that other imaging techniques cannot. Because MRIs do not involve radiation, they are safe for children and pregnant people to undergo. The SPECT (single-photon emission computed tomography) imaging technology can be used to determine whether or not there is enough blood flow to various parts of the brain. SPECT scans can be used to acquire data on changes in brain function as a result of disease. Benefits of two imaging modalities can be attained in a single image when these two modalities are merged. The fused image provides more information to the doctors than the individual input images. Apart from that, when compared to individual input images, the number of features or attributes recovered from fused images is higher. As a result, cancer classification will be more precise, allowing doctors and other health care providers to better plan therapy for their patients. In order to combine MRI and SPECT images, discrete cosine transform-based image fusion technique has developed with improved fusion parameters such as peak signal to noise ratio (PSNR), structural similarity index measure (SSIM), and normalized correlation (NC). High values of PSNR in dB, SSIM in %, and NC in % indicates improved fusion between two images. This proposed DCT-based fusion technique provides high PSNR, SSIM, and NC which is used for fusing MRI and SPECT images in this research work.
Three classifiers, namely, support vector machine, K -nearest neighbour classifier, and decision tree classifiers, are used in this research work to classify the brain tumour images into benign or malignant classes. The performance of these classifiers is measured and compared based on accuracy, precision, recall, specificity, and F1 score. In order to analyze the effect of image fusion, the experiment results are compared with the result obtained when MRI input image alone was used, SPECT input image alone was used for classification. Algorithms of all these three classifiers are explained in the "Research Methods" section, and the performance metrics are explained in the next section.

Research Methods
The proposed brain tumour classification model is shown in Figure 1.The input images such as MRI and SPECT images are collected from http://kaggle.com for analysis. Image registration was applied to input images before applying the image fusion method. Image fusion using discrete cosine transform was developed, and fused images were obtained. Thirty features were extracted from fused images, and they were given as input to three classifiers. Classifier's performance is measured using accuracy, precision, recall, specificity, and F1 score. These results were compared with the classifier results when features extracted from individual input images were given to the classifiers. High values of performance metrics indicate the better performance of classifiers.
2.1. Preprocessing of Brain Tumour Images. The visual quality of input medical images such as MRI and SPECT images are improved by applying contrast limited adaptive histogram equalization (CLAHE) technique [18,19]. Instead of operating on entire image pixels, CLAHE operates only on a small region of the image called tiles [20,21]. Image registration needs to be applied before applying the image fusion technique. A parametric transformation Tað:Þ is applied to the target image to maximize the similarity between the target image and the reference image to make it similar to I r [22]. The optimization target can be represented as in Equation (1).
Various steps involved in image registration include similarity measure, point detection and extraction, applying image descriptors, point selection, pattern matching, image resampling, and compositing [23].

Image Fusion Using Discrete Cosine Transform.
Fusion can be performed in spatial or frequency-domain methods, and DCT belongs to the frequency domain category. When DCT is applied to input images, it decomposes the images into DCT coefficients, and in the transform domain, the fusion rules are applied [24][25][26]. After applying inverse DCT, a fused image is obtained in the spatial domain [27,28]. Input images such as MRI and SPECT images are applied with discrete cosine transform, which provides DCT coefficients, and averaging fusion rule is applied in the frequency domain, which provides fused DCT coefficients. Inverse discrete cosine transform is applied on fused DCT coefficients to obtain fused images at spatial domain [25,[29][30][31][32]. Image fusion using discrete cosine transform is shown in Figure 2.
Discrete cosine transform of two-dimensional image Xðn 1 , n 2 Þ of size M × N is represented by Equation (2). Here, M represents number of rows in an image, and N represents number of columns in an image.
where n 1 , n 2 are the spatial domain coordinates and k 1 , k 2 are the frequency domain coordinates.

Computational and Mathematical Methods in Medicine
Similarly, inverse discrete cosine transform of two- where k 1 ranges from 0 to M − 1 and k 2 ranges from N − 1.
2.3. Support Vector Machine Classifier. SVM classifiers are supervised learning methods that are used for regression and classification. The SVM classifier can maximize the geometric margin and minimize the classification error, and hence, the SVM classifier can also be called maximum margin classifiers [33][34][35][36][37][38][39][40]. SVM classifiers are not biased by outliers and not sensitive to overfitting but they are not suitable when huge number of features used and for nonlinear problems.
Let us consider a dataset ðA 1 , B 1 , ::A n , B n Þ, where ðA 1 , A 2 ::A n Þ is the set of the input variable, ðB 1 , B 2 ::, B n Þ is the output variable, and 'C' is the intercept, then the SVM classifier is given as in where m = 1, 2, 3 ⋯ :i and C = b m β m + b n β n .

K-Nearest
Neighbour Classifier. K-nearest neighbor classification is more suitable for large datasets, and it takes more computation time for testing than training the dataset. The K-nearest neighbor classification technique is the most straightforward technique that provides good classification accuracy and stability [41,42]. The K-NN algorithm is based on distance functions such as Manhattan, Minkowski, Tanimoto, Jaccard, Mahalanobis, and Euclidean distance in which Euclidean distance is more common [43,44]. It is mathematically given in where a, b = Two points in Euclidean distance a i , b i = Euclidean Vectors m = m-space.
Even though the KNN classifier runs slowly, its computational power is more. KNN algorithm consists of the training phase and testing phase. Features or attributes are stored during the training phase, and while in the testing phase, the features from testing images are compared with stored features, and the class will be determined [45].
K-NN algorithm consists of the following steps:    (4) The correct classification access given in the test phase is used to assess the correctness of the algorithm 2.5. Decision Tree Classifier. A decision tree is a supervised learning technique that can be used for both regression and classification problems, but it is mainly used for classification problems. Decision tree classifiers are appropriate for both linear and nonlinear systems; however, they are ineffective when dealing with limited datasets. In a decision tree classifier, overfitting is a common occurrence. Nodes in the tree-like structure represent the features of a dataset, branches represent the decision rules, and leaf node represents the output [46,47]. The decision trees usually resemble human thinking ability; hence, it is easy to understand. The algorithm starts at the root node and compares the attributes of root nodes with attributes of record nodes. Based on the comparison, it jumps to the next node. Many algorithms are proposed for learning decision tree from a given dataset, but commonly, ID3 algorithm is preferred due to its simplicity for implementation [48][49][50][51]. ID3 algorithm is a topdown greedy search of possible branches, and it uses information gain and entropy to build the tree. The HðYÞ Shannon entropy of a random discrete variable Y with possible Y 1 , Y 2 ⋯ :Y n and probability mass function PðYÞ is defined as in Entropy is equal to zero for a completely homogeneous dataset, and entropy is equal to one of the datasets equally divided. A branch with entropy more than one needs splitting.

Comparison of Our Method with KNN Classifier and
Decision Tree Classifier. Input images such as brain tumors from CT modality and SPECT modality are shown in Figures 3(a) and 3(b), respectively. A converted grayscale image of SPECT image is shown in Figure 3(c). After applying with CLAHE for image enhancement and registration, the two input images are applied with DCT-based image fusion technique and the resultant fused image Figure 3(d).
Two hundred MRI images and 200 SPECT images are fused, providing 200 fused images. Features such as radius, area, perimeter, texture, smoothness, compactness, concave points, and concavity are considered, and thus, six features in total are extracted from fused images and individual input images such as MRI and SPECT images. A scatter plot representing some of the features is shown in Figure 4. These features are given as input to SVM, KNN, and decision tree classifiers, and the results are compared to identify the best classifier for brain tumor detection.
The performances of classifiers are measured using accuracy, precision, recall, specificity,  Computational and Mathematical Methods in Medicine number of predictions. Accuracy is defined in Equation (7), as shown below.

Accuracy = TP + TN TP + TN + FN + FP
: 3.3. Precision. The precision of the classifier is defined as the correct prediction ratio to the actual prediction of brain tumor cases represented 3.4. Recall. Recall of the classifier is defined as the ratio of correctly predicted brain tumor cases to overall brain tumor cases, including nonbrain tumor cases. The recall is defined in 3.5. Specificity. The specificity of the classifier is defined as the ratio of correctly identified nonbrain tumor cases to negative brain tumor cases, which is represented as in 3.6. F1 Score. It is the measure of average between precision and recall of classifiers defined in 3.7. Confusion Matrix. The performance of the classifier in matrix form is given by the confusion matrix of the predic-tion model. It consists of correctly identified brain tumor cases, missclassified brain tumor results, correctly identified nontumor cases, and missclassified nonbrain tumor cases.

Receiver-Operating Characteristic (ROC).
The ROC curve graph graphically illustrates the performance of the classifier. This graph shows the relationship between the actual positive rate and the false-positive rate. Extracted features from fused images are tabulated and plotted using parallel coordinates plot as shown in Figure 5.
The confusion matrix of the SVM classifier, K-NN classifier, and decision tree classifier is shown in Figures 6(a)-6(c), respectively. Performance measures such as accuracy, precision, recall, specificity, and F1 score for SVM, KNN, and decision tree classifiers are tabulated in Table 1.
The classifiers are stored with extracted feature values during training phase. During testing phase, classifiers are tested with different input images. Initially, the classifiers are tested with cancerous input images. If the classifier predicts the cancerous image output correctly, this condition can be taken as true positive (TP) but if it is wrongly predict as noncancerous image, then the condition is known as false positive (FP). When the classifiers are tested with noncancerous input images, if the classifier predicts the noncancerous image output correctly, this condition can be taken as true negative (TN) but if it is wrongly predict as cancerous image, then the condition is known as false negative (FN). Based on this TP, FP, TN, and FN values obtained from confusion matrix as shown in Figures 6(a)-6(c), the performance measures of classifiers are calculated using Equations (7) to (11) and tabulated as shown in Table 1.
From tabulated results, it is inferred that the SVM classifier provides high accuracy, precision, recall, specificity, and F1 score parameters and thus performs better than K-NN and decision tree classifier.

Comparison of Our Method with Features Extracted
From MRI Image Alone Given as Input to Classifiers. Features are extracted from 200 samples of MRI images collected from the medical database, and these features are given as input to SVM, KNN, and decision tree classifiers. The results of classifiers are tabulated in Table 2.
From tabulated results, it is inferred that SVM classifier when fused images are considered for feature extractions provides an accuracy of 96.3%, the precision of 97.5%, recall of 95.12%, specificity of 97.13%, and F1 score of 96.29%. These five parameters are high values and thus perform better than SVM, K-NN, and decision tree classifiers when MRI image alone is considered for feature extraction.

Comparison of Our Method with Features Extracted
From SPECT Image Alone Given as Input to Classifiers. Features are extracted from 200 SPECT images collected from a medical database, and these features are given as input to SVM, KNN, and decision tree classifiers. The results of classifiers are tabulated in Table 3.
From tabulated results, it is inferred that SVM classifier when fused images are considered for feature extractions provides an accuracy of 96.8%, the precision of 97.5%, recall of 95.12%, specificity of 97.13%, and F1 score of 96.29%. These five parameters are high values and thus perform better than SVM, K-NN, and decision tree classifiers when SPECT image alone is considered for feature extraction.
3.11. Comparison of Our Method with SVM, KNN Classifier, and Decision Tree Classifier In Terms of Consumed Time. In this test, we compare the implementation time of our proposed method and SVM, KNN, and decision tree classifiers when features from SPECT image alone are given as input to classifiers, and the obtained result is shown in Table 4.
Ten independent experiments are taken on PC with Intel Core 3 processor and PC with Celeron 3.06G/1G processor, and the average time is calculated. From the tabulated results, it is observed that the proposed SVM classifier when features from fused images are given as input to classifier consumes longer time, almost 420 seconds, to execute the results, whereas SVM, KNN, and decision tree classifiers when features from SPECT image alone given as input to classifier consume 128, 160, and 180 seconds, respectively. The existing methods involve steps like preprocessing, feature extraction, segmentation, and classification, whereas the proposed method involves steps like preprocessing, image fusion, feature extraction, segmentation, and classification. Because of the additional step involved, the proposed method consumes more time to execute the results when compared to existing research methods. The experiment results of the proposed method are compared with relevant literature and presented in Table 5.

Conclusion
Brain tumor images from MRI and SPECT modalities are considered and applied with CLAHE method to preprocess the images, and then, DCT-based fusion technique was applied to obtain fused images. Features from fused images are extracted and inputted to SVM, KNN, and the decision tree classifier. SVM classifier provides the maximum accuracy of 96.8%, precision of 97.5%, recall of 95.12%, sensitivity of 97.43%, and F1 score of 96.29%, which is higher when compared to SVM, KNN, and decision tree classifier when features from either MRI or SPECT image is alone given as input to classifiers. As this research involved image fusion and preprocessing feature extraction and image classification, it took a long time to execute the results compared to conventional cancer classification models. These novel fusion-based AI algorithms can be more suitable for personalized medicine. In the future, transform-based image fusion approaches such as Curvelet transform and Shearlet transform can be applied to input images, and the classification performance can be measured.

Data Availability
The data used to support the findings of this study are included in the article.  [56] Multilayer perceptron 97 NA NA