The lesion the model sees
A classifier can only use the image regions it gets to see. In the SkinLesionNet++ study, the team used automatically generated lesion masks to select those regions. With a U-Net++ segmenter trained on these masks and synthetic training examples from CycleGAN, the hybrid classifier reached 88 percent accuracy on the held-out split. It reached 82 percent on HAM10000.[1]
Changing the mask changes which texture the classifier sees. On the same internal test, substituting intensity-based K-means for U-Net++ reduced accuracy from 88 percent to 86 percent. That shows the classifier was sensitive to the segmentation choice in that experiment. Lesion boundaries may also have been harder to isolate in the second dataset. Differences in the mix of lesion types could change the score even if the masks worked equally well.[1]
Measuring two errors separately
The segmentation scores measure how closely the predicted region matches an automatically generated reference mask. There is no expert-drawn boundary in that comparison. The drop in classification accuracy cannot by itself tell us whether the model separated lesions less accurately in the second dataset.[1]
One way to separate the effects is to run the same classifier twice on images from several sites, once with an automatic mask and once with an expert-drawn outline. Compare the two runs within groups that use the same device and share the same lesion type. If expert masks narrow the gap, there is reason to investigate segmentation first. If the gap persists, the classifier’s response to different textures and imaging conditions warrants closer attention.[1]