An Intelligent Medical Imaging Approach for Various Blood Structure Classifications

Blood is a vital body fluid and can be instrumental in identifying various pathological conditions. Nowadays, a lot of people are suffering from COVID-19 and every country has its own limited testing capacity. Consequently, a system is required to help doctors analyze a patient’s blood structure including COVID-19.'erefore, in this paper, we extracted and selected blood features by proposing a new feature extraction and selection method named stepwise linear discriminant analysis (SWLDA). SWLDA emphasizes on picking confined features from blood structure images and discerning its class based on reversion value such as partial F value. SWLDA begins with picking an equivalence comprising the sole finest X variable and then puts in effort to add more Xs individually, providing the situations are adequate. 'e process of adding and picking is based on F value to determine which variable would be entered.'en, the picked or the default F-to-enter value is compared with the uppermost partial F value. After this step, the forward addition or backward removal begins and whether the partial test values for all the predictor variables already in the line are estimated is known. 'en, the comparison is made between the lowermost partial test value (FL) and preselected or defaulting consequence levels such as F0 (i.e., if F0> FL, the variable ZL is removed, and the F test is started again; otherwise, the regression equation is adopted). Finally, the system is trained by employing support vector machine (SVM) to label the blood images.'e performance of the proposed approach is assessed by employing 8 different datasets of blood structures. It is assured that the proposed method has achieved significant results under different blood structure images including COVID-19.


Introduction
Blood is a structure that consists of plasma and blood cells in the circulatory system of the heart and veins, which is called the cardiovascular system in the body. Microscopic analysis of marginal blood flow, resulting in hematology, is an expensive and inefficient procedure [1][2][3]. Blood is a vital body fluid and can be instrumental in identifying various pathological conditions. Nowadays, the whole world is suffering from the COVID-19 pandemic and every country has its own limited testing capacity. A machine learning algorithm will help to classify the blood cells of various blood structure images when a large training set is available [4].
A convolutional neural network-(CNN-) based model has been proposed in [5], which has the ability to automatically identify the types of blood cells for the purpose of improving the clinical efficiency and saving time. Similarly, an intelligent machine learning method is developed for prognosis and prediction of cancer [6]. In their work, they analyzed the performances of different machine learning models for prediction of cancer.
Furthermore, an ensemble method that was based on various morphological filters was proposed by [7] to classify different shapes of red blood cells. Additionally, the authors of [8] developed a system for the identification of white blood cells. eir system was based on six different types of machine learning methods. ey claimed 95% recognition rate. Similarly, an intelligent system was proposed by [9] for the classification of red blood cells in series of images. Furthermore, in [10], the authors built a data-driven system in order to track and predict the possible blood donors. ey assembled different binary classification methods in order to approximate the possibility that blood donors can donate without relying on their previous donation behavior. ey tried to improve the stock-demand interval by proposing a projective model, which aids to recognize the latent donors. Likewise, an artificial neural network-(ANN-) based system was developed by [11] in order to estimate and predict the arterial blood gas from various traumatic patients. In their system, they employed feedforward backpropagation neural network (FBPNN), which can only guess the quantity of these gases from the preliminary information of the patients.
In summary, a machine learning-based algorithm could also be the utmost indicating tool to provide the best evidence about patients who have been previously identified or assumed to be infested. Remotely, the intensive care of such patients, through medical-grade sensors and assembling data via video-based cameras, might enhance medical decisions for providers. In addition, the process also benefits them to further learn about the illness thus, they can better treat it.
Accordingly, in this work, we have extracted and selected the blood features by proposing the usage of a new feature extraction and selection algorithm named stepwise linear discriminant analysis (SWLDA), which emphasizes on picking confined features from blood structure images and discerning its class, based on the reversion value such as the partial F value. SWLDA begins with picking an equivalence comprising the sole finest X variable and then puts in effort to add more X s individually, providing the situations are adequate. e process of adding and picking is based on F value to determine which variable would be entered. en, the picked or the default F-to-enter value is compared with the uppermost partial F value. After this step, the forward addition or backward removal begins and whether the partial test values for all the predictor variables already in the line are estimated is known. en, the comparison is made between the lowermost partial test value (F L ) and preselected or defaulting consequence levels such as F 0 (i.e., if F 0 > F L , the variable Z L is removed, and the F test is started again; otherwise, the regression equation is adopted). Finally, the system is trained by utilizing support vector machine (SVM) to label the blood images. e performance of the proposed approach is judged by employing 8 different classes of blood structure images such as blood cancer (BC), COVID-19, dengue (DG), human immunodeficiency virus (HIV), malaria (ML), and thalassemia (TL), tuberculosis (TB), and typhoid (TY). We collected a small dataset to show the performance of the proposed approach for each class. In the collected dataset, each class contains 20 images. e proposed method achieved significant results under different blood structure images, including COVID-19, against existing state-of-the-art methods. e remaining of the paper is arranged as follows: Section 2 summarizes the most recent works against various kinds of radiology domains. Section 3 presents the proposed methodology. e description of the datasets utilized in this work and experimental setup are described in Section 4. e results with discussion are presented in Section 5. Finally, paper will be concluded with some future directions in Section 6.

