Journal of Artificial Intelligence and Metaheuristics

Medical Image Classification for Monkeypox Case using Deep Learning Algorithms: A Survey

Ahmed Islam, Mohamed G. Abdelfattah, El-Sayed M. El-Kenawy, Hossam El-Din Moustafa
Volume 5, Issue 2, pp. 47-57 (2023)
DOI: https://doi.org/10.54216/JAIM.050205
Online: https://americaspg.com/journal/28/article/2146

Abstract

Due to the importance of maintaining public health and preventing the spread of diseases, nowadays, new diseases have spread at a lot of countries called Monkeypox after the world get rid of covid-19.it is crucial to diagnose Monkeypox and stop the spread of this disease. so that we make this review to give a point of view to Monkeypox spread nowadays. We have recently done nine research to overlay it with different artificial intelligence deep learning methods to diagnose Monkeypox from digital skin images due primarily to AI's success in COVID-19 identification. The VGG16, VGG19, ResNet50, ResNet101, DenseNet201, and AlexNet models were used in our proposed method to classify patients with monkeypox symptoms with other diseases of a similar kind (chickenpox, measles, and normal)., Due to the importance of facing this disease and summarizing these researches according to: methodology and results of detection accuracy, precision.

Keywords: artificial intelligence; Monkeypox; deep learning; Data collection; data augmentation.

1. Introduction

In today's world, several synchronized technologies, such as machine learning, deep learning, and artificial intelligence, play an essential part in providing medical assistance and diagnosing illness. We can obtain a massive dataset of diseases thanks to the participation of infected and healthy people worldwide. Because of this, the function of classification in accurately classifying diseases is quite significant. Recently, after the world was prosperous in eradicating the COVID19 virus, a new threat emerged: a skin disease recently appearing in many countries from a rash strain known as Monkeypox. However, the disease only occurred in Africa in the seventies of the previous century [1:8]. This skin disease is a strain of the sporotrichosis virus, related to another skin disease that shares many similarities. The virus that causes Monkeypox is called an orthopoxviral, a zoonotic illness. In most cases, the incubation period for Monkeypox lasts between 6 and 13 days; however, this time frame can range anywhere from 5 to 21 days. There are two time periods during which the infection is noticed. Despite this, the fatality rate has hovered between 3 and 6 percent [9]. It is now quite simple to obtain a complete photo collection of healthy and diseased skin for anyone who can use this collection. The signs of measles, cowpox, chickenpox, smallpox, and Monkeypox can be seen on images of the Monkeypox Skin. Dataset (MSLD), images of skin lesions caused by measles, chickenpox, and Monkeypox were collected and assembled. All of these scans originated quickly from readily available sources, such as websites, news portals, and case reports; however, they may contain some noise, blurring, and distortion, which is why we need to improve the image quality by filtering, using adopting size or concentration on the required things of skin Lesion and removing unwanted information from the image [10]. There are lots of pre-trained deep learning models like VGG-16, VGG-19 ResNet50, ResNet101, ResNet201, MobileNetV1and Inception v3. The model's ability to identify and extract effective features gives us more information about the monkeypox virus. The rule deep learning also helps us at covid 19 disaster by classing the disease and correctly diagnosing the covid at first days of symptoms to avoid fatality. It can also diagnose by chest radiograph to classify whether the person is normal or infected with COVID-19. it concerns with the size of lung and its lighting point to classify if it infects. Here the rule of deep learning appears to deal with images [11]. Firstly, the number of images that we have is small to classify images, but we face the overfitting problem which it can be solved by augmentation to increase the number of images and for generalize our model. Secondly, it enhances the photo quality, then it searches for the common thing that repeats in all image called features (size , brightness , …..). Thirdly, applies the pre-trained model and show the performance of classification by performance metrics (accuracy, precision, F1-Score, AUC, …...), or with confusion metrics and ROC curves, and compare results with other results to see if our processes are correct and able to generalize our model for diagnoses disease.

