Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Apr;36(2):526-535.
doi: 10.1007/s10278-022-00740-6. Epub 2022 Nov 16.

ChimeraNet: U-Net for Hair Detection in Dermoscopic Skin Lesion Images

Affiliations

ChimeraNet: U-Net for Hair Detection in Dermoscopic Skin Lesion Images

Norsang Lama et al. J Digit Imaging. 2023 Apr.

Abstract

Hair and ruler mark structures in dermoscopic images are an obstacle preventing accurate image segmentation and detection of critical network features. Recognition and removal of hairs from images can be challenging, especially for hairs that are thin, overlapping, faded, or of similar color as skin or overlaid on a textured lesion. This paper proposes a novel deep learning (DL) technique to detect hair and ruler marks in skin lesion images. Our proposed ChimeraNet is an encoder-decoder architecture that employs pretrained EfficientNet in the encoder and squeeze-and-excitation residual (SERes) structures in the decoder. We applied this approach at multiple image sizes and evaluated it using the publicly available HAM10000 (ISIC2018 Task 3) skin lesion dataset. Our test results show that the largest image size (448 × 448) gave the highest accuracy of 98.23 and Jaccard index of 0.65 on the HAM10000 (ISIC 2018 Task 3) skin lesion dataset, exhibiting better performance than for two well-known deep learning approaches, U-Net and ResUNet-a. We found the Dice loss function to give the best results for all measures. Further evaluated on 25 additional test images, the technique yields state-of-the-art accuracy compared to 8 previously reported classical techniques. We conclude that the proposed ChimeraNet architecture may enable improved detection of fine image structures. Further application of DL techniques to detect dermoscopy structures is warranted.

Keywords: Deep learning; Dermoscopy; Hair removal; Image segmentation; Melanoma; Transfer learning.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Skin lesion dermoscopy images from the HAM10000 (ISIC2018 Task 3) dataset showing dark hair, light hair, and ruler marks
Fig. 2
Fig. 2
Manually drawn hair masks corresponding to skin lesion images shown in Fig. 1. The hair masks include dark hair, white hair, and ruler marks
Fig. 3
Fig. 3
Proposed ChimeraNet architecture for hair segmentation. An encoder-decoder architecture with pretrained EfficientNet model as the encoder network and the decoder network comprised of five squeeze-and-excitation residual blocks. Five skip-connections (red color) from the encoder to the decoder
Fig. 4
Fig. 4
Double convolution block (left) and SERes block (right)
Fig. 5
Fig. 5
Hair segmentation results of proposed ChimeraNet against U-Net and ResUNet-a for HAM10000 test images. The segmentation results show true positives (green), false positives (red), and false negatives (blue). The U-Net model finds more false positives (for example, gel bubbles), and ResUNet-a finds less hair. The proposed ChimeraNet model successfully detects hair with fewer false positives and false negatives
Fig. 6
Fig. 6
Lesion image, ground-truth hair mask, and overlays of predicted hair mask on lesion image for nine hair detection methods. The proposed ChimeraNet method accurately detects more hair with less noise compared to other hair detection methods

Similar articles

Cited by

References

    1. Siegel RL, Miller KD, Fuchs HE, Jemal A. Cancer statistics, 2021. CA. Cancer J. Clin. 2021;71(1):7–33. doi: 10.3322/caac.21654. - DOI - PubMed
    1. Rogers HW, Weinstock MA, Feldman SR, Coldiron BM. Incidence estimate of nonmelanoma skin cancer (keratinocyte carcinomas) in the US population, 2012. JAMA Dermatology. 2015;151(10):1081–1086. doi: 10.1001/jamadermatol.2015.1187. - DOI - PubMed
    1. Esteva A, et al. Dermatologist-level classification of skin cancer with deep neural networks. Nature. 2017;542(7639):115–118. doi: 10.1038/nature21056. - DOI - PMC - PubMed
    1. Ferris LK, et al. Computer-aided classification of melanocytic lesions using dermoscopic images. J. Am. Acad. Dermatol. 2015;73(5):769–776. doi: 10.1016/J.JAAD.2015.07.028. - DOI - PubMed
    1. Pehamberger H, Binder M, Steiner A, Wolff K. In vivo epiluminescence microscopy: improvement of early diagnosis of melanoma. J. Invest. Dermatol. 1993;100(3 SUPPL.):S356–S362. doi: 10.1038/jid.1993.63. - DOI - PubMed

Publication types