Related Works
Lots of machine learning methods have been proposed in order to classify various types of blood structures. A fused convolution neural network (CNN) model for white blood cells detection with MRMR feature selection and extreme learning machine has been proposed by [12]. However, computational-wise CNN is much more expensive than other models. Similarly, an intelligent feature extraction method was proposed by [13] in order to detect leukemia in white blood cells. ey classified various types of white blood cells by employing Gaussian feature convolutional method. However, computational-wise, their method was costly.
Traditionally, manually using microscopes by pathologists is a time-consuming process in the computer world to diagnose the disease. is model is an essential issue in rural areas. Experienced pathologists depend on this. As a result, it gained some importance in the last couple of years of detecting malaria using computer image analysis which has been trained using dynamic learning mechanisms [14]. Deep learning is useful for large image classification with a small training dataset, and it may not be the best choice for this task.
e combined use of in-depth and confident visual features is based on algorithm-learned features. ese two descriptors are manually approached together to receive their fine-tuned deep convolutional neural networks and pretrained triples [13,15].
Likewise, an automated system was developed by [16] which automatically detects and identifies the red blood cells from various blood images. Initially, they employed global threshold-based method to extract the regions from background against color images in green channel. After that, some morphological filters coupled with labeling algorithm were utilized for noise removing and holes filling. Once the images were enhanced, they extracted the prominent features through geometrical properties from red blood cells. However, mostly, the morphological filters distort noise over the entire image which makes the image less perceptible and causes devaluation to the quantity of evidence on the image instead of enlarging its quality [17]. e authors of [18][19][20] utilized pretrained deep convolutional neural network called AlexNet to extract the informative features from blood microscopic images, which were further sent to a classifier for recognition. However, deep convolutional neural network takes huge number of resources such as computational time and power in order to train vast models from scrape.
An intelligent approach was proposed by [21] for the purpose of detecting and counting the anaemia that infested red blood cells in microscopic RGB images. e approach was based on Hough transform and morphological filters. However, Hough transform provides deceptive consequences when objects are aligned accidentally [22]. is is one of the major limitations of the Hough transform. Also, most of the morphological filters distort noise over the entire image which makes the image less perceptible. is causes devaluation to the quantity of evidence on the image instead of enlarging its quality [17].
On the contrary, dimension lessening through extracting the discerning features is based on the idea of lengthening 2 Complexity the entire fling of the information whereas lessening the discrepancy inside the classes. It is confirmed that the feature values for the blood classes are exceedingly fused which might affect the outcomes within a high misclassification percentage. is is due to resemblances among the blood features, which is an outcome in high onside-class discrepancy and low amongst-class discrepancy. Hence, an approach is required which will differentiate the within class variances and also reduce the dimensions of the feature space. Some of the intelligent approaches such as kernel discriminant analysis (KDA) [23], generalized discriminant analysis (GDA) [24], and linear discriminant analysis (LDA) [25] were proposed to overcome the limitations of the existing works. Among them, the LDA has the best performance. However, LDA is not flexible when there a huge amount of data has been utilized. Please check [26], for more details about LDA. In summary, it is observed that LDA would not fundamentally produce an improvement in the significance of an automatic classification system [27]. Moreover, all the systems whose performances were assessed only on two or three types of blood structures classification are considered to be a common limitation of the previous works. Accordingly, this research proposed the procedure of a better technique, i.e., SWLDA [28]. is technique does not agonize anyone of the abovementioned concerns. Based on our knowledge, SWLDA has been employed first time as a feature extraction and selection technique in blood structure classification systems. Furthermore, we classified eight different types of diseases using various blood structure images, which is one of the major contributions of the current work.

