Skip to main content
QUICK REVIEW

[Paper Review] An Encoder-Decoder CNN for Hair Removal in Dermoscopic Images

Lidia Talavera-Martínez, Pedro Bibiloni|arXiv (Cornell University)|Oct 10, 2020
Cutaneous Melanoma Detection and ManagementMedicine28 references5 citations
TL;DR

This paper proposes a novel encoder-decoder convolutional neural network (CNN) for hair removal in dermoscopic images, using a composite loss function combining L1, SSIM, TV, and foreground/background L1 terms to improve texture restoration. The method outperforms six traditional computer vision techniques in quantitative and qualitative evaluations, achieving statistically superior results on a synthetic dataset derived from public dermoscopic databases.

ABSTRACT

The process of removing occluding hair has a relevant role in the early and accurate diagnosis of skin cancer. It consists of detecting hairs and restore the texture below them, which is sporadically occluded. In this work, we present a model based on convolutional neural networks for hair removal in dermoscopic images. During the network's training, we use a combined loss function to improve the restoration ability of the proposed model. In order to train the CNN and to quantitatively validate their performance, we simulate the presence of skin hair in hairless images extracted from publicly known datasets such as the PH2, dermquest, dermis, EDRA2002, and the ISIC Data Archive. As far as we know, there is no other hair removal method based on deep learning. Thus, we compare our results with six state-of-the-art algorithms based on traditional computer vision techniques by means of similarity measures that compare the reference hairless image and the one with hair simulated. Finally, a statistical test is used to compare the methods. Both qualitative and quantitative results demonstrate the effectiveness of our network.

Motivation & Objective

  • To develop a deep learning-based method for hair removal in dermoscopic images, addressing limitations of traditional computer vision techniques.
  • To design a custom loss function that enhances texture and color restoration beneath hair regions.
  • To create a synthetic dataset with simulated hair on hairless dermoscopic images for rigorous quantitative evaluation.
  • To compare the proposed CNN model objectively with six state-of-the-art traditional hair removal algorithms.
  • To validate the model’s effectiveness on real dermoscopic images beyond synthetic data.

Proposed method

  • An encoder-decoder CNN architecture with skip connections is used to preserve spatial details during reconstruction.
  • The network is trained using a composite loss function combining L1, SSIM, total variation (TV), and foreground/background-specific L1 terms.
  • Hair simulation is performed on real hairless dermoscopic images from PH2, dermquest, dermis, EDRA2002, and ISIC datasets to generate training and test data.
  • The loss function includes a foreground L1 term to preserve lesion texture and a background L1 term to reduce blurriness in non-lesion areas.
  • Ablation studies are conducted to evaluate the contribution of each loss component and architectural choices like skip connections and pooling layers.
  • Statistical hypothesis testing is applied to compare performance across methods using nine similarity metrics.

Experimental results

Research questions

  • RQ1Can a deep CNN-based approach outperform traditional computer vision methods in hair removal from dermoscopic images?
  • RQ2How does the inclusion of a composite loss function affect the quality of texture and color restoration in hair-removed regions?
  • RQ3What is the impact of architectural components such as skip connections and pooling layers on reconstruction performance?
  • RQ4How do individual loss terms (e.g., L1, SSIM, TV) contribute to the final output quality, as shown by ablation studies?
  • RQ5Does the model generalize well to real dermoscopic images with naturally occurring hair?

Key findings

  • The proposed CNN model achieved statistically superior performance on eight out of nine similarity metrics compared to six state-of-the-art traditional methods.
  • The ablation study showed that removing the background L1 term led to blurrier results, indicating its importance in preserving sharpness in non-lesion areas.
  • The inclusion of the SSIM and TV loss terms significantly improved structural consistency and reduced noise in reconstructed regions.
  • Skip connections were found to be critical for preserving fine details, as shown by a clear visual and quantitative improvement over the no-skip-connection variant.
  • The model generalized well to real dermoscopic images with natural hair, producing visually plausible and diagnostically useful results.
  • The loss function with all components achieved the best PSNR (35.538 dB) and SSIM (0.974) on the test set, outperforming all ablated variants.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.