Paper [12] proposed new model called (PoxNet22) with 100% precision, recall, and accuracy compared with six model (models DenseNet201, Inception -ResNetV2, EfficientNetB7, InceptionV3, ResNet50, and VGG16) according to performance matrices. Then pass through some processes Data collection, Data preprocessing and Data augmentation. Data collection images from various webscraping sources, including news portals, websites, and publicly available case reports, are gathered and analyzed.

In data preprocessing, there are various methods were utilized, such as low-contrast pictures, contrast stretching, histogram equalization and adaptive equalization. The dataset is divided into two categories, 'monkeypox’ and ‘‘others’’ as mentioned earlier. As a result, the data preparation procedure was applied to each class individually. The contexts in which there is a low contrast between the image and the background make it more difficult for models to decide whether image borders are clear. To increase the range of intensity values that the images can include, contrast stretching was applied to the images. The overall image quality of the dataset has been enhanced using a variety of image preparation methods. Data augmentation has been carried out to reduce the possibility of the model overfitting. This resulted in a considerable rise in the overall number of images inside the collection. Then, the dataset has been divided into:

A train set and a test set in the section titled 'Train Test Split' to run the experiment on both. To ensure that the training dataset contained correct data and information, throughout the whole data augmentation procedure, the rescaled value was kept at 1/255. After that, the rotation's range was modified to 20, which allowed the images to be turned between 0 and 20 degrees in any direction. After this one, the zoom range was increased to 0.2 so that it would allow for a 20% in/out zoom. It was performed in preparation for the next one. It was then carried out to facilitate the adjustment later. Additionally, the shear range was adjusted to 0.2 so that a total of 20% could share the image. Then, different deep learning models then calculate performance matrices:

also achieved 99% accuracy, 99% precision, 98% recall, and 7% loss. The model’s execution also took 6 minutes and 41 seconds.

Authors in [13] proposed CNN–LSTM hybrid artificial intelligence system, developed and proposed for monkeypox detection, test accuracy was 87% and Cohen's kappa score was 82.22%. The author classifies data with 7 deep learning models ( CSPDarkNet, InceptionV4, MnasNet, MobileNetV3, RepVGG, SE-ResNet and Xception). then chose 2model with best performance metrics and combined them with a LSTM encoder network. Data of Monkeypox passes through some processes Data collection, Data preprocessing and Data augmentation.

The dataset consists of normal, Monkeypox, measles and chickenpox classes. It is understood that the distribution in the dataset is unbalanced. Data collection images from various web-scraping sources, including news portals, websites, and publicly available case reports, are gathered and analyzed. Data augmentations are equalized, horizontal flip, random brightness contrast, hue saturation value, shift scale rotate and RGB shift. The parameters and values of the data augmentations. In the new version of the dataset with data augmentation and data preprocessing, the training, validation and test distributions required for network training and classification in deep learning models are 80%. The purpose of the random selection is that the researcher does not have the images in the test and validation dataset relatively easily. Then, different deep learning models then calculate performance matrices:

respectively. LSTMs actually address the vanishing gradient problem. The recurrent connections in the LSTM layer are cyclic. The proposed CNN–LSTM hybrid deep learning model for monkeypox detection for the following scores on the test dataset: Achieved 87% accuracy, 93% precision, 87% recall, 90 %F1 Score, 93.4% AUC Score, 82.22% Cohen’s Kappa ,82.40% MCC.

The author in [21] proposed an Android mobile application that uses deep learning to help with this situation. The application has been developed with Android Studio using Java programming language and Android SDK 12. The system can classify the images with 91.11% accuracy. In addition, the proposed mobile application can be trained for the preliminary diagnosis of other skin diseases. Preprocessing methods. In this stage, we have normalized the pixel values from [0, 255] to [-1, 1]. Then, the system was trained with the transfer learning method using pre-trained networks. Various pre-trained networks have been used, and their performances have been compared in this step. Afterward, the network with the best performance was recreated using TensorFlow. The TensorFlow model has been converted. Deep learning approaches allow automatic learning of complex features needed for visual pattern recognition. Convolutional Neural Networks (CNN) is a type of deep learning approach. CNN has been used for several computer vision tasks.

