- 1School of Computer Science and Engineering, Vellore Institute of Technology, Chennai, Tamil Nadu, India
- 2Department of Computer Science and Engineering, Rao Bahadur Y. Mahabaleswarappa Engineering College, Ballari, Karnataka, India
- 3Faculty of Electronics, Telecommunications and Informatics, Gdansk of Technology, Gdansk, Poland
- 4Specialist Diabetes Outpatient Clinic, Olsztyn, Poland
- 5Department of Engineering and Technology, Bharati Vidyapeeth Peeth Deemed to be University, Navi Mumbai, Maharashtra, India
- 6Department of Electronics and Communication Engineering, Nitte Meenakshi Institute of Technology, Bangalore, Karnataka, India
Introduction: Melanoma Skin Cancer (MSC) is a type of cancer in the human body; therefore, early disease diagnosis is essential for reducing the mortality rate. However, dermoscopic image analysis poses challenges due to factors such as color illumination, light reflections, and the varying sizes and shapes of lesions. To overcome these challenges, an automated framework is proposed in this manuscript.
Methods: Initially, dermoscopic images are acquired from two online benchmark datasets: International Skin Imaging Collaboration (ISIC) 2020 and Human against Machine (HAM) 10000. Subsequently, a normalization technique is employed on the dermoscopic images to decrease noise impact, outliers, and variations in the pixels. Furthermore, cancerous regions in the pre-processed images are segmented utilizing the mask-faster Region based Convolutional Neural Network (RCNN) model. The mask-RCNN model offers precise pixellevel segmentation by accurately delineating object boundaries. From the partitioned cancerous regions, discriminative feature vectors are extracted by applying three pre-trained CNN models, namely ResNeXt101, Xception, and InceptionV3. These feature vectors are passed into the modified Gated Recurrent Unit (GRU) model for MSC classification. In the modified GRU model, a swish-Rectified Linear Unit (ReLU) activation function is incorporated that efficiently stabilizes the learning process with better convergence rate during training.
Results and discussion: The empirical investigation demonstrate that the modified GRU model attained an accuracy of 99.95% and 99.98% on the ISIC 2020 and HAM 10000 datasets, where the obtained results surpass the conventional detection models.
1 Introduction
In recent decades, skin cancer is one of the prevalent cancer types, which is categorized into two types such as non-melanoma and melanoma (Sreelatha et al., 2019; Ashraf et al., 2020). The accurate classification of different skin cancer types holds significant importance because it directly influences the choice of treatment to be pursued (Saba, 2021). Melanoma, scientifically referred to as malignant melanoma, is a type of cancer that originates from melanocytes. Data presented by the American cancer society indicates a consistent increase in melanoma rates over the past three decades (Abayomi-Alli et al., 2021). Although melanoma constitutes only around 1% of all skin cancer cases, it is responsible for a significant majority of skin cancer-related deaths (Babar et al., 2021). The most concerning aspect of melanoma is its capacity to extensively metastasize throughout the body via the lymphatic system and blood vessels (Wei et al., 2020). However, early detection translates to a high curability rate for melanoma. The conventional diagnostic procedure for melanoma involves a visual assessment conducted by a dermatologist, which is a time-consuming process and error prone (Mijwil, 2021; Thiyaneswaran et al., 2021).
Furthermore, there exist challenges when it comes to the detection of melanoma (Albahar, 2019). These difficulties encompass factors such as the morphology of individual lesions, the lighting conditions within the medical examination space, the patient’s skin color, and the expertise of the professional making the melanoma diagnosis (Divya and Ganeshbabu, 2020; Khan et al., 2021a; Priyadharshini et al., 2023). Currently, artificial intelligence is being continuously employed to aid physicians and dermatologists in the more efficient analysis of data, leading to enhanced accuracy and reliability in diagnoses across various domains (Mohakud and Dash, 2022a). Specifically, deep learning is implemented in skin cancer detection using diverse architectures, such as CNNs, Recursive Neural Network (RvNN), Recurrent Neural Network (RNN), etc. (Albahli et al., 2020; Cheong et al., 2021). Deep learning encounters four significant challenges in skin cancer detection: memory limitations, computational intensity, the vanishing gradient problem, and model complexity (Iyer et al.; Khan et al., 2021b). To address these challenges and attain accurate segmentation and classification of skin lesions, this manuscript introduces a novel deep learning-based automated framework.
The contributions are as follows:
• We implement a mask-RCNN model for partitioning cancerous regions in dermoscopic images acquired from the ISIC 2020 and HAM 10000 datasets. The mask-RCNN model efficiently segments and differentiates skin lesions, even in cases of high overlap between regions. The automated skin lesion segmentation by the mask-RCNN model significantly saves time for medical professionals and dermatologists.
• We integrate three pre-trained models (ResNeXt101, Xception, and InceptionV3) to extract relevant feature vectors from the partitioned regions. These three pre-trained CNN models capture texture features from higher-level objects and hierarchical features from lower-level edges. This hierarchy allows the modified GRU model to learn complex representations in dermoscopic images, resulting in high classification accuracy.
• We propose a modified GRU model to classify two types of skin lesions in the ISIC 2020 dataset and seven types of skin lesions in the HAM 10000 dataset. We use seven performance metrics to evaluate the proposed model’s efficacy, namely: Jaccard score, Dice score, Matthews Correlation Coefficient (MCC), accuracy, sensitivity, f1-score, and specificity.
The current manuscript is prepared in the following manner. Section 2 presents the literature survey, while Section 3 explains the mask-RCNN model, pre-trained models, and the modified GRU model. Sections 4, 5 provide the numerical results and the conclusion of this manuscript.
2 Literature survey
Thanh et al. (2020) developed an efficient framework for the automatic detection of MSC. An adaptive principal curvature technique was employed initially for detecting and removing hairs from dermoscopic images. Subsequently, a color normalization technique was applied to improve the visibility level of skin lesion regions for discriminating various skin tones. Finally, the Asymmetry-Border-Color-Diameter (ABCD) rule was utilized for effective MSC detection. Evaluation metrics, namely the Jaccard score, Dice score, and accuracy, confirmed the superiority of the developed framework in MSC detection. However, the ABCD rule was not sensitive enough in detecting MSC at an early stage. Additionally, not all melanomas adhere to the ABCD rule, some may exhibit irregular borders and asymmetry.
Nawaz et al. (2022) incorporated the Fuzzy K-Means clustering (FKM) technique with the RCNN model to achieve precise detection of MSC. Initially, the RCNN model was employed for enhancing visual information and removing noise from the collected dermoscopic images. Further, the FKM technique was applied for precisely segmenting the affected skin regions with variable boundaries and sizes. The developed RCNN-FKM model’s performance was assessed utilizing three benchmark datasets, and the results obtained clearly demonstrated that the RCNN-FKM model surpassed the performance of existing models. In this study, the FKM technique involves complex calculations related to the conventional k-means clustering technique, due to the introduction of membership degrees. Additionally, the FKM technique was more sensitive to noisy images, because it directly affects membership degrees and led to blurred or incorrect segmentation results.
Kumar et al. (2020) employed the Fuzzy C Means clustering (FCM) technique for segmenting cancerous regions in dermoscopic images. Subsequently, the segmented images were transformed into vectors utilizing two global descriptors, namely the Gray Level Co-Occurrence Matrix (GLCM) and the Local Binary Pattern (LBP). Finally, cancer types were classified by implementing an Artificial Neural Network (ANN) model with the differential evolution algorithm. In medical applications, ANN was sensitive to lighting conditions, noise, variations in medical image quality, and other factors.
Murugan et al. (2019) applied the watershed segmentation technique to delineate non-cancerous and cancerous regions in dermoscopic images. Furthermore, feature extraction was carried out utilizing the GLCM descriptor and the ABCD rule. The vectors obtained from the GLCM descriptor and ABCD rule were passed into Support Vector Machine (SVM), random forest, and K Nearest Neighbor (KNN). Among these classification models, SVM yielded superior classification results. However, SVM exhibits three significant issues in medical image classification: i) sensitivity to outliers and noise, ii) limited flexibility, and iii) limited scalability.
Toğaçar et al. (2021) initially employed an autoencoder model for reconstructing the collected ISIC dataset. Then, the structured and original datasets were classified implementing the MobileNetV2 model, which comprises spiking networks and residual blocks. However, the MobileNetV2 model exhibits three issues in disease detection: i) limited contextual understanding, ii) poor trade-off between accuracy and speed, and iii) difficulty in managing class imbalance.
Serte and Demirel (2019) designed a Gabor wavelet based CNN model to achieve accurate detection of seborrheic keratosis and malignant melanoma. Initially, the model decomposed input dermoscopic images into seven sub-bands, which were subsequently fed into eight parallel CNNs for skin lesion classification. The developed Gabor wavelet based CNN model was efficient in disease detection, but was computationally costly. Arora et al. (2022) integrated speeded up robust features with the quadratic SVM for skin cancer detection. However, the quadratic SVM comprises the following issues in skin cancer detection: i) poor interpolation between classes, ii) risk of overfitting, and iii) computational complexity.
Amin et al. (2020) initially resized dermoscopic images to
Thurnhofer-Hemsi et al. (2021) implemented a DenseNet201 model for precise detection of MSC. Additionally, Ali et al. (2021) developed a deep CNN model based on transfer learning for classifying malignant and benign skin lesions. In the developed deep CNN model, firstly, a kernel or filter was applied for eliminating artifacts and noise from dermoscopic images. Secondly, the denoised images were normalized and extracted discriminative features for precise image classification. The developed deep CNN model’s performance was compared with a few pre-trained CNN models, namely MobileNet, DenseNet, VGG-16. ResNet and AlexNet. The deep CNN model achieved higher classification results on the HAM10000 dataset, but was computationally expensive.
Sayed et al. (2021) have integrated the CNN model (Squeeze-Net) with the bald eagle search optimization algorithm for melanoma prediction. Similarly, in the works of Zhou and Arandian (2021), Tan et al. (2019), and Mohakud and Dash (2022b), the wildebeest herd optimization algorithm, improved particle swarm optimization algorithm, and grey wolf optimization algorithm were integrated with the CNN model for precise classification of malignant and benign skin lesions. Generally, the integration of an optimization algorithm with the CNN model increases resource requirements and training time.
Chaturvedi et al. (2020) conducted multiclass skin cancer detection utilizing five different CNN models, namely NASNet-large, Xception, Inception-ResnetV2, InceptionV3, and ResNeXt101 on the HAM10000 dataset. Among these models, the ResNeXt101 model was efficient in MSC classification, because it was attributed to its optimized architecture and has better capability in gaining high classification accuracy. Rashid et al. (2022) have employed the MobileNetV2 model for melanoma classification. Several image augmentation methods were used for tackling the class imbalance problem. The efficiency of the MobileNetV2 model was validated on the ISIC 2020 dataset. Additionally, Kaur et al. (Kaur et al.) employed a less complex and light-weighted CNN model for superior classification of MSC. The developed model’s performance was tested on different dermoscopic images, which were acquired from ISIC 2020, 2017, and 2016 datasets. Five different evaluation metrics were used for analyzing the efficacy of the developed CNN model. As discussed in earlier literature, CNN models often entail high computational costs. In order to highlight the above-mentioned problems and to achieve better MSC detection, a novel deep learning based automated framework is introduced in this manuscript.
3 Methods
In the application of MSC detection, the introduced deep learning based automated framework comprises five steps, namely image collection: ISIC 2020 and HAM10000 datasets, image pre-processing: normalization technique, cancerous region segmentation: mask-RCNN model, feature extraction: ResNeXt101, Xception, and InceptionV3 models and MSC classification: modified GRU model. The process involved in this framework is shown in Figure 1.
3.1 Dataset description
The mask-RCNN and modified GRU model’s performance are tested using two online benchmark datasets, namely ISIC 2020 dataset and HAM10000 dataset.
3.1.1 ISIC 2020 dataset
This dataset consists of 33,126 dermoscopic images, with 32,542 representing benign lesions and 584 depicting malignant lesions. These 33,126 dermoscopic images were acquired from 2,000 distinct patients. In the ISIC 2020 dataset, 584 melanoma images and 11,670 benign class images are used for numerical examination. To manage the class imbalance problem, 4,522 melanoma images from the ISIC 2019 dataset are combined with the 584 melanoma images from the ISIC 2020 dataset (Rotemberg et al., 2021). Furthermore, several image augmentation methods are employed to augment the training dataset, namely shear transformation, horizontal flip, zoom transformation, rotation transformation, and scale transformation. The settings of these image augmentation methods are given in Table 1. Collectively, these methods generate approximately 6,564 augmented melanoma images. The sample images of the ISIC 2020 dataset are presented in Figure 2.
3.1.2 HAM10000 dataset
It is one of the extensively utilized publicly available datasets for MSC detection (Tschandl et al., 2018). This dataset consists of 10,015 dermoscopic images belonging to seven classes, namely: Vascular Skin (VASC), Melanoma (MEL), Nevi (NV), Benign Keratosis (BKL), Actinic Keratosis (AKIEC), Dermatofibroma (DF), and Basal Cell Carcinoma (BCC). The number of dermoscopic images in the seven skin cancer types are presented as follows: VASC (142 samples), MEL (1113 samples), NV (6705 samples), BKL (1099 images), AKIEC (327 samples), DF (115 samples), and BCC (514 samples). The sample dermoscopic images of the HAM10000 dataset is shown in Figure 3.
FIGURE 3. Sample images of the HAM10000 dataset: (A) AKIEC, (B) BCC, (C) BKL, (D) DF, (E) MEL, (F) NV, and (G) VASC.
3.2 Image pre-processing
After acquiring dermoscopic images from the ISIC 2020 dataset and HAM10000 dataset, image pre-processing is conducted using a normalization technique (Zhu et al., 2020). The acquired dermoscopic images are resized to
Subsequently, the mean value of every dermoscopic image is calculated utilizing the average function, and it is mathematically expressed in Eq. 2. Furthermore, the co-relation between dermoscopic images is computed utilizing Eq. 3. When the co-relation between two dermoscopic images is higher than 0.99, the similar/identical image is eliminated, and lastly, the transformed grayscale images are converted to color dermoscopic images.
3.3 Cancerous region segmentation
After image pre-processing, the cancerous regions are precisely segmented by implementing the mask-RCNN model. The mask-RCNN model is an effective deep learning model implemented for instance segmentation and object detection tasks in computer vision applications, such as skin lesion detection (Wang et al., 2021). The mask RCNN model is an updated version of the faster-RCNN model, which is designed to perform pixel-level segmentation with object localization. In the context of MSC detection, the mask-RCNN model efficiently delineates and identifies various skin regions (skin anomalies, melanomas, and moles) in dermoscopic images. This model works by detecting bounding boxes around the skin lesions utilizing the Region Proposal Network (RPN) component (Su et al., 2021). Furthermore, it refines these bounding boxes and creates segmentation masks, which accurately outline the boundaries of every lesion. The mask-RCNN comprises three major components in MSC detection, which are briefly explained below;
• Backbone network: This model extracts hierarchical features from pre-processed dermoscopic images using a CNN model called ResNet.
• RPN: The RPN identifies potentially interesting regions (areas containing skin lesions) within pre-processed dermoscopic images. The selected proposals are then further refined in subsequent steps.
• Mask head and Region of Interest (RoI) alignment: RoI alignment is employed to pool regions of interest for generating feature maps with fixed size. Subsequently, the selected regions are processed by a mask head to predict pixel-wise segmentation masks for every proposed skin lesion.
In the context of MSC detection, the mask-RCNN model is trained utilizing annotated skin lesion images. These images are annotated with both pixel-level mask annotations and bounding box annotations. The mask-RCNN model then optimizes the parameters of several components for precisely detecting and segmenting skin lesions in unseen dermoscopic images. The sample segmented dermoscopic images are shown in Figure 4.
FIGURE 4. Sample segmented dermoscopic image: (A) pre-processed images, (B) output images of mask-RCNN model, (C) binary images of mask-RCNN model, and (D) ground-truth images.
3.4 Feature extraction
After segmenting the cancerous regions using the mask-RCNN model, feature extraction is carried-out employing three pre-trained CNN models: ResNeXt101, Xception, and InceptionV3. These pre-trained CNN models transform pixel data from dermoscopic images into sets of meaningful and relevant feature vectors. This process reduces the framework’s complexity and addresses the “curse of dimensionality” problem caused by increased memory requirements and computational inefficiency. The theoretical explanation about the pre-trained CNN models: ResNeXt101, Xception, and InceptionV3 are presented below;
3.4.1 ResNeXt101
The ResNeXt101 model efficiently captures hierarchical and complex patterns, and learns intricate high-level and low-level features from segmented dermoscopic images to achieve accurate MSC classification (Karanam et al., 2022). The ResNeXt101 model includes dense layers with ReLU activation function, Softmax, and dropout layers. The assumed parameters of the ResNeXt101 model are, learning rate is 0.0001, epochs is 100, momentum is 0.9, and optimizer is Stochastic Gradient Descent (SGD).
3.4.2 Xception
Xception is a depthwise separable CNN model, which captures complex relationships and fine details in dermoscopic images. It includes regularization techniques: depthwise separable convolutions and batch normalization to overcome overfitting problems (Salim et al., 2023). Xception learns high dimensional feature vectors (global and local patterns) in dermoscopic images, which play a crucial role in skin cancer detection. The assumed parameters for the Xception model include a learning rate of 0.001, 100 epochs, and the Adam optimizer.
3.4.3 InceptionV3
This architecture employs a series of convolutions with varying filter sizes for extracting feature vectors. InceptionV3 efficiently optimizes the trade-off between performance and computation by leveraging different kernel sizes. This model is fine-tuned using a learning rate of 0.001, the optimizer of Adam, a momentum of 0.9, and trained for 100 epochs (Ramaneswaran et al., 2021). These three pre-trained CNN models: ResNeXt101, Xception, and InceptionV3 extracts nearly 7,820 and 8,320 feature vectors from the ISIC 2020 dataset and HAM10000 dataset, respectively. In this scenario, these three feature extraction models are selected by computing feature importance score, which is shown in Figure 5. By inspecting Figure 5, in comparison to the ResNeXt101, Xception, and InceptionV3 models, the existing models: GLCM, LBP, Tamura, AlexNet, and VGG-16 have minimal feature importance score on the ISIC 2020 dataset and HAM10000 dataset.
3.5 MSC classification
The extracted 7,820 and 8,320 feature vectors from the ISIC 2020 dataset and HAM10000 dataset are fed into the modified GRU model for dermoscopic image classification. The conventional GRU model is a type of RNN, which utilizes a gating process for controlling the information flow in the network (Huang et al., 2020). The conventional GRU model comprises two gates (update and reset gates) that regulate the information retention and update process. These gates also assist in remembering and capturing relevant patterns in the extracted feature vectors (Venkataramaia et al., 2020; Li et al., 2021).
In the modified GRU model, the traditional activation functions, namely hyperbolic tangent and sigmoid are replaced with the swish-ReLU activation function. This replacement offers certain benefits due to its improved gradient flow and smoothness. During data training, the swish-ReLU activation function mitigates problems related to vanishing gradients that offer more efficient and stable learning. Additionally, the improved gradient flow enhances training stability, prevents neurons from becoming completely inactive, and accelerates the convergence rate. The swish-ReLU activation function potentially decreases the number of iterations required to achieve a certain level of accuracy in dermoscopic image classification. It also provides a mild form of regularization that reduces the risks of overfitting within the network.
Initially, the GRU model modulates the extracted feature vectors into units without utilizing a memory cell. In this context, the swish-ReLU activation function linearly interpolates between the prior and current candidate functions, as mathematically specified in Eq. 4.
Where,
Whereas,
Where,
The assumed parameters of the modified GRU model are as follows: batch size is 64, epochs is 100, dropout rate is 0.5, and decay rate is 0.9. The numerical examination of the proposed model is detailed in Section 4.
4 Results
The mask-RCNN and modified GRU model’s efficiency is simulated utilizing the Matlab 2020a software, and the experimental investigation is conducted on a computer equipped with an Intel Core i7 multi-core processor, NVIDIA GeForce RTX 4080 graphics card, and 16 GB memory. The mask-RCNN and modified GRU model’s performance is analyzed utilizing seven different performance metrics, namely: Jaccard score, Dice score, MCC, accuracy, sensitivity, f1-score, and specificity on the ISIC 20201 and HAM100002 datasets. Additionally, the modified GRU model’s performance is validated with 20%:80% of data testing and training.
4.1 Performance metrics
The Jaccard score estimates the ratio of the ground-truth mask
The performance metrics: MCC, accuracy, sensitivity, f1-score, and specificity are commonly utilized for evaluating the efficacy of the classification model that is the modified GRU. These performance metrics are closely related to the information obtained from a confusion matrix. A confusion matrix is a table, which visualizes the effectiveness of a classification model by summarizing the number of False Negative (FN), False Positive (FP), True Negative (TN), and True Positive (TP) predictions.
The MCC accounts for all four confusion matrix values (FN, FP, TN, and TP). MCC provides a balanced result, even when the classes are imbalanced in the ISIC 2020 and HAM10000 datasets. Accuracy is a ratio of the total predictions to the number of correct predictions. The mathematical formulas of MCC and accuracy are denoted in Eqs 11, 12.
Sensitivity estimates the proportion of correctly predicted positive cases to the actual positive cases. F1-score is a harmonic mean of sensitivity and precision values. Specificity estimates the proportion of correctly predicted negative cases to the actual negative cases. The formulas utilized to compute sensitivity, f1-score, and specificity are represented in Eqs 13–15.
4.2 Segmentation analysis
In this context, the numerical results of various segmentation models (K-means, FCM, FKM, superpixel clustering, Otsu thresholding, and mask-RCNN) are presented in Table 2. The segmentation model’s results are evaluated using two different performance metrics, namely Jaccard score and Dice score. As described in Table 2, the mask-RCNN model achieved 0.96 and 0.97 of Jaccard score and Dice score on the ISIC 2020 dataset. Similarly, the mask-RCNN model obtained 0.97 and 0.98 of Jaccard score and Dice score on the HAM10000 dataset. The obtained numerical outcomes are superior to the comparative models such as K-means, FCM, FKM, Superpixel, and Otsu thresholding. The mask-RCNN model adeptly handles several object orientations, shapes, and sizes within similar dermoscopic images. Therefore, it is more effective in scenarios where objects exhibit diverse appearances. The pixel-wise segmentation performed by the mask-RCNN model extracts rich semantic information, enabling more in-depth analysis in MSC detection.
4.3 Classification analysis
The numerical results of various classification models on both ISIC 2020 and HAM10000 datasets are depicted in Table 3. The proposed classification model’s results are compared with other models such as RNN, ANN, Long Short Term Memory (LSTM) network, and GRU. By reviewing Table 3, it is evident that the modified GRU model has obtained impressive classification outcomes on both the ISIC 2020 and HAM10000 datasets. Specifically, the modified GRU model attained 99.84% and 99.88% of MCC, 99.95% and 99.98% of accuracy, 99.82% and 99.97% of sensitivity, 99.86% and 99.90% of f1-score, and 99.94% and 99.87% of specificity on the ISIC 2020 and HAM10000 datasets, respectively. These obtained results are superior to the existing classification models, namely RNN, ANN, LSTM, and GRU.
In the application of MSC detection, the modified GRU model has the potential to capture spatial and temporal patterns in dermoscopic images that helps in achieving high classification results. Additionally, the proposed modified GRU model has a deep understanding of both image processing techniques and RNN architectures that reduces overfitting and vanishing gradient problems with faster convergence. Furthermore, the efficacy of the modified GRU model is analyzed utilizing various K-folds on ISIC 2020 and HAM10000 datasets. The results of K-fold cross validation is mentioned in Table 4. As stated in Table 4, the modified GRU model achieved an efficient result in MSC detection, particularly in 5-fold (20%:80% of testing and training) related to other types such as 2-fold (50%:50% of testing and training), 4-fold (25%:75% of testing and training), and 8-fold (12.50%:87.50% of testing and training). In the context of MSC detection, performing K-fold cross validation effectively mitigates overfitting and overcomes class imbalance problems.
4.4 Comparative analysis
The proposed modified GRU model’s effectiveness is compared with existing models developed by Thurnhofer-Hemsi et al. (2021), Ali et al. (2021), Chaturvedi et al. (2020), Rashid et al. (2022), and Kaur et al. (Kaur et al.). Thurnhofer-Hemsi et al. (2021) integrated transfer learning with five CNN models (MobileNetV2, InceptionV3, GoogleNet, Inception-ResNetV2, and DenseNet201) for precise detection of skin cancer. Empirical analysis confirmed that the DenseNet201 model achieved a high classification accuracy of 95% on the HAM10000 dataset. Ali et al. (2021) employed a deep CNN model for precise classification of malignant and benign skin lesions. Compared to conventional pre-trained models, the deep CNN model obtained a testing accuracy of 91.93%. Additionally, Chaturvedi et al. (2020) performed skin cancer detection using various pre-trained CNN models, including Xception, NASNet-large, InceptionV3, Inception-ResnetV2, and ResNeXt101. Empirical analysis revealed that the ResNeXt101 model achieved a high accuracy of 93.20%. In comparison to these aforementioned studies, the proposed modified GRU model achieved an exceptional accuracy of 99.98% on the HAM10000 dataset, as depicted in Table 5.
Rashid et al. (2022) employed the MobileNetV2 model for the classification of benign and melanoma skin lesions on the ISIC 2020 dataset. Numerical examination reveals that the MobileNetV2 model achieved an accuracy of 98.20% on the ISIC 2020 dataset. Similarly, Kaur et al. (Kaur et al.) developed a light-weighted CNN model for superior classification of benign and melanoma skin lesions on the ISIC 2020 dataset. The results indicate that the developed light-weighted CNN model performed efficiently on balanced and large skin cancer datasets like ISIC 2020. In this context, the light-weighted CNN model achieved a classification accuracy of 90.48% on the ISIC 2020 dataset. In comparison to these existing models, the proposed modified GRU model achieved an exceptional accuracy of 99.95% on the ISIC 2020 dataset, as mentioned in Table 6.
4.5 Discussion
The precise segmentation and classification of skin lesions are crucial aspects of this research. The primary benefit of utilizing the mask-RCNN model in image segmentation is precise instance segmentation. Conventional semantic segmentation groups image pixels into categories, whereas the mask RCNN model outlines and differentiates individual object instances in dermoscopic images. This mechanism leads to more detailed and accurate segmentation results, which are vital in tasks like MSC detection. Additionally, as discussed in the quantitative section, the modified GRU model is more efficient in dermoscopic image classification compared to other classification models. The modified GRU model effectively captures the temporal relationships and dependencies in dermoscopic images that results in enhanced classification performance. Moreover, both the mask-RCNN model and modified GRU model consumes minimal computational time during segmentation and classification, as depicted in Tables 7, 8.
5 Conclusion
In the current scenario, early detection and prognosis of melanoma efficiently reduce the mortality rate and improve survival rates. The primary objective of this manuscript is to segment and classify lesion regions. The proposed framework relies on deep learning models for both segmentation (mask-RCNN model) and classification (modified GRU model) steps. Furthermore, three pre-trained models (ResNeXt101, Xception, and InceptionV3) are employed to extract relevant feature vectors from dermoscopic images. This process reduces unnecessary processing, rendering the proposed framework computationally efficient. Seven distinct performance metrics are utilized to analyze the efficiency of the proposed models (mask-RCNN and modified GRU). Empirical investigation demonstrates that the mask-RCNN model achieves more accurate segmentation results than existing models in light of Jaccard score and Dice score. Additionally, the modified GRU model achieves an impressive classification accuracy of 99.95% and 99.98% on the ISIC 2020 and HAM 10000 datasets with limited computational time. In future work, the proposed modified GRU model can be validated on an enormous dataset with more labeled skin lesions by including feature selection step in order to gain high classification accuracy.
Data availability statement
The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.
Author contributions
KM: Conceptualization, Resources, Writing–original draft. JS: Investigation, Software, Supervision, Project administration, Writing–original draft. PF-G: Funding acquisition, Writing–original draft. BF-G: Formal Analysis, Validation, Visualization, Writing–original draft. MA: Software, Methodology, Writing–original draft. RP: Data curation, Writing–review and editing.
Funding
The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Footnotes
1ISIC 2020 dataset: https://challenge2020.isic-archive.com/
2HAM10000 dataset: https://www.kaggle.com/datasets/kmader/skin-cancer-mnist-ham10000
References
Abayomi-Alli O. O., Damasevicius R., Misra S., Maskeliunas R., Abayomi-Alli A. (2021). Malignant skin melanoma detection using image augmentation by oversampling in nonlinear lower-dimensional embedding manifold. Turk. J. Electr. Eng. Comput. Sci. 29 (8), 2600–2614. doi:10.3906/elk-2101-133
Albahar M. A. (2019). Skin lesion classification using convolutional neural network with novel regularizer. IEEE Access 7, 38306–38313. doi:10.1109/ACCESS.2019.2906241
Albahli S., Nida N., Irtaza A., Yousaf M. H., Mahmood M. T. (2020). Melanoma lesion detection and segmentation using YOLOv4-DarkNet and active contour. IEEE Access 8, 198403–198414. doi:10.1109/ACCESS.2020.3035345
Ali M. S., Miah M. S., Haque J., Rahman M. M., Islam M. K. (2021). An enhanced technique of skin cancer classification using deep convolutional neural network with transfer learning models. Mach. Learn. Appl. 5, 100036. doi:10.1016/j.mlwa.2021.100036
Amin J., Sharif A., Gul N., Anjum M. A., Nisar M. W., Azam F., et al. (2020). Integrated design of deep features fusion for localization and classification of skin cancer. Pattern Recognit. Lett. 131, 63–70. doi:10.1016/j.patrec.2019.11.042
Arora G., Dubey A. K., Jaffery Z. A., Rocha A. (2022). Bag of feature and support vector machine based early diagnosis of skin cancer. Neural comput. Appl. 34 (11), 8385–8392. doi:10.1007/s00521-020-05212-y
Ashraf R., Afzal S., Rehman A. U., Gul S., Baber J., Bakhtyar M., et al. (2020). Region-of-interest based transfer learning assisted framework for skin cancer detection. IEEE Access 8, 147858–147871. doi:10.1109/ACCESS.2020.3014701
Babar M., Butt R. T., Batool H., Asghar M. A., Majeed A. R., Khan M. J. (2021). “A refined approach for classification and detection of melanoma skin cancer using deep neural network,” in 2021 International Conference on Digital Futures and Transformative Technologies (ICoDT2), Islamabad, Pakistan (IEEE) 1–6. doi:10.1109/ICoDT252288.2021.9441520
Chaturvedi S. S., Tembhurne J. V., Diwan T. (2020). A multi-class skin cancer classification using deep convolutional neural networks. Multimed. Tools Appl. 79 (39-40), 28477–28498. doi:10.1007/s11042-020-09388-2
Cheong K. H., Tang K. J. W., Zhao X., Koh J. E. W., Faust O., Gururajan R., et al. (2021). An automated skin melanoma detection system with melanoma-index based on entropy features. Biocybern. Biomed. Eng. 41 (3), 997–1012. doi:10.1016/j.bbe.2021.05.010
Divya D., Ganeshbabu T. R. (2020). Fitness adaptive deer hunting-based region growing and recurrent neural network for melanoma skin cancer detection. Int. J. Imaging Syst. Technol. 30 (3), 731–752. doi:10.1002/ima.22414
Huang S., Dai R., Huang J., Yao Y., Gao Y., Ning F., et al. (2020). Automatic modulation classification using gated recurrent residual network. IEEE Internet Things J. 7 (8), 7795–7807. doi:10.1109/JIOT.2020.2991052
Iyer V., Ganti B., Vyshnavi A. M. H., Namboori P. K. K., Iyer S. (2020). Hybrid quantum computing based early detection of skin cancer. J. Interdiscip. Math. 23 (2), 347–355. doi:10.1080/09720502.2020.1731948
Karanam S. R., Srinivas Y., Chakravarty S. (2022). A systematic approach to diagnosis and categorization of bone fractures in X-Ray imagery. Int. J. Healthc. Manag., 1–12. doi:10.1080/20479700.2022.2097765
Kaur R., GholamHosseini H., Sinha R., Lindén M. (2022). Melanoma classification using a novel deep convolutional neural network with dermoscopic images. Sensors 22 (3), 1134. doi:10.3390/s22031134
Khan M. A., Akram T., Zhang Y.-D., Sharif M. (2021a). Attributes based skin lesion detection and recognition: a mask RCNN and transfer learning-based deep learning framework. Pattern Recognit. Lett. 143, 58–66. doi:10.1016/j.patrec.2020.12.015
Khan M. A., Sharif M., Akram T., Damaševičius R., Maskeliūnas R. (2021b). Skin lesion segmentation and multiclass classification using deep learning features and improved moth flame optimization. Diagnostics 11 (5), 811. doi:10.3390/diagnostics11050811
Kumar M., Alshehri M., AlGhamdi R., Sharma P., Vikas D. (2020). A DE-ANN inspired skin cancer detection approach using fuzzy c-means clustering. Mob. Netw. Appl. 25 (4), 1319–1329. doi:10.1007/s11036-020-01550-2
Li W., Wu H., Zhu N., Jiang Y., Tan J., Guo Y. (2021). Prediction of dissolved oxygen in a fishery pond based on gated recurrent unit (GRU). Inf. Process. Agric. 8 (1), 185–193. doi:10.1016/j.inpa.2020.02.002
Mijwil M. M. (2021). Skin cancer disease images classification using deep learning solutions. Multimed. Tools Appl. 80 (17), 26255–26271. doi:10.1007/s11042-021-10952-7
Mohakud R., Dash R. (2022a). Skin cancer image segmentation utilizing a novel EN-GWO based hyper-parameter optimized FCEDN. J. King Saud. Univ.-Comput. Inf. Sci. 34 (10B), 9889–9904. doi:10.1016/j.jksuci.2021.12.018
Mohakud R., Dash R. (2022b). Designing a grey wolf optimization based hyper-parameter optimized convolutional neural network classifier for skin cancer detection. J. King Saud. Univ.-Comput. Inf. Sci. 34 (8B), 6280–6291. doi:10.1016/j.jksuci.2021.05.012
Murugan A., Nair S. A. H., Kumar K. P. S. (2019). Detection of skin cancer using SVM, random forest and kNN classifiers. J. Med. Syst. 43 (8), 269. doi:10.1007/s10916-019-1400-8
Nawaz M., Mehmood Z., Nazir T., Naqvi R. A., Rehman A., Iqbal M., et al. (2022). Skin cancer detection from dermoscopic images using deep learning and fuzzy k-means clustering. Microsc. Res. Tech. 85 (1), 339–351. doi:10.1002/jemt.23908
Priyadharshini N., Selvanathan N., Hemalatha B., Sureshkumar C. (2023). A novel hybrid extreme learning machine and teaching-learning-based optimization algorithm for skin cancer detection. Healthc. Anal. 3, 100161. doi:10.1016/j.health.2023.100161
Ramaneswaran S., Srinivasan K., Vincent P. M. D. R., Chang C.-Y. (2021). Hybrid inception v3 XGBoost model for acute lymphoblastic leukemia classification. Comput. Math. Methods Med. 2021, 1–10. doi:10.1155/2021/2577375
Rashid J., Ishfaq M., Ali G., Saeed M. R., Hussain M., Alkhalifah T., et al. (2022). Skin cancer disease detection using transfer learning technique. Appl. Sci. 12 (11), 5714. doi:10.3390/app12115714
Rotemberg V., Kurtansky N., Betz-Stablein B., Caffery L., Chousakos E., Codella N., et al. (2021). A patient-centric dataset of images and metadata for identifying melanomas using clinical context. Sci. Data 8, 34. doi:10.1038/s41597-021-00815-z
Saba T. (2021). Computer vision for microscopic skin cancer diagnosis using handcrafted and non-handcrafted features. Microsc. Res. Tech. 84 (6), 1272–1283. doi:10.1002/jemt.23686
Salim F., Saeed F., Basurra S., Qasem S. N., Al-Hadhrami T. (2023). DenseNet-201 and Xception pre-trained deep learning models for fruit recognition. Electronics 12 (14), 3132. doi:10.3390/electronics12143132
Sayed G. I., Soliman M. M., Hassanien A. E. (2021). A novel melanoma prediction model for imbalanced data using optimized SqueezeNet by bald eagle search optimization. Comput. Biol. Med. 136, 104712. doi:10.1016/j.compbiomed.2021.104712
Serte S., Demirel H. (2019). Gabor wavelet-based deep learning for skin lesion classification. Comput. Biol. Med. 113, 103423. doi:10.1016/j.compbiomed.2019.103423
Sreelatha T., Subramanyam M. V., Prasad M. N. G. (2019). Early detection of skin cancer using melanoma segmentation technique. J. Med. Syst. 43 (7), 190. doi:10.1007/s10916-019-1334-1
Su W.-H., Zhang J., Yang C., Page R., Szinyei T., Hirsch C. D., et al. (2021). Automatic evaluation of wheat resistance to fusarium head blight using dual mask-RCNN deep learning frameworks in computer vision. Remote Sens. 13 (1), 26. doi:10.3390/rs13010026
Tan T. Y., Zhang L., Lim C. P. (2019). Intelligent skin cancer diagnosis using improved particle swarm optimization and deep learning models. Appl. Soft Comput. 84, 105725. doi:10.1016/j.asoc.2019.105725
Thanh D. N. H., Prasath V. B. S., Hieu L. M., Hien N. N. (2020). Melanoma skin cancer detection method based on adaptive principal curvature, colour normalisation and feature extraction with the ABCD rule. J. Digit. Imaging 33 (3), 574–585. doi:10.1007/s10278-019-00316-x
Thiyaneswaran B., Anguraj K., Kumarganesh S., Thangaraj K. (2021). Early detection of melanoma images using gray level co-occurrence matrix features and machine learning techniques for effective clinical diagnosis. Int. J. Imaging Syst. Technol. 31 (2), 682–694. doi:10.1002/ima.22514
Thurnhofer-Hemsi K., Domínguez E. (2021). A convolutional neural network framework for accurate skin cancer detection. Neural process. Lett. 53 (5), 3073–3093. doi:10.1007/s11063-020-10364-y
Toğaçar M., Cömert Z., Ergen B. (2021). Intelligent skin cancer detection applying autoencoder, MobileNetV2 and spiking neural networks. Chaos Solit. Fractals 144, 110714. doi:10.1016/j.chaos.2021.110714
Tschandl P., Rosendahl C., Kittler H. (2018). The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions. Sci. Data 5, 180161. doi:10.1038/sdata.2018.161
Venkataramaiah M. K. A., Achar N. A. N. (2020). Twitter sentiment analysis using aspect-based bidirectional gated recurrent unit with self-attention mechanism. Int. J. Intell. Eng. Syst. 13 (5), 97–110. doi:10.22266/ijies2020.1031.10
Wang S., Sun G., Zheng B., Du Y. (2021). A crop image segmentation and extraction algorithm based on mask RCNN. Entropy 23 (9), 1160. doi:10.3390/e23091160
Wei L., Ding K., Hu H. (2020). Automatic skin cancer detection in dermoscopy images based on ensemble lightweight deep learning network. IEEE Access 8, 99633–99647. doi:10.1109/ACCESS.2020.2997710
Zhou B., Arandian B. (2021). An improved CNN architecture to diagnose skin cancer in dermoscopic images based on wildebeest herd optimization algorithm. Comput. Intell. Neurosci. 2021, 7567870. doi:10.1155/2021/7567870
Keywords: faster region based convolutional neural network, gated recurrent unit, melanoma skin cancer detection, normalization, pre-trained models
Citation: Monica KM, Shreeharsha J, Falkowski-Gilski P, Falkowska-Gilska B, Awasthy M and Phadke R (2024) Melanoma skin cancer detection using mask-RCNN with modified GRU model. Front. Physiol. 14:1324042. doi: 10.3389/fphys.2023.1324042
Received: 24 October 2023; Accepted: 18 December 2023;
Published: 16 January 2024.
Edited by:
Domenico L. Gatti, Wayne State University, United StatesReviewed by:
Luigi Leonardo Palese, University of Bari Aldo Moro, ItalyMa Khan, HITEC University, Pakistan
Copyright © 2024 Monica, Shreeharsha, Falkowski-Gilski, Falkowska-Gilska, Awasthy and Phadke. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Przemysław Falkowski-Gilski, przemyslaw.falkowski@eti.pg.edu.pl