The Effects of Masking in Melanoma Image Classification with CNNs Towards International Standards for Image Preprocessing

Nunnari, Fabrizio and Ezema, Abraham and Sonntag, Daniel (2021) The Effects of Masking in Melanoma Image Classification with CNNs Towards International Standards for Image Preprocessing. In: Wireless Mobile Communication and Healthcare. 9th EAI International Conference, MobiHealth 2020, Virtual Event, November 19, 2020, Proceedings.

[thumbnail of 45195.pdf] PDF
45195.pdf

Download (1MB)

Abstract

The classification of skin lesion images is known to be biased by artifacts of the surrounding skin, but it is still not clear to what extent masking out healthy skin pixels influences classification performances, and why. To better understand this phenomenon, we apply different strategies of image masking (rectangular masks, circular masks, full masking, and image cropping) to three datasets of skin lesion images (ISIC2016, ISIC2018, and MedNode). We train CNN-based classifiers, provide performance metrics through a 10-fold cross-validation, and analyse the behaviour of Grad-CAM saliency maps through an automated visual inspection. Our experiments show that cropping is the best strategy to maintain classification performance and to significantly reduce training times as well. Our analysis through visual inspection shows that CNNs have the tendency to focus on pixels of healthy skin when no malignant features can be identified. This suggests that CNNs have the tendency of “eagerly” looking for pixel areas to justify a classification choice, potentially leading to biased discriminators. To mitigate this effect, and to standardize image preprocessing, we suggest to crop images during dataset construction or before the learning step.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: Skin cancer, Convolutional neural networks, Masking, Reducing bias, AI standardization roadmap, Preprocessing
Date Deposited: 04 Mar 2026 14:28
Last Modified: 20 Nov 2026 13:22
URI: https://eprints.eai.eu/id/eprint/34984

Actions (login required)

View Item
View Item