Different pre-trained netwo1rks have been retrained using the transfer learning approach (ResNet18, GoogleNet, EfcientNetb0, NasnetMobile, ShufeNet, MobileNetv2) and the network results have been compared according to epochs change. The best performances were achieved with MobileNetv2 and EfcientNetb0 in 60 epochs. The EfcientNetb0 and MobileNetv2 networks which show the best performances for the human monkeypox classification task. Then, MobileNetv2 is the best performance in terms of accuracy as 91.11% was adapted into an Android mobile application. It was the best accuracy of the pre-trained model according to the number of epochs =60

The author in [22] proposed implemented seven DL models that leverage pre-trained capabilities to diagnose Monkeypox disease based on skin lesion images from patients. we employed LIME and Grad-Cam techniques. Data collection and the construction of datasets as an initial step. The dataset of this study consists of 43 Monkeypox, 47 Chickenpox, 27 Measles, and 54 normal images. To standardize the images, we resized them to 128×128 pixels. To enhance the dataset for more robust training, we employed augmentation techniques to increase the number of samples. The augmentation process involved the following parameters: rotation range=45, rescale=1/255, zoom range=0.15, height shift range=0.25, width shift range=0.25, shear range=0.25, channel shift range=25, vertical flip=True, and horizontal flip=True.

For the classification task, 80% of the data was used for training, while the remaining 20% was reserved for testing. seven CNN architectures were implemented, namely InceptionResNetV2, InceptionV3, ResNet152V2, VGG16, VGG19, Xception, and DenseNet201. and compare performance metrics of four and two-class scenario. The results show that our proposed DenseNet201based architecture has the best performance, with Accuracy=97.63%, F1-Score=90.51%, and Area Under Curve (AUC)=94.27% in two-class scenario; and Accuracy=95.18%, F1-Score=89.61%, AUC=92.06% for four-class scenario For four class scenarios:

Author in [16] proposed an We propose an ensemble of CNN models for Monkeypox detection using skin lesion images. We first consider three pre-trained base learners, namely Inception V3, Xception and DenseNet169 to fine-tune on a target Monkeypox dataset. we propose a Beta function-based normalization scheme of probabilities to learn an efficient aggregation of complementary information obtained from the base learners followed by the sum rule-based ensemble. The model achieves an average of 93.39%, 88.91%, 96.78% and 92.35% accuracy, precision, recall and F1 scores, respectively.

We first discuss the dataset we have experimented on followed by introducing the proposed model for identifying Monkeypox from skin lesion images. We first resize the training samples to 224 × 224 pixels. Since we deal with a relatively small-sized dataset, we need to take care of a major challenge while training a CNN model, i.e., the problem of overfitting. To deal with this, we augment all the training images by utilizing augmentation techniques including horizontal and vertical shifting, brightness changing, zooming, channel shifting, horizontal and vertical flipping, rotating, and changing. Additionally, we consider color spaces like YUV and HSV to make sure our framework learns discriminative embeddings. Further, these training images are then fed to these three pre-trained (pre-trained on the ImageNet dataset) CNN models, namely Xception, InceptionV3 and DenseNet169. Before feeding the images, we further augment them using Gaussian noise. These pre-trained CNN models are fine-tuned using this target Monkeypox Skin Lesion dataset including its inner convolutional layers.

Finally, to have a better decision over the predicted probability scores of the individual models, an enhancement scheme is proposed based on the aggregation of Beta- normalized output values of the respective models using the sum rule. The three models give the best results with batch size 16 and learning rate 1e – 4 and the proposed method experiments on a binary-class Monkeypox dataset namely the Monkeypox Skin Lesion dataset. The proposed approach is evaluated using a 5-fold crossvalidation setting:

Author in [19] proposed and evaluated a modified DenseNet-201 deep learning-based CNN model named MonkeyNet. Using the original and augmented datasets, this study suggested a deep convolutional neural network that was able to correctly identify monkeypox disease with an accuracy of 93.19% and 98.91%, respectively. The proposed model will also help doctors make accurate early diagnoses of monkeypox disease and protect against the spread of the disease. The data preprocessing step includes feature scaling, data resizing, splitting, and augmentation. These are illustrated in the following: Feature Scaling: The procedure initially started by exporting the dataset so that we could work with it and modify the data so that it could be used by multiple classifiers to accurately forecast monkeypox disease detection. the skin images in the dataset are transformed to RGB and then downsized to 224 × 224 pixels. The standard image size is in the range [0,255], with 255 being the largest image size allowed by the system.

