A Bio Medical Waste Identification and Classification Algorithm Using Mltrp and Rvm.

Background: We aimed to extract the histogram features for text analysis and, to classify the types of Bio Medical Waste (BMW) for garbage disposal and management. Methods: The given BMW was preprocessed by using the median filtering technique that efficiently reduced the noise in the image. After that, the histogram features of the filtered image were extracted with the help of proposed Modified Local Tetra Pattern (MLTrP) technique. Finally, the Relevance Vector Machine (RVM) was used to classify the BMW into human body parts, plastics, cotton and liquids. Results: The BMW image was collected from the garbage image dataset for analysis. The performance of the proposed BMW identification and classification system was evaluated in terms of sensitivity, specificity, classification rate and accuracy with the help of MATLAB. When compared to the existing techniques, the proposed techniques provided the better results. Conclusion: This work proposes a new texture analysis and classification technique for BMW management and disposal. It can be used in many real time applications such as hospital and healthcare management systems for proper BMW disposal.


Introduction
Bio Medical Waste (BMW) originates from human, animal health care, medical teaching facilitates, medical research, biological laboratory waste and other facilities. A part of that waste stream is infectious or potentially infectious and it must be appropriately managed to defend the sanitation and healthcare personnel. Normally, the BMWs (1-3) are regulated and managed according to various standards and protocols in different countries. In health care facilities, the wastes are generated during improper management, which causes a direct health impact in the community, the environment and the health care workers. BMW is a dangerous health hazard to the public, hospital, health care units, flora and  Radioactive  Chemical  Pathological  Pressurized containers  Pharmaceuticals Preprocessing is an essential step in image processing applications, which eliminates the irrelevant noises in the given input image. Median filters are widely used in many images processing application, because it provides excellent noise reduction capabilities for noise removal. In this paper, an improved median filtering technique is applied to remove the noises in the given BMW image. After denoising, the texture features of the preprocessed BMW image is extracted based on the histogram value by using the MLTrP. In this research, the type of BMW is identified and classified with the help of MLTrP and the RVM classifier. Image processing algorithms apply local and global operations on an input image for some particular reasons, such as, noise elimination, edge detection and contrast stretching. The Local Binary Pattern (LBP), Local Derivative Pattern (LDP) and Local Tetra Pattern (LTP) are the existing feature extraction approaches. These techniques are mainly used to extract the information based on the distribution of edges, coded using only two directions such as, positive and negative directions. The performance of these methods can be enhanced by differentiating the edges in more than two directions. In order to overcome this limitation, the MLTrP extraction method is used in this work. The MLTrP is a three direction code that illustrates the spatial structure of the local texture by using the direction of the central gray pixel. BMW should be classified according to their source, type and risk factors (5). In this paper, MLTrP for BMW classification is proposed based on a diagonal, horizontal and vertical direction. The text on is an essential concept in texture analysis, applied to develop effectual models in texture recognition. Moreover, the extraction of pattern is used to classify each pixel using tetra direction and the extraction of magnitude pattern is collected using the magnitude of derivatives. There are different classification techniques are available for an efficient image classification. Some of the existing classification techniques compared in this paper is, Artificial Neural Network (ANN) (6), decision tree (7), Support Vector Machine (SVM) (8) and fuzzy measure (9). ANN is a non-parametric universal classifier and it efficiently handles the noise input. The disadvantages of this technique are, its computational rate is high, it is semantically poor, it has the over fitting problem and it consumes more time for training. Decision tree is a nonparametric training data that provides hierarchical associations between input variables to forecast class membership. It is simple and the computational efficiency is good, which are major advantages of this technique. It becomes more complex, when various values are correlated that is the main limitation of this approach. SVM is an unsupervised learning classifier that gains the flexibility in the form of threshold and contains a non-linear transformation. The advantages of this method are, it has lesser computational complexity and it is simple to manage the decision rule complexity. The disadvantages of this technique are, the resultant transparency of SVM is low, it consumes less time for training, the structure of this technique is not easy to understand and the determination of optimal parameters are is more complex. In order to overwhelm these drawbacks, the RVM classification technique is used in this paper. After extracting the texture features, the RVM classifier is used to classify the BMW wastages. RVM is a prevalent choice for classification task, which provides more advantages over SVM. In this analysis, it is mainly used for the classification of input BMW image. After classification, the types of wastages are identified in order to segregate and dispose the BMW properly. In this analysis, four types of wastages are identified and classified such as, human body parts, plastics, cotton and liquids. The main intention of this work was to define BMW and to provide information about the identification and classification of this waste stream. For this purpose, the MLTrP with RVM classification method is proposed in this paper.
We aimed to extract the histogram features for text analysis and, to classify the types of BMW for garbage disposal and management.

