Skin cancer is the most common type of cancer, a life-threatening condition that leads to serious health problems if not detected early, and its incidence is increasing worldwide. In recent years, computer vision and decision support systems have been used for disease detection in dermoscopic images. Furthermore, it has been observed that data representation methods affect the detection performance of these models, and the effect of color information on transformer-based models has not been sufficiently investigated. This study used the International Skin Imaging Collaboration (ISIC) 2017 dataset consisting of RGB images, and these images were converted into the HSV, LAB, and YCbCr color spaces. Transformer-based models, including visual transformer (ViT), swin transformer, data efficient image transformer (DeiT), and label-free self-distillation (DINO), were used for benign and malignant classification. According to the classification performance results, RGB and HSV color spaces particularly in the DeiT and Swin models, stable and high accuracy values were obtained. It was observed that the ViT and DINO models were more sensitive to color space transformations and achieved lower classification performance compared to other models. The highest performance in skin cancer classification was achieved with the DeiT model trained in the RGB color space, with the highest accuracy (0.7668). Furthermore, the explainability-based gradient-weighted class activation mapping (Grad-CAM) method was used to analyze where the models focused in image regions when making classification decisions. This study shows the effect and usability of color space transformations in transformer-based models for skin cancer classification and offers a comparative contribution to the literature.
Skin cancer classification color space transformation transformer-based models ViT Swin DeiT DINO
| Primary Language | English |
|---|---|
| Subjects | Deep Learning, Electrical Engineering (Other) |
| Journal Section | Research Article |
| Authors | |
| Submission Date | February 9, 2026 |
| Acceptance Date | March 10, 2026 |
| Publication Date | March 30, 2026 |
| DOI | https://doi.org/10.59313/jsr-a.1885019 |
| IZ | https://izlik.org/JA65UM54XM |
| Published in Issue | Year 2026 Issue: 064 |