Stepwise Linear Discriminant Analysis.
One of the robust linear classification methods named Fisher's linear discriminant is used to determine the optimal classification among the two classes [23] It is based on Gaussian distribution with an alike covariance. e comparison of fisher linear discriminant and the least-squares regression algorithm in the form of binary jobs is shown as where M shows the medium of detected feature vectors and Y presents the labels of the vector class. Fisher linear discriminant has the ability to deliver the utmost classification result against linear data; however, in the presence of sequential data, it does not provide a significant solution. erefore, we employed a nonlinear feature extraction/selection technique named SWLDA [28]. e SWLDA model consists of multiple steps. It is an iterative process that starts without any prior predictions. en, in each iterative phase, a predictor's inclusion or exclusion is decided based on the tests for the slope parameters called partial F-test values, i.e., the t-test values. When no predictors are included or excluded in the iterative sequential model, the model stops directing us to a 'final model.' A brief description of different phases of SWLDA is as follows.
3.1.1. Initial Process. Firstly, we had to identify and set a threshold or an impact level to decide the inclusion of a predictor in iterative model (known as Alpha-to-Enter, threshold level, denoted by a e ). Similarly, another threshold or an impact level was required in order to identify the exclusion of a predictor in the model known as Alphato-Remove (represented by a r ). A simple way to find these values is to try different values and select the one that provides the best results. Assuming 3 different interpreters (I 1 , I 2 , and I 3 ) and a result (response) 'y', the following three steps are then performed.
(1) First Step. After specifying the threshold/impact levels, (i) All interpreters are fitted, i.e., regressing y on every I 1 , I 2 ,..,I p−1 , where p presents the entire number of interpreters (in this case P � 3) (ii) ose interpreters whose t test, such as P values, is fewer than al e ; the first interpreter is added in the stepwise model which will become the interpreter that has the lowest t test P value (iii) If no interpreters have a t test P value fewer than al e , the model will stop working Step.
(i) Let us assume that I 1 has the lowest t test, the P underneath al e , and hence, it is the best interpreter nominated from the initial step. (ii) Fit every of the two interpreter models which includes I 1 as an interpreter, i.e., regressing y on I 1 , I 2 , and I 1 , I 3 . (iii) For those interpreters whose t test with P value is lower than al e , the second interpreter to be placed in the model will be the interpreter that has the smallest t test with P value. (iv) If there is no interpreter has a t test with P value lower than al e , then the model stops inserting, due to which the first interpreter in the model that is inserted from the first round considered as the final.
(v) Nevertheless, assume instead that I 2 is reflected as the utmost second interpreter and hence passed into the model.
(vi) As I 1 was the primary interpreter in the model, stage back and watch if inserting I 2 into the model someway exaggerated the implication of the I 1 interpreter. en, explicitly observe the t test with P value for evaluating B 1 � 0. Assume that the t test with P value for B 1 � 0 has turned out not to be important, that is, the P value is superior than al r , and eliminate I 1 from the model. Step.
(i) Perform the above step, iteratively, until adding an extra interpreter does not produce a t test with P value underneath al e .
More information on the stepwise model can be found in [28]. e overall flowchart of the stepwise model is shown in Complexity Figure 1. For al e , based on various experiments, we chose a value of 0.35, as this value provided the best results. Likewise, we also set al r � 0.40, and these values are known as selected (default) values, and the P value is a vector for testing whether elements of L or 0.

Classification
Using Support Vector Machine. Support vector machine (SVM) is one of the well-known numerical methods that might be utilized in image processing, pattern recognition, and machine intelligence [30]. SVM is used extensively for the purpose of linear and two-fold classification. It is reliant on the optimal splitting choice hyperplane among the two or additional classes along with the supreme borderline within the shapes of separate class. SVM employs the supposed purpose that projects the data from the unique feature space to additional higher dimensional space because of which the linear classification in the novel space is equal to nonlinear classification in the original space.
SVM has the ability to identify two or extra classes via hyperplanes. In this step, we employed an optimum algorithm to find the finest separating hyperplane within various class symbols, as presented in Figure 2.
Commonly, SVM is described as given below: where M presents the regular vector to the hyperplane which splits the two or more classes, φ is the intrinsic function of the inserting data, y describes the data point, and Tshows the training data. is is associated to the subsequent function as below: Re(y) � signi((M, φ(y)) + T), where Re(y) is the subsequent function which presents the training designs; this is the so-named support vector which grips the entire information nearby the classification concerns.

Datasets Used.
We utilized the following dataset in order to show the efficacy of the proposed approach.

Blood Structure Images' Dataset.
In this work, we utilized the blood structure dataset of different diseases such as blood cancer, COVID-19, dengue, HIV, malaria, thalassemia, tuberculosis (TB), and typhoid, and 160 images are given (20 images each). is dataset was collected from various open sources which were thoroughly checked by the medical experts (physicians). e images in this dataset were collected from both female and male patients. Also, we did not provide the metadata for the entire patients. e age limit for the patients was between 30 to 65 years. In this dataset, the images were transformed to a zero-mean vector of size 1 × 8100 by reducing the size of each input frame to 90 × 90. e dataset was collected within the period of 2 months (from August to September of 2020). All the images are in JPG format for the purpose of keeping the original quality of the images. Moreover, all the images have been passed from the preprocessing step in order to normalize them accordingly.