Methods
Here, the MLTrP and RVM were used to efficiently extract and classify the histogram features of BMW image. The main aim of this work was to extract the histogram features from the BMW image and to classify the type of BMW as plastic, cotton, liquid or human body parts. The proposed BMW image classification system was designed at the year of 2014 using the MATLAB tool with certain Garbage images. This paper introduced a new framework for proper garbage disposal and management.

Preprocessing
Preprocessing images generally involves eliminating background noise, stabilizing the intensity of the specific particle images, eliminating reflections and masking portions of images. Image preprocessing is the method of increasing data, images proceeding to computational processing. The preprocessing of BMW at the source of generation is the initial step, but is an essential step in health care waste management. In this research, the median filter is used to preprocess the BMW image. Median filtering is a nonlinear method, mainly used to remove the noise from images. It is very effective and extensively used technique in noise removing while preserving edges. Median filter is one of the main building blocks in image processing applications, which adequately removes the salt and pepper type of noises. It removes the noises in the BMW image by moving through the image pixel by pixel. The pattern of neighbors is referred as window, which slides pixel by pixel over the entire BMW image. Initially, the median is calculated by arranging all pixel values from the window into numerical order. After that, it replaces each value as the median value of the neighboring pixels. Fig. 1 shows the process of median filtering based BMW image preprocessing. Initially, the BMW image is given to the input and the noises present in this image is removed by using the median filtering technique. Then, the texture features of the denoised image are extracted by using the MLTrP technique. In this stage, the patterns are extracted and the encoded-magnitude patterns are calculated based on the pixel directions (0°, 45° and 90°). Hence, the histogram features are selected and given to the input of RVM classifier. Finally, it classifies the BMW image into human body parts, cotton, plastics and liquid wastages.

Feature Extraction
Feature extraction is the process of capturing the visual content of images for indexing and retrieval. Feature extraction involves facilitating the amount of resources needed to represent a large set of data exactly. The aim of feature extraction is to represent the raw image in its reduced form to facilitate decision-making process such as pattern classification. Feature extraction is an essential step to get high classification rate. A set of features are extracted in order to allow a classifier to identify the normal and abnormal pattern. The BMW image region is determined by the way of gray levels are distributed over the pixels in the region. The properties of the BMW image region are quantified by exploiting space relations underlying the gray level distribution. In this paper, the features of the input BMW image are extracted by using the MLTrP. Fig. 2 shows the overall flow of the proposed MLTrP based feature extraction and RVM based classification.

MLTrP
In the field of texture feature extraction and classification, the MLTrP is a stepping stone. It is mainly used to build the relationship between the central pixel and the neighboring pixels by calculating the gray level difference. The MLTrP encodes the input BMW image by calculating the horizontal and vertical directions of each pixel. It codes the relationship based on the direction of the central pixel p c and neighbors. The directions are calculated by combining (n-1)th -order derivatives of the 0°, 45° and 90°directions. The first order derivatives along 0°, 45° and 90° directions are denoted as,

Let
denotes the central pixel in image D, indicates the horizontal neighborhood, indicates the vertical neighborhood and represents the diagonal neighborhoods of respectively. Then the first order derivatives at the center pixel is calculated as, The center pixel's direction is calculated as, [4] From equation [4], it is apparent that the possible direction for each center pixel can be 1, 2, 3, 4, 5, 6, 7 or 8 and eventually, the image is converted into eight directions. The sec order is defined as follows, The 8-bit tetra pattern for each central pixel is obtained from equations [5] and [6]. Then, all patterns are separated into 8 parts based on the direction of center pixel. Where, the direction of the center pixel is obtained from equation [4]. Hence,

