--- license: cc0-1.0 task_categories: - image-segmentation tags: - medical - dermoscopy - skin-lesion - melanoma - lesion-segmentation - isic pretty_name: ISIC 2016 (ISBI 2016) — Part 1 lesion segmentation size_categories: - 1K` id namespace. Measured against the official ISIC 2018 Task 1 training ground truth (2,594 ids): | intersection | count | |---|---| | ISIC 2016 **train** ∩ ISIC 2018 train | **806 / 900** (89.6%) | | ISIC 2016 **test** ∩ ISIC 2018 train | **339 / 379** (89.4%) | | ISIC 2016 (any) ∩ ISIC 2018 **val/test** | **0** | Consequences: - Any model **fine-tuned on ISIC 2018 training data is contaminated** for evaluation on ISIC 2016 (both splits). Filter with the `in_isic2018_train` column: `ds.filter(lambda r: not r["in_isic2018_train"])`. - Zero-shot evaluation on both challenges' *eval* sets never scores the same image twice (2016's test set is disjoint from 2018's val/test). - For the 1,145 shared images the 2018 masks were slightly **revised** (IoU 0.988–0.997 vs the 2016 masks) — do not mix the two years as interchangeable label sources. ## Provenance Built from the four official challenge zips (no registration required), fetched byte-exact against their Content-Length and matching the challenge paper's counts (900 train / 379 test) exactly: ``` https://isic-challenge-data.s3.amazonaws.com/2016/ISBI2016_ISIC_Part1_Training_Data.zip https://isic-challenge-data.s3.amazonaws.com/2016/ISBI2016_ISIC_Part1_Training_GroundTruth.zip https://isic-challenge-data.s3.amazonaws.com/2016/ISBI2016_ISIC_Part1_Test_Data.zip https://isic-challenge-data.s3.amazonaws.com/2016/ISBI2016_ISIC_Part1_Test_GroundTruth.zip ``` Images and masks are byte-identical to the originals (no re-encoding, no resizing). Every mask was verified single-channel with values ⊆ {0, 255}, non-empty, and pixel-dimension-identical to its image. ## Usage ```python from datasets import load_dataset ds = load_dataset("MedOtter/ISIC2016") # train / test sample = ds["train"][0] image = sample["image"] # PIL RGB mask = sample["mask"] # PIL L, {0, 255} binary = mask.point(lambda p: p > 0) # -> {0, 1} # leakage-safe subset w.r.t. models trained on ISIC 2018: clean_test = ds["test"].filter(lambda r: not r["in_isic2018_train"]) # 40 rows ``` ## License **CC0 1.0 (public domain)** — as stated for the 2016 challenge on the [ISIC challenge data page](https://challenge.isic-archive.com/data/). Attribution is requested: cite the challenge paper below. ## Citation ```bibtex @article{gutman2016skin, title = {Skin Lesion Analysis toward Melanoma Detection: A Challenge at the International Symposium on Biomedical Imaging (ISBI) 2016, hosted by the International Skin Imaging Collaboration (ISIC)}, author = {Gutman, David and Codella, Noel C. F. and Celebi, Emre and Helba, Brian and Marchetti, Michael and Mishra, Nabin and Halpern, Allan}, journal = {arXiv preprint arXiv:1605.01397}, year = {2016} } ``` ## Related - [`MedOtter/ISIC2018`](https://huggingface.co/datasets/MedOtter/ISIC2018) — ISIC 2018 Task 1 (2,594 / 100 / 1,000). See the overlap table above before using both.