Experimental Setup.
(i) In this study, heavy experiments are accomplished to present the significance of the proposed model. All the experiments are accomplished in Matlab on a personal computer having specification such as Intel Pentium Core ™ i7-6700 (3.7 GHz) with the capacity of RAM of 16 GB. (ii) In the first experiment, the significance of the proposed approach is analyzed. For this experiment, all the images of the eight diseases are employed to show the validation of the proposed approach. (iii) In the second experiment, the performance of the blood structure classification system is trained and tested under the nonpresence of the designed approach using the collected blood structure dataset. For this purpose, we utilized existing well-known feature extraction algorithms such as local binary pattern, local directional pattern, local directional pattern variance, Hough transform, wavelet transform, curvelet transform, scale invariant feature transform, template matching, deformable templates, and unitary image transforms. (iv) Lastly, here in this experiment, the comparison between the developed model and previous state-ofthe-art feature extraction methods has been done.

Results and Discussion
In this section, we performed a series of experiments against the defined blood structure images of dataset. e overall results of the proposed approach are presented in the following sections.

First Experiment.
In this experiment, the performance of the proposed approach is tested and validated using the blood structure images dataset. e experiments are performed under the setup described in Section 4. e overall results are shown in Table 1 and Figure 3. It is obvious from Table 1 and Figure 3 that the proposed approach achieved best recognition rates on blood structure images of dataset.
is is because the proposed approach has the ability to choose the utmost revealing features by captivating the benefit of the forward selection model and to eliminate the inappropriate feature by taking the benefit of the backward reversion model.

Second Experiment.
is section presents the significance of the proposed approach, and for this purpose, huge experiments are performed. We employed well-known existing feature extraction methods such as local binary pattern, local directional pattern, local directional pattern variance, Hough transform, wavelet transform, curvelet transform, scale invariant feature transform, template matching, deformable templates, and unitary image transforms under the absence of the developed feature extraction approach. e overall results are described in Tables 2−11. As can be shown from Tables 2−11, the blood structure classification system does not achieve best performance on existing feature extraction methods (under the absence of the proposed method). is is because the proposed method Linear terms added

5.3.
ird Experiment. In this experiment, we made a comprehensive comparison between the developed technique and state-of-the-art works against recognition rates. Some of the methods are implemented by us under the exact setting as described in their respective articles; while, for some methods, we borrowed their simulation. e comparison results are presented in Table 12.
As clarified in Table 12, the designed system (under the presence of the proposed feature extraction method) outperformed more than the existing works. is is because the proposed feature extraction method emphasizes on choosing local features from blood structure images and discerning their class based on reversion (regression) values such as partial F test.

Conclusions
ere is a rapid growth of technology in every field of life, and its use in the medical field is no exception. In the medical field, blood is a vital body fluid and can be instrumental in identifying various pathological conditions. Nowadays, a lot of people are suffering from COVID-19 and every country has its own limited testing capacity.
Artificial intelligence-(AI-) based methods might be utmost obliging in offering information about those patients who previously were identified or suspicious of being infected. Remotely, the intensive care of such patients along with medical-grade sensors and gathering data on videobased cameras might enhance the medical conclusions for providers, and the procedure may also aid them to learn more about the illness us, they might treat it well. Accordingly, in this work, we built a system that automatically identified the patients' diseases with their blood structure images. In this work, we developed the procedure of nonlinear feature extraction technique named stepwise linear discriminant analysis, which extracts and selects the local features from the blood structure images and discriminates them based on regression values. e extraction and selection are based on partial F test values in order to determine which variable would be entered. Moreover, in the proposed methods, we utilized the advantages of forward and backward algorithms that extract the relevant feature and remove the irrelevant features, respectively, from the feature space. After this, support vector machine has been utilized in order to classify the blood samples. e proposed system might help doctors to remotely check the patients' condition without suspecting them, relying on the doctors' ability to easily provide some basic recommendations for better improvement.
Most of the existing blood structure classification systems were implemented in a controlled environment (in labs) that is not realistic. erefore, in the future, we will implement the proposed system along with the proposed feature extraction method in healthcare in order to facilitate medical experts or physicians.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e author declares there are no conflicts of interest. Table 12: e comparison of the proposed approach along with the state-of-the-art methods on the defined blood structure images dataset (unit:%).