∑
[7] [8] Where, similarly, the other tetra patterns for remaining 8 directions of center pixels are converted to binary patterns. Finally, 56 (8 7) binary patterns are taken. Fig. 3 shows the process of histogram feature extraction with the help of MLTrP.  Fig. 4. Fig. 5 illustrates tetra pattern calculation for the center pixel direction 1 by using the direction of neighbors. The direction of blue arrows represents the center pixel and the black arrows represent the neighboring pixels. Here, we take 57 patterns (i.e. 8 X 7), 56 tetra patterns and 1 magnitude pattern. Hence, we increase the number of patterns for texture feature extraction. The traditional algorithms find the tetra pattern in 4 directions, but in this work we take 8 directions.

RVM Classification
RVM is a sparse learning algorithm that is similar to SVM, which is capable of delivering a fully probabilistic output. The advantages of RVM yield a decision function that is much sparser than SVM, while maintaining its classification accuracy. RVM is a convex quadratic program, which provides a probabilistic interpretation of the output vector machine. The idea of RVM is that the input data are mapped to a high dimensional feature space by kernel function. Given a set of data , where is the input vector and are their corresponding outputs. The output of RVM is illustrated as follows, [ ] represents the weight vector, ) represents the kernel function. In RVM, Gaussian kernel is used as the encountered kernel, expressed as follows, [10] Where, represents the width of Gaussian kernel. The likelihood of the dataset can be expressed by using, [11] Where, [12] An explicit prior probability distribution over the weights to improve the generalization ability of RVM model, defined as follows, ∏ [13] Where, x represents a hyper-parameter vector. Thus, a classifier function of relevance vector machine can be expressed by, [14] In this analysis, the RVM classifier is mainly used to classify the types of wastages such as, human body parts, cotton, plastics and liquids. The merits of RVM classifier over SVM are,  RVM classifier requires a small amount of relevance vector than the SVM.  When compared to SVM, it needs less testing time.  The computational cost and the complexity are low, when compared to SVM.

Results
Bio Medical Waste (BMW) is a waste generated from hospitals, health care institutions and medical laboratories, produced during immunization, diagnosis and treatment. The experimental results show the performance of the proposed BMW identification and classification. In this analysis, the MLTrP feature extraction method is used to histogram features of BMW image and RVM classifier is used to classify the types of wastages such as, human body parts, plastics, cotton and liquids.

Filtered Image
Initially, the BMW image is given to the input shown in Fig. 6. It contains irrelevant and highly corrupted noises, removed by using median filter. It is mainly used to eliminate salt and pepper noises from the image and the filtered image is shown in Fig. 7. The pattern of neighbors is named as window, which slides the entire image pixel by pixel. Here, the median is calculated by sorting all pixel values from the window into numerical order. Then, the pixel value is replaced as the median value (middle pixel value).

Texture Extraction
After denoising, the texture features of the denoised image are extracted by using the MLTrP technique, shown in Fig. 8. The MLTrP illustrates the spatial structure of the local texture using the direction of the central gray pixel. The tetra pattern is calculated based on the direction of pixels using horizontal, diagonal and vertical derivatives (0°, 45° and 90°). Fig. 9 illustrates the confusion matrix for actual and predicted classes of BMW image. In this graph, the x-axis represents the predicted classes, y-axis represents the data samples and z-axis represents the actual classes. Confusion matrix contains information about actual and predicted classifications done by RVM classification system. The performance of this system is evaluated by using the data in the matrix.

Sensitivity and Specificity
Sensitivity is the proportion of true positives that are correctly identified by RVM classifier, expressed in percentage. Sensitivity is defined as the probability of getting a positive test result in sub-jects. The specificity is the number of true negative results divided by the sum of the numbers of true negative plus false positive results. The sensitivity is calculated by using, [15] [16] The means of the formula 15 and 16 are: TP -True Positive, TN -True Negative, FP -False Positive, FN -False Negative. In this analysis, the sensitivity rate is increased by 100% and the specificity rate is increased by 91%.

