Skip to main content
Log in

Predicting skin cancer melanoma using stacked convolutional neural networks model

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Skin malignant growth has been regarded as the most widely recognized disease in the world and Malignant Melanoma is one of the deadliest diseases of skin cancer. Early prediction can be helpful to avoid the damage of this disease, however, many lab tests are required which are costly and time-consuming. Devising an automatic smart system for predicting the disease accurately and efficiently can be very helpful. Despite previous research efforts for such systems, accuracy and efficiency requirements still demand continual work to improve the performance of such systems. This study proposes a stacked convolutional neural network (CNN) model that can provide higher prediction accuracy compared to other pre-trained CNN variants. Stacked CNN uses the 2D CNN layers sequentially to process the data deeply to make accurate predictions. Data augmentation is performed for minority class data to make training data balanced and avoid the model’s over-fitting. The model is trained on red, green, and blue (RGB) features extracted from the training data. For testing the performance of the proposed approach, two public datasets MINST-HAM10000 and ISIC-2020 are used for training and validation, respectively. The proposed model outperforms other models with 0.96 and 0.73 accuracy scores on the test dataset and validation dataset, respectively. In the end, a statistical T-test is used to show the significance of the proposed approach.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

References

  1. Dataset ISIC howpublished = https://challenge2020.isic-archive.com/ note = Accessed: 2021-04-03

  2. melanoma skin cance, howpublished = https://www.cancer.org/cancer/melanomaskin-cancer/about/key-statistics.html, note = Accessed: 2021-02-03

  3. skin cancer information, howpublished = https://www.skincancer.org/skin-cancer-information/melanoma.html, note = Accessed: 03-02-2021

  4. Aldwgeri A, Abubacker N F (2019) Ensemble of deep convolutional neural network for skin lesion classification in dermoscopy images. In: International visual informatics conference. Springer, pp 214–226

  5. Allyn J, Allou N, Vidal C, Renou A, Ferdynus C (2020) Adversarial attack on deep learning-based dermatoscopic image recognition systems: risk of misdiagnosis due to undetectable image perturbations. Medicine 99:50

    Article  Google Scholar 

  6. Almaraz-Damian J-A, Ponomaryov V, Sadovnychiy S, Castillejos-Fernandez H (2020) Melanoma and nevus skin lesion classification using handcraft and deep learning feature fusion via mutual information measures. Entropy 22(4):484

    Article  Google Scholar 

  7. Ameri A (2020) A deep learning approach to skin cancer detection in dermoscopy images. J Biomed Phys Eng 10(6):801

    Article  Google Scholar 

  8. Bassi PRAS, Attux R (2022) A deep convolutional neural network for covid-19 detection using chest x-rays. Res Biomed Eng 38(1):139–148

    Article  Google Scholar 

  9. Bray F, Ferlay J, Soerjomataram I, Siegel R L, Torre L A, Jemal A (2018) Global cancer statistics 2018: Globocan estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA: a Cancer Journal for Clinicians 68 (6):394–424

    Google Scholar 

  10. Chollet F (2017) Xception: deep learning with depthwise separable convolutions. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 1251–1258

  11. Dildar M, Akram S, Irfan M, Khan H U, Ramzan M, Mahmood A R, Alsaiari S A, Saeed A H M, Alraddadi M O, Mahnashi M H (2021) Skin cancer detection: a review using deep learning techniques. Int J Environ Research and public health 18(10):5479

    Article  Google Scholar 

  12. El-Khatib H, Popescu D, Ichim L (2020) Deep learning–based methods for automatic diagnosis of skin lesions. Sensors 20(6):1753

    Article  Google Scholar 

  13. Folego G, Weiler M, Casseb R F, Pires R, Rocha A (2020) Alzheimer’s disease detection through whole-brain 3d-cnn mri. Frontiers in Bioengineering and Biotechnology, 8

  14. C. for Disease Control and Prevension (2017) Rate of new cancers melanomas of the skin, united states, https://gis.cdc.gov/Cancer/USCS/DataViz.html. Access: 08-04-2021

  15. Gao F, Wu T, Li J, Zheng B, Ruan L, Shang D, Patel B (2018) Sd-cnn: a shallow-deep cnn for improved breast cancer diagnosis. Comput Med Imaging Graph 70:53–62

    Article  Google Scholar 

  16. Gessert N, Nielsen M, Shaikh M, Werner R, Schlaefer A (2020) Skin lesion classification using ensembles of multi-resolution efficientnets with meta data. MethodsX 7:100864

    Article  Google Scholar 

  17. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 770–778

  18. Howard A G, Zhu M, Chen B, Kalenichenko D, Wang W, Weyand T, Andreetto M, Adam H (2017) Mobilenets: efficient convolutional neural networks for mobile vision applications. arXiv:1704.04861

  19. Huang G, Liu Z, Van Der Maaten L, Weinberger K Q (2017) Densely connected convolutional networks. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 4700–4708

  20. Islam M Z, Islam M M, Asraf A (2020) A combined deep cnn-lstm network for the detection of novel coronavirus (covid-19) using x-ray images. Inform Med Unlocked 20:100412

    Article  Google Scholar 

  21. Janoria H, Minj J, Patre P (2021) Classification of skin disease using traditional machine learning and deep learning approach: a review. Intelligent Data Communication Technologies and Internet of Things, 643–651

  22. Jayapriya K, Jacob I J (2020) Hybrid fully convolutional networks-based skin lesion segmentation and melanoma detection using deep feature. Int J Imaging Syst Technol 30(2):348–357

    Article  Google Scholar 

  23. Khan M A, Javed M Y, Sharif M, Saba T, Rehman A (2019) Multi-model deep neural network based features extraction and optimal selection approach for skin lesion classification. In: 2019 International conference on computer and information sciences (ICCIS). IEEE, pp 1–7

  24. Khan M A, Sharif M, Akram T, Bukhari S A C, Nayak R S (2020) Developed newton-raphson based deep features selection framework for skin lesion recognition. Pattern Recogn Lett 129:293–303

    Article  Google Scholar 

  25. Khan N H, Mir M, Qian L, Baloch M, Khan M F A, Ngowi E E, Wu D-D, Ji X-Y et al (2021) Skin cancer biology and barriers to treatment: recent applications of polymeric micro/nanostructures. J Adv Res

  26. Kwon D, Natarajan K, Suh S C, Kim H, Kim J (2018) An empirical study on network anomaly detection using convolutional neural networks. In: 2018 IEEE 38th international conference on distributed computing systems (ICDCS). IEEE, pp 1595–1598

  27. Labach A, Salehinejad H, Valaee S (2019) Survey of dropout methods for deep neural networks. arXiv:1904.13310

  28. Lakshmanaprabu SK, Mohanty S N, Shankar K, Arunkumar N, Ramirez G (2019) Optimal deep learning model for classification of lung cancer on ct images. Futur Gener Comput Syst 92:374–382

    Article  Google Scholar 

  29. Maeda-Gutierrez V, Galvan-Tejada C E, Zanella-Calzada L A, Celaya-Padilla J M, Galván-Tejada J I, Gamboa-Rosales H, Luna-Garcia H, Magallanes-Quintanar R, Guerrero Mendez C A, Olvera-Olvera C A (2020) Comparison of convolutional neural network architectures for classification of tomato plant diseases. Appl Sci 10(4):1245

    Article  Google Scholar 

  30. Mahbod A, Schaefer G, Wang C, Ecker R, Ellinge I (2019) Skin lesion classification using hybrid deep neural networks. In: ICASSP 2019-2019 IEEE international conference on acoustics, speech and signal processing (ICASSP). IEEE, pp 1229–1233

  31. Mehra A, Bhati A, Kumar A, Malhotra R (2021) Skin cancer classification through transfer learning using resnet-50. In: Emerging technologies in data mining and information security. Springer , pp 55–62

  32. Nahata H, Singh S P (2020) Deep learning solutions for skin cancer detection and diagnosis. In: Machine learning with health care perspective. Springer, pp 159–182

  33. Nawaz M, Mehmood Z, Nazir T, Naqvi R A, Rehman A, Iqbal M, Saba T (2022) Skin cancer detection from dermoscopic images using deep learning and fuzzy k-means clustering. Microscop Res Tech 85(1):339–351

    Article  Google Scholar 

  34. Nguyen D K, Tran T-T, Nguyen C P, Pham V-T (2020) Skin lesion segmentation based on integrating efficientnet and residual block into u-net neural network. In: 2020 5th International conference on green technology and sustainable development (GTSD). IEEE, pp 366–371

  35. Nunnari F, Sonntag D (2019) A cnn toolbox for skin cancer classification. arXiv:1908.08187

  36. Pomponiu V, Nejati H, Cheung N-M (2016) Deepmole: deep neural networks for skin mole lesion classification. In: 2016 IEEE International conference on image processing (ICIP). IEEE, pp 2623–2627

  37. Reshi A A, Rustam F, Mehmood A, Alhossan A, Alrabiah Z, Ahmad A, Alsuwailem H, Choi G S (2021) An efficient cnn model for covid-19 disease detection based on x-ray image classification. Complexity, 2021

  38. Rocheteau E, Kim D (2020) Deep transfer learning for automated diagnosis of skin lesions from photographs. arXiv:2011.04475

  39. Rustam F, Siddique M A, Siddiqui H U R, Ullah S, Mehmood A, Ashraf I, Choi G S (2021) Wireless capsule endoscopy bleeding images classification using cnn based model. IEEE Access 9 :33675–33688

    Article  Google Scholar 

  40. Rustam F, Reshi A A, Aljedaani W, Alhossan A, Ishaq A, Shafi S, Lee E, Alrabiah Z, Alsuwailem H, Ahmad A et al (2022) Vector mosquito image classification using novel rifs feature selection and machine learning models for disease epidemiology. Saudi J Biolog Sci 29(1):583–594

    Article  Google Scholar 

  41. Saba T, Khan M A, Rehman A, Marie-Sainte S L (2019) Region extraction and classification of skin cancer: a heterogeneous framework of deep cnn features fusion and reduction. J Med Syst 43(9):1–19

    Article  Google Scholar 

  42. Simonyan K, Zisserman A (2014) Very deep convolutional networks for large-scale image recognition. arXiv:1409.1556

  43. Soudani A, Barhoumi W (2019) An image-based segmentation recommender using crowdsourcing and transfer learning for skin lesion extraction. Expert Syst Appl 118:400–410

    Article  Google Scholar 

  44. Sun Y, Hamzah F A B, Mochizuki B (2020) Optimized light-weight convolutional neural networks for histopathologic cancer detection. In: 2020 IEEE 2nd Global conference on life sciences and technologies (LifeTech). IEEE, pp 11–14

  45. Szegedy C, Vanhoucke V, Ioffe S, Shlens J, Wojna Z (2016) Rethinking the inception architecture for computer vision. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 2818–2826

  46. Tan M, Le Q (2019) Efficientnet: rethinking model scaling for convolutional neural networks. In: International conference on machine learning. PMLR, pp 6105–6114

  47. Thurnhofer-Hemsi K, Domínguez E (2021) A convolutional neural network framework for accurate skin cancer detection. Neural Process Lett 53 (5):3073–3093

    Article  Google Scholar 

  48. Toğaçar M, Cömert Z, Ergen B (2021) Intelligent skin cancer detection applying autoencoder, mobilenetv2 and spiking neural networks. Chaos, Solitons & Fractals 144:110714

    Article  MathSciNet  Google Scholar 

  49. Trager M H, Geskin L J, Samie F H, Liu L (2020) Biomarkers in melanoma and non-melanoma skin cancer prevention and risk stratification. Experimental Dermatology

  50. Wang Z J, Turko R, Shaikh O, Park H, Das N, Hohman F, Kahng M, Chau D H (2020) Cnn 101: interactive visual learning for convolutional neural networks. In: Extended Abstracts of the 2020 CHI conference on human factors in computing systems, pp 1–7

  51. Zhang Z (2018) Improved adam optimizer for deep neural networks. In: 2018 IEEE/ACM 26th International symposium on quality of service (IWQoS). IEEE, pp 1–2

Download references

Funding

This research received no funding.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Imran Ashraf.

Ethics declarations

Conflict of Interests

The authors declare that there is no conflict of interest.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mui-zzud-din, Ahmed, K.T., Rustam, F. et al. Predicting skin cancer melanoma using stacked convolutional neural networks model. Multimed Tools Appl 83, 9503–9522 (2024). https://doi.org/10.1007/s11042-023-15488-6

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-15488-6

Keywords

Navigation