Research Article

Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models

Volume: 8 Number: 4 July 15, 2025
EN TR

Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models

Abstract

Skin cancer is one of the most common types of cancer worldwide and early detection is vital for the most effective treatment. However, melanomas and other malignant skin lesions have been very difficult to detect and this is often because dermatologists use dermoscopy images. These images often contained noise, such as hair and air bubbles, which made diagnosis seriously difficult. To address this important issue, we developed an effective noise removal algorithm to improve the quality of these images using conventional image processing techniques. Using the ISIC2018 dataset, a standard for skin lesion classification, we integrated our de-noising algorithm to carefully pre-process the dermoscopy images. Our method involved selecting the red channel, carefully applying the top hat transform, carefully using Gaussian blur and applying the Otsu thresholding method to detect and remove hairs, followed by internal inpainting to fill the resulting gaps. Following preprocessing, we carefully applied and compared several transfer learning models to classify skin lesions: AlexNet, VGG16, ResNet50 and EfficientNetB0. Our results showed significant improvement in classification accuracy: AlexNet achieved 95.32%, VGG16 97.55%, ResNet50 99.04% and EfficientNetB0 99.89% accuracy. These findings demonstrated that combining hair removal preprocessing with transfer learning significantly improves the accuracy of automatic skin lesion classification. This innovative approach has the potential to greatly assist dermatologists in detecting skin cancer early and lead to better patient outcomes. Our method is robust and effective and is a valuable tool for improving dermatologic assessments in clinical settings.

Keywords

References

  1. Abuzaghleh O, Barkana BD, Faezipour M. 2015. Noninvasive real-time automated skin lesion analysis system for melanoma early detection and prevention. IEEE J Transl Eng Health Med, 3: 1–12, pp: 1–12.
  2. Ali R, Hardie RC, De Silva MS, Kebede TM. 2019. Skin lesion segmentation and classification for ISIC 2018 by combining deep CNN and handcrafted features. arXiv preprint arXiv:1908.05730, pp: 1–12.
  3. Alsahafi YS, Kassem MA, Hosny KM. 2023. Skin-Net: a novel deep residual network for skin lesions classification using multilevel feature extraction and cross-channel correlation with detection of outlier. J Big Data, 10(1): 105, pp: 105.
  4. Ashour AS, El-Wahab BSA, Wahba MA, Mansour DEA, Hodeib AAE, Khedr RAEG, Hassan GF. 2022. Cascaded Hough transform-based hair mask generation and harmonic inpainting for automated hair removal from dermoscopy images. Diagnostics, 12(12): 3040, pp: 3040.
  5. Attia M, Hossny M, Nahavandi S, Yazdabadi A, Asadi H. 2019. Realistic hair simulation using image blending. arXiv preprint arXiv:1904.09169, pp: 1–12.
  6. Barın S, Güraksın GE. 2024. An improved hair removal algorithm for dermoscopy images. Multimed Tools Appl, 83(3): 8931–8953, pp: 8931–8953.
  7. Barman S, Biswas MR, Marjan S, Nahar N, Hossain MS, Andersson K. 2022. Transfer learning based skin cancer classification using GoogLeNet. Presented at the International Conference on Machine Intelligence and Emerging Technologies (ICMIET), Dhaka, Bangladesh, 2022, pp: 1–7.
  8. Codella N, Rotemberg V, Tschandl P, Celebi ME, Dusza S, Gutman D, Gottschalk C, et al. 2019. Skin lesion analysis toward melanoma detection 2018: A challenge hosted by the international skin imaging collaboration (ISIC). arXiv preprint arXiv:1902.03368, pp: 1–20.

Details

Primary Language

English

Subjects

Biomedical Imaging

Journal Section

Research Article

Early Pub Date

July 9, 2025

Publication Date

July 15, 2025

Submission Date

March 27, 2025

Acceptance Date

May 12, 2025

Published in Issue

Year 2025 Volume: 8 Number: 4

APA
Gencer, K. (2025). Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models. Black Sea Journal of Engineering and Science, 8(4), 1007-1021. https://doi.org/10.34248/bsengineering.1665621
AMA
1.Gencer K. Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models. BSJ Eng. Sci. 2025;8(4):1007-1021. doi:10.34248/bsengineering.1665621
Chicago
Gencer, Kerem. 2025. “Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models”. Black Sea Journal of Engineering and Science 8 (4): 1007-21. https://doi.org/10.34248/bsengineering.1665621.
EndNote
Gencer K (July 1, 2025) Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models. Black Sea Journal of Engineering and Science 8 4 1007–1021.
IEEE
[1]K. Gencer, “Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models”, BSJ Eng. Sci., vol. 8, no. 4, pp. 1007–1021, July 2025, doi: 10.34248/bsengineering.1665621.
ISNAD
Gencer, Kerem. “Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models”. Black Sea Journal of Engineering and Science 8/4 (July 1, 2025): 1007-1021. https://doi.org/10.34248/bsengineering.1665621.
JAMA
1.Gencer K. Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models. BSJ Eng. Sci. 2025;8:1007–1021.
MLA
Gencer, Kerem. “Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models”. Black Sea Journal of Engineering and Science, vol. 8, no. 4, July 2025, pp. 1007-21, doi:10.34248/bsengineering.1665621.
Vancouver
1.Kerem Gencer. Enhanced Skin Lesion Classification through Hair Artifact Removal and Transfer Learning Models. BSJ Eng. Sci. 2025 Jul. 1;8(4):1007-21. doi:10.34248/bsengineering.1665621

                            24890