Drop an image anywhere, or choose an example.
Drop an image anywhere, or choose an example.
Dermoscope ABCD runs a deterministic, browser-native dermoscopic lesion analysis pipeline in a Web Worker. A, B, and C are experimental automated morphometrics intended strictly for research and education — not clinical diagnosis. The Nachbar & Stolz (1994) ABCD/TDS weights and thresholds were evaluated on clinician-scored lesions rather than automated software outputs.
Input assumptions & preprocessing. JPEG and PNG inputs are decoded as stored 8-bit sRGB pixels without EXIF rotation, ICC color-profile conversion, or alpha premultiplication. Transparent pixels (alpha < 128) are excluded from statistics, segmentation, hole-filling, and morphometry. Images larger than 512 px on their longest edge are downsampled bilinearly while preserving per-axis calibration scale. Dark circular dermoscope rims (luminance < 22, morphologically guarded against thin corner-to-lesion hairs and dilated by 2 px) are excluded. Optional DullRazor hair removal (Lee et al. 1997) applies directional closing across 0°, 45°, 90°, and 135° with anisotropy and thin-and-long verification to preserve compact dark pigment dots and lesion cores, then bilinearly inpaints verified hairs. Optional Shades of Gray color constancy (Finlayson & Trezzi 2004; Barata et al. 2015) estimates the illuminant with Minkowski p = 6 over valid non-saturated pixels.
Segmentation & experimental ABCD morphometry. Perilesional skin CIE L*a*b* (D65) is estimated from the outer 5–15% valid ring, combined with inverted L* and inverted blue intensity using small-lesion-preserving normalization, thresholded with Otsu plus optional user bias, cleaned with 3×3 closing and opening, filtered to the highest area × center-proximity component, hole-filled over valid pixels, and traced with Jacob's-criterion 8-connected Moore-Neighbor contour tracing. Images without genuine foreground-vs-background contrast or a lesion ≥ 16 px report a segmentation failure with no scores. Following Nachbar & Stolz (1994) and Kasmi & Mokrani (2016), the app computes experimental Asymmetry (A, 0–2), Border abruptness via mask-verified weighted Lab contrast (0.7·ΔE₇₆ + 0.3·|ΔL*|) across 8 angular sectors (B, 0–8, marking unmeasurable sectors unavailable), and Color variegation across 6 CIE L*a*b* prototypes (C, 1–6). Composite TDS = 1.3A + 0.1B + 0.5C + 0.5D is calculated only when a clinician/educational Differential structures count (D, 1–5) is explicitly entered.
Dermoscopy images are decoded and analyzed locally in your browser inside a Web Worker and are never uploaded. Only the optional ISIC Archive example photographs are downloaded from the Neurodesk dataset on Hugging Face.