Data splitting: As a result of the feature rescaling, all of the images in the dataset are resized into the range (224,224), where the image’s height and width are both 224 pixels. The dataset must now be divided into two parts: a training portion and a testing portion. Specifically, in this study, we divided the dataset into two parts: 80% for training and 20% for testing our proposed model, respectively. From the training dataset, 20%. Data Augmentation: Data augmentation is a process that is used to expand the size of a dataset by applying random transformations to the original data. ImageDataGenerator is a class in the Keras deep learning framework that allows us to fit the model using image data. Comparison of the ensemble approach's 5-fold cross-validation estimates of the ensemble's mean precision mean recall, mean F1-score, and represent accuracy for all classes:

Table 1. summarizes the different researches proposed to classify moneybox images.

6. Conclusion

According to summarization of these research we notice that the importance of data classification to have high performance of detection the disease. The data is the most important to classify the disease, it is separated into two classes (Monkeypox, normal) people or in four classes normal, Monkeypox, measles and chickenpox. Data augmentation is also important to avoid overfitting, it increases the number of images which helps classifier to have accurate detection of disease. There were numerous of pre-trained deep learning model (VGG16, VGG19, ResNet50, ResNet101, MobileNetv2, EfcientNetb0, DenseNet201, and AlexNet). It helps us to diagnose the disease at first appearance and avoid spreading. The results were excellent for detection of disease it reaches 100% because of help of optimization algorithms.

Table 1. Summary of different works in monkey box classification
Table 1. Summary of different works in monkey box classification
Figure

Funding: “This research received no external funding”

Conflicts of Interest: “The authors declare no conflict of interest.”

References

 

[1] K.Chadaga, S.Prabhu, N.Sampathila, S.Nireshwalya, S.S.Katta, R.Tan, U.R.Acharya, Application   of Artificial Intelligence Techniques for Monkeypox: A Systematic Review. MDPI,13(5), 824, 2023.

[2] Chadaga, Krishnaraj, Srikanth Prabhu, Niranjana Sampathila, Sumith Nireshwalya, Swathi S. Katta, Ru-San Tan, and U. Rajendra Acharya. "Application of artificial intelligence techniques for monkeypox: a systematic review." Diagnostics 13, no. 5 (2023): 824.

[3] Ahsan, Md Manjurul, Muhammad Ramiz Uddin, Md Shahin Ali, Md Khairul Islam, Mithila Farjana, Ahmed Nazmus Sakib, Khondhaker Al Momin, and Shahana Akter Luna. "Deep transfer learning approaches for Monkeypox disease diagnosis." Expert Systems with Applications 216 (2023): 119483.

[4] Jaradat, Ameera S., Rabia Emhamed Al Mamlook, Naif Almakayeel, Nawaf Alharbe, Ali Saeed Almuflih, Ahmad Nasayreh, Hasan Gharaibeh, Mohammad Gharaibeh, Ali Gharaibeh, and Hanin Bzizi. "Automated Monkeypox Skin Lesion Detection Using Deep Learning and Transfer Learning Techniques." International Journal of Environmental Research and Public Health 20, no. 5 (2023): 4422.

[5] Yasmin, Farhana, Md Mehedi Hassan, Mahade Hasan, Sadika Zaman, Chetna Kaushal, Walid El-Shafai, and Naglaa F. Soliman. "PoxNet22: A fine-tuned model for the classification of monkeypox disease using transfer learning." IEEE Access 11 (2023): 24053-24076.

[6] Sorayaie Azar, Amir, Amin Naemi, Samin Babaei Rikan, Jamshid Bagherzadeh Mohasefi, Habibollah Pirnejad, and Uffe Kock Wiil. "Monkeypox detection using deep neural networks." BMC Infectious Diseases 23, no. 1 (2023): 438.

