Malaria is a serious disease. Nowadays, People need to go to laboratories or Laboratory technician comes to people`s house to do test for malaria. This process is time-consuming. This disease must be treated fast otherwise people will suffer through some serious complications such as liver failure, jaundice, and many more. For better treatment, reports have to be come out as quickly as possible. This paper makes accessible a review of work that has been done in space of reducing time for taking the test for malaria with help of Deep learning and Image processing.
Introduction
I. INTRODUCTION
Malaria is a severe disease transmitted by mosquitos. If not treated in time, then it can cause some serious problems. World Health Organization (WHO) reported in the World Malaria report 2021 that alone in 2020, there was 241 million malaria in the whole world. Also, 627000 people died because of malaria. This represents about 14 million more cases in 2020 compared to 2019, and 69000 more deaths. Approximately two-thirds of these additional deaths were linked to disruption in the provision of malaria prevention, diagnosis, and treatment during pandemic COVID 19. The latest data also shows the worst-case scenario projected by WHO – a doubling of malaria deaths in sub-Saharan Africa – did not come to pass.
According to the National Center for Biotechnology Information (NCBI) which is part of the State’s National Library of Medicine, they suggest PCR technique is the efficient method for malaria diagnosis. PCR has shown higher sensitivity and specificity than conventional microscopic examination of stained peripheral blood smears and now seems the best method for malaria diagnosis.
And advancement in Artificial intelligence allows analyzes samples faster and more d accurately than the n human eye would do. There are many ML methods and Deep learning (DL) is used in medical image classification. DL techniques are now integrated to the identification of COVID 19 cell in lungs. Many of the DL techniques include segmentation tasks and feature extraction or a combination of both.
DL techniques are also used for the classification of malaria parasites in blood cells from microscopy images. Two types of malaria images are widely used for the classification of malaria and that are thin blood smear images and thick blood smear images. Thick blood smear images are more efficient to the find presence of malaria due to thick layer of red blood cells. Thin blood smear images are more useful ad clinical to find stages of malaria. With help of a Convolution neural network, we can extract features ad classify from parasitized and uninfected images.
II. DATA-SET
The dataset is uploaded in Kaggle which is more similar data that is collected by Chittagong Medical College Hospital, Bangladesh of 150 malaria infected and 50 healthy patients thin blood smears. In this dataset there are main three types of images are present and those are parasitised cells, uninfected cells and uninfected cells containing impurities. There are 27,558 cell images.
III.METHODS
A. Pre Processing
Distributing parasitized and uninfected images into different folder. There are 22046 blood smear images are for train dataset and 5512 blood smear images for test dataset. Using OpenCv find infected and uninfected area with help of findContours and contourArea() method and after that convert them into csv file for both train dataset and test dataset.
In model, these CSV are read by using the read_csv method of pandas. Then images are reshaped in (50,50,1) converting color of images into gray and type is float32. With using that reshaped images, we are transforming them into pixels.
By using LabelEncoder from scikitlearn library, assigning labels to the pixels. Assigning 0 to infected and 1 for uninfected. Label encoded data is a numpy array which is transformed into binary matrix the where class axis is placed last, to_catgorical () method of keras library is used for generating binary matrix.
B. Model
It is a convolutional neural network with three convolutional layers. On the first layer, there are 16 filter shapes (50,50,1) and used “relu” as a layer activation function. Set padding as a ‘same’ to preserve spatial dimensions of volume such that output volume size matches the input volume size. After that we applied maxpooling in model. After all, three convolutional layers, applied maxpooling for extraction. In all three convolutional layers used ‘relu’ as a activation function and ‘same’ as a padding.
After that layers there are two dense layer and before each dense layer used dropout layer from preventing data from overfitting. I first dense layer used ‘relu’ as an activation function and in second dense layer used ‘softmax’ as an activation function.
ReLU is defied by:
f(x) = max (0, x)
here ReLU function returns value if function receives positive value x. if function receives negative value than it returns 0. Output range is zero to infinite.
Softmax is defined by:
Adaptive learning rate optimization algorithm used was Adam. Adam is a combination of RMS prop and stochastic Gradient Descent with momentum. Also, categorical cross-entropy is used as a loss function. This loss function is used in multi-class classification related tasks.
There are tasks in which an is belongs to one of many possible categories and the model has to decide which Our model image has two categories such as parasitized and uninfected and our model has to decide one. So categorical crossentropy is the most suitable loss function for calculating loss for our model.
Images are divided into batch size of 50 and 441 for epochs. And used 35 epochs to the model.
IV. RESULTS
The final result of the model is based on basis of accuracy matric. The final accuracy of the train model after all epochs. Accuracy matric is calculated according to
Accuracy = (TP + TN)/(TP+TN+FP+FN)
Here,
TP = number of cells that are parasitized classified correctly.
TN = number of cells that are uninfected classified correctly.
FP = number of uninfected cells that are wrongly classified as parasitized.
FN = number parasitized cells that are wrongly classified as uninfected.
Test model accuracy after epochs is 0.9501 and loss is 0.2554.
Below showed example in which randomly used image test dataset is uploaded in model and it gave result accurately.
V. DISCUSSIONS
Our model used smaller convolutional neural network gave accuracy of 0.9501 in test model. Also, smaller image is derived from larger images using interpolation. Very deep neural networks are used to extract small features from the images. But in our database images can be classified by singularity point like infected or parasitized. So we can say that shallow convolutional neural networks are more suitable for this type of classification.
We used only 3 convolutional layers but we can use more. K.Simonyan and A.Zisserman used 13 convolutional layer in their research of very deep convolutional networks for large-scale image recognition. Using VGG8 or VGG16 or using more convolutional layers that gives you the better accuracy.
Conclusion
Our work shows that deep learning can be more efficient for finding malaria parasites on blood smears. We have presented a DL model that gives high accuracy. More work need to done on model so that it can able to identify parasites, impurities and artefacts accurately. However, our model allows identification of more cases accurately. Our model is faster and more accurate to detect parasite in blood cells than manual testing.