Classification Rate
RVM is one of the best-known methods in pattern classification and recognition. It provides the better classification results compared with the SVM classifier. The classification rate is the perfect prediction rate increased by 100%. Error rate is the misclassification rate that reduces the performance of the classification rate, reduced by 43%. Correct rate is the accurate classification rate, increased by 95.65%. By increasing correct rate, the overall performance and the accuracy rate is also increased.

Accuracy
From this analysis, it is observed that the level of accuracy is increased by 95.65% by using the RVM classification. The results of the BMW image processing returns a result with accuracy commensurate to the sub pixel resolution, whose reproducibility can be deducted from the frequency of occurrences. Accuracy of RVM classifier can be determined from sensitivity and specificity with the presence of prevalence. The accuracy level is calculated by using, [17] Where, PL represents the positive likelihood and NL represents the negative likelihood. PL is the positive score, also termed as predictive value of a positive test result. NL is the negative score, also termed as predictive value of a negative test result.
Here, the classification accuracy of training level and training feature points is calculated for existing and proposed texture feature extraction techniques shown in Table 1. Where, represents the noise density ratio. [18] [19]

Comparative Analysis between existing SVM and proposed RVM Classifiers
In this graph, the x-axis represents the classifiers and the y-axis represents the values of sensitivity, specificity and classification rate. From this graph, it is observed that the proposed RVM classifier provides better results, when compared with the SVM classifier. Fig. 10 shows the comparative analysis between the existing and proposed RVM classification techniques.   Performance Measure Table 2 shows the performance measure of RVM classification. The performance metrics such as, correct rate, error rate, sensitivity, specificity, accuracy and prevalence of the proposed BMW identification and classification system is evaluated by using the RVM classifier.

Discussion
The task has been carried out in this paper is to provide the information about the identification and classification of BMW. Several related works of BMW classification is proposed in the last decades. Classification (10) and identification of BMW is not an easy problem so, more work is needed for the task of waste stream identification. The Median Filtering technique (11)(12)(13), MLTrP (14)(15)(16)(17)(18)(19) and RVM (20)(21)(22)(23) are used to efficiently extract and verify the histogram features of BMW image. In this research, four types of wastages such as, human body parts, plastics, cottons and liquids are properly identified and classified.
In this paper, the separation of bio waste at source is concentrated. The separation of Bio Waste at source is the primary stage and recycling, reuse and recycling should be considered in appropriate perspectives. The proposed BMW identification and classification is striving toward through improving the accuracy, sensitivity, specificity and classification rate. These metrics are specifically important for BMW imaging and its becoming a predictable investigative procedure for clinical practice. In this paper, the hybrid method is developed to extract and classify the texture features of BMW image by combining MLTrP with RVM classifier. The main aim of using MLTrP technique is to extract the histogram features from the denoised BMW image.
Here, the 8-bit tetra pattern and magnitude patterns are calculated based on the horizontal, di-agonal and vertical directions (0°, 45° and 90°). Additionally, the RVM classification mechanism is also employed to classify accurately the waste stream into human body parts, plastics, cotton and liquids. In future, the classification system can be improved for further systematic segregation and proper disposal of BMW.

Conclusion
BMW should be classified according to their source, type and risk factors associated with their management, handling, separation, treatment and disposal. BMW must be handled and stored in a secure environment, because it causes serious health issues to environment. In this paper, the BMW are identified and classified by using MLTrP technique and RVM classifier. Initially, the input BMW image is preprocessed by using the median filtering technique. In this stage, the irrelevant and highly corrupted noises are removed and filtered. After that, the MLTrP is used to extract the histogram features of the BMW image. Hence, the histogram pattern features are given to the input of RVM, which is a multi-class classifier mainly used for pattern classification. Finally, it classifies the BMW image into human body parts, cotton, plastics and liquid wastages.

Ethical considerations
Ethical issues (Including plagiarism, informed consent, misconduct, data fabrication and/or falsification, double publication and/or submission, redundancy, etc.) have been completely observed by the authors.