[7] Almutairi, Saleh Ateeq. "DL-MDF-OH2: optimized deep learning-based monkeypox diagnostic framework using the metaheuristic Harris Hawks Optimizer Algorithm." Electronics 11, no. 24 (2022): 4077.

[8] Gupta, Aditya, Monu Bhagat, and Vibha Jain. "Blockchain-enabled healthcare monitoring system for early Monkeypox detection." The Journal of Supercomputing (2023): 1-25.

 

[9] M.Altun, H.Gürüler, O. Özkaraca, F.Khan, J.Khan, Y.Lee, Monkeypox Detection Using CNN with      

   Transfer Learning. MDPI, 23(4), 2023.

[10] M.M.Eid, E.L.El-Kenawy, N.Khodadadi, S.Mirjalili, E.Khodadadi, M.Abotaleb, A.H.Alharbi, A.A.Abdelhamid, A.Ibrahim, G.M.Amer, A.Kadi, D.S.Khafaga, Meta-Heuristic Optimization of LSTM-Based Deep Network for Boosting the Prediction of Monkeypox Cases. MDPI, 10(20), 2022.

[11] M.Haque, M.Ahmed, R.Nila, S.Islam, Classification of Human Monkeypox Disease Using Deep  

     Learning Models and Attention Mechanisms. arXiv preprint arXiv:2211.15459,2022.

[12] F.Yasmin, M.M.Hassan, M.Hasan,S.Zaman, C.Kaushl, W.El-Shafai, N.F.Soliman, PoxNet22: A Fine-Tuned Model for the Classification of Monkeypox Disease Using Transfer Learning. IEEE Access, 11, 24053-24076, 2023.                                                                                                                      

[13] F.Uysal, Detection of Monkeypox Disease from Human Skin Images with a Hybrid Deep Learning Model. Diagnostics, 13(10), 1772, 2023.

[21] V.H.Sahin, I.Oztel, G.Y.Oztel.Human Monkeypox Classification from Skin Lesion Images with Deep Pre-trained Network using Mobile Application, Journal of Medical Systems, 2022.

[22] A.S.Azar, A.Naemi, S.B.Rikan, J.B.Mohasefi, H.Pirnejad, U.K.Wiil, Monkeypox detection using deep neural networks. BMC Infectious Diseases, 23(1), 438, 2023.

[16] R. Pramanik, B. Banerjee, G. Efimenko, D. Kaplun, R. Sarkar, Monkeypox detection from skin lesion images using an amalgamation of CNN models aided with Beta function-based normalization scheme. Plos one, 18(4), 2023.

[17] M.Lakshmi, R.Das, Classification of Monkeypox Images Using LIME-Enabled Investigation of Deep Convolutional Neural Network. Diagnostics, 13(9), 1693, 2023.

[18] T.Nayak, K.Chadaga, N.Sampathila, H.Mayrose, G.M.Bairy,S.Prabhu, S.S.Katta, S.Umakanth,  Detection of Monkeypox from skin lesion images using deep learning networks and explainable artificial intelligence. Applied Mathematics in Science and Engineering, 31(1), 2023

[19] D.Bala, M.S.Hassain, M.A.Hassain, M.I.Abdullah, M.M.Rahman, B.M.anavalan, N.Gu, M.S.Islam, Z.Huang, MonkeyNet: A robust deep convolutional neural network for monkeypox disease detection and classification. Neural Networks, 161, 757-775, 2023.

[20] A.A.Abdelhamid, E.M.El-kenawy, N.Khodadadi, S.Mirjalili, D.S.Khafaga, A.H.Alharbi, A.Ibrahim, M.M.Eid, M.Saber, Classification of Monkeypox Images Based on Transfer Learning and the Al-Biruni Earth Radius Optimization Algorithm. Mathematics, 2022.

[21] Images dataset (MSID) a new multiclass skin-based image datatset for Monkeypox disease detection – Kaggle [cited December 1, 2022]. Available from: https://www.kaggle.com/data sets/dipuiucse/monkeypoxskinimagedataset.

[22] Images dataset (MSLD) hosted in the Kaggle platform https://www.kaggle.com/ datasets/nafin59/Monkeypox-skin-lesion-dataset.