A clinician-written, training-free rule for skin-lesion borders in smartphone photographs: a pre-registered sealed test against a blind tracer, a trained network, SAM and an informed null
Author’s page and other studies: https://fabiohumaniza-cyber.github.io/ · Project: https://deolhonapele.com.br Purpose. Primary-care teams usually first image a skin lesion with a smartphone, yet segmentation methods are validated on dermoscopy. We asked whether a written, training-free rule, adapted from a dermoscopy rule in one day of pre-specified development, delineates lesions in smartphone photographs better than an informed null. Methods. The engine was frozen by hash after five one-rule rounds on 243 previously exposed PAD-UFES-20 photographs. A sealed set of 300 unused photographs (60 each of actinic keratosis, basal cell carcinoma, nevus, squamous cell carcinoma, seborrhoeic keratosis; one per patient) was traced by an independent blind nurse and run once, sealed, through the engine and four comparators: the previous rule, a U-Net trained on ISIC 2018, SAM ViT-B prompted at the centre, and tuned Otsu. A centred circle of the tracer’s median lesion area was the informed null. Refusals scored zero; hypotheses were tested in a fixed sequence. Results. The tracer delineated 188 photographs. Median Dice was 0.745 (95% CI 0.663–0.785) for the engine, 0.784 for the U-Net, 0.693 for SAM and 0.671 for the null. The primary hypothesis, engine better than null, failed (paired mean difference −0.052; Wilcoxon p = 0.84). Post hoc, the engine exceeded the null on accepted photographs (median +0.059), but its 27 refusals cost more. On nevi and seborrhoeic keratoses it was close to the U-Net; on pink lesions it did not exceed the null. Conclusion. A first-cycle written rule is competitive on pigmented lesions in smartphone photographs but not yet on pink ones; centred clinical datasets need an informed null. Deposit: per-photograph results, test-set draw, sealing and analysis scripts, and all hashes. The frozen engine is available for audit by hash under a confidentiality agreement.
Authors
- Fabio da Camara Oliveira Ferreira (ORCID: https://orcid.org/0009-0009-0997-3275)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-10-14
- DOI
- https://doi.org/10.5281/zenodo.23382350
- Primary Topic
- Cutaneous Melanoma Detection and Management
- Type
- preprint