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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-segmentation
|
| 5 |
+
tags:
|
| 6 |
+
- medical
|
| 7 |
+
- histopathology
|
| 8 |
+
- whole-slide-imaging
|
| 9 |
+
- veterinary
|
| 10 |
+
- canine
|
| 11 |
+
- dermatology
|
| 12 |
+
- oncology
|
| 13 |
+
size_categories:
|
| 14 |
+
- n<1K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# CATCH — CAnine CuTaneous Cancer Histology
|
| 18 |
+
|
| 19 |
+
350 whole-slide images of **canine** skin tumors (H&E), covering **7 tumor
|
| 20 |
+
subtypes** with dense multi-class region annotations by a veterinary
|
| 21 |
+
pathologist. Mirrored for the MedOtter segmentation benchmark.
|
| 22 |
+
|
| 23 |
+
> Wilm F., Fragoso M., Marzahl C., Qiu J., Puget C., Diehl L., Bertram C.A.,
|
| 24 |
+
> Klopfleisch R., Maier A., Breininger K.*, Aubreville M.* —
|
| 25 |
+
> *Pan-tumor CAnine cuTaneous Cancer Histology (CATCH) dataset*,
|
| 26 |
+
> **Scientific Data** 9, 588 (2022). doi:10.1038/s41597-022-01692-w
|
| 27 |
+
>
|
| 28 |
+
> Data DOI: [10.7937/TCIA.2M93-FX66](https://doi.org/10.7937/TCIA.2M93-FX66) ·
|
| 29 |
+
> Source: [TCIA CATCH collection](https://www.cancerimagingarchive.net/collection/catch/)
|
| 30 |
+
|
| 31 |
+
## What this mirror contains — read before using
|
| 32 |
+
|
| 33 |
+
The originals are 350 Aperio `.svs` slides totalling **522 GB** at 0.2533 µm/px,
|
| 34 |
+
distributed by TCIA behind an Aspera plugin. This mirror stores each slide
|
| 35 |
+
rendered at the **4 µm/px pyramid level** — the exact resolution the CATCH
|
| 36 |
+
paper's own segmentation baseline operates at (512×512 px ≙ 2048×2048 µm) —
|
| 37 |
+
as a lossless PNG, paired with a 13-class indexed mask rasterized at the same
|
| 38 |
+
level. It is a **derived, downsampled** representation, not the original WSIs.
|
| 39 |
+
|
| 40 |
+
For full-resolution work, use TCIA. The complete original polygon annotations
|
| 41 |
+
are included here as `CATCH.json` so any other pyramid level can be re-derived.
|
| 42 |
+
|
| 43 |
+
| | |
|
| 44 |
+
|---|---|
|
| 45 |
+
| Slides | 350 |
|
| 46 |
+
| Patients | 282 |
|
| 47 |
+
| Resolution | 4.05 µm/px (pyramid level 2, ≈16× downsample, all 350 slides) |
|
| 48 |
+
| Image size | median 6025×4644, max 11812×6046, mean 29.7 Mpx |
|
| 49 |
+
| Polygons | 12,424 |
|
| 50 |
+
| Classes | 13 (+ label 0 = unannotated) |
|
| 51 |
+
| Splits | train 245 / val 35 / test 70 (official, patient-level) |
|
| 52 |
+
|
| 53 |
+
## Splits
|
| 54 |
+
|
| 55 |
+
The official split from the authors' [CanineCutaneousTumors](https://github.com/DeepPathology/CanineCutaneousTumors)
|
| 56 |
+
repo, balanced at **35 / 5 / 10 slides per subtype**. It is patient-level:
|
| 57 |
+
**no patient appears in two splits** (verified across all 282 patients).
|
| 58 |
+
|
| 59 |
+
A slide's patient is the filename prefix `<Subtype>_<NN>` — 41 patients
|
| 60 |
+
contribute 2 slides, 8 contribute 3, 2 contribute 4, and 1 contributes 6.
|
| 61 |
+
**Group on `patient_id`, not on `slide`.**
|
| 62 |
+
|
| 63 |
+
## Labels
|
| 64 |
+
|
| 65 |
+
`mask` is a single-channel uint8 PNG. **Label 0 means *unannotated*, not
|
| 66 |
+
background** — CATCH has no background class by design, and the authors
|
| 67 |
+
exclude unannotated tissue from training and evaluation. Treat 0 as
|
| 68 |
+
*don't-care*, or synthesize a background class by Otsu-thresholding the white
|
| 69 |
+
point per slide, which is what the paper's baseline does.
|
| 70 |
+
|
| 71 |
+
| ID | Class | Group | Slides present |
|
| 72 |
+
|---|---|---|---|
|
| 73 |
+
| 0 | unannotated | — | 350 |
|
| 74 |
+
| 1 | Bone | Tissue | 21 |
|
| 75 |
+
| 2 | Cartilage | Tissue | 4 |
|
| 76 |
+
| 3 | Dermis | Tissue | 322 |
|
| 77 |
+
| 4 | Epidermis | Tissue | 321 |
|
| 78 |
+
| 5 | Subcutis | Tissue | 246 |
|
| 79 |
+
| 6 | Inflamm/Necrosis | Tissue | 149 |
|
| 80 |
+
| 7 | Melanoma | Tumor | 50 |
|
| 81 |
+
| 8 | Plasmacytoma | Tumor | 50 |
|
| 82 |
+
| 9 | Mast Cell Tumor | Tumor | 50 |
|
| 83 |
+
| 10 | PNST | Tumor | 50 |
|
| 84 |
+
| 11 | SCC | Tumor | 50 |
|
| 85 |
+
| 12 | Trichoblastoma | Tumor | 50 |
|
| 86 |
+
| 13 | Histiocytoma | Tumor | 50 |
|
| 87 |
+
|
| 88 |
+
**Bone (21 slides) and Cartilage (4 slides) are too rare for class-averaged
|
| 89 |
+
metrics** — the authors exclude both from their own baseline. Do the same.
|
| 90 |
+
|
| 91 |
+
**Exactly one tumor class occurs per slide**, and it always equals the slide's
|
| 92 |
+
subtype (verified 350/350). `tumor_class_id` / `tumor_class_name` give it
|
| 93 |
+
directly, so a binary tumor-vs-rest target needs no lookup.
|
| 94 |
+
|
| 95 |
+
### Polygons are hierarchical — rasterize in file order
|
| 96 |
+
|
| 97 |
+
Annotations nest: the dermis encircles a tumor mass, and islands of normal
|
| 98 |
+
dermis sit inside the tumor. Masks here are rasterized in **COCO file order**,
|
| 99 |
+
which is the authors' documented sort — *"polygons are sorted in increasing
|
| 100 |
+
order of their hierarchy level, i.e. polygons enclosed by another will be read
|
| 101 |
+
out after their enclosing polygon"* — so a later fill correctly overwrites the
|
| 102 |
+
region it sits within.
|
| 103 |
+
|
| 104 |
+
⚠️ **Do not sort by the `area` field instead.** `area` is the shoelace area, so
|
| 105 |
+
a polygon drawn as a *ring* around a tumor reports a **smaller** area than the
|
| 106 |
+
blob it encloses, while a standard polygon fill (`cv2.fillPoly`, `PIL
|
| 107 |
+
ImageDraw.polygon`) fills its outer boundary solid. Sorting area-descending
|
| 108 |
+
therefore paints the ring last and **buries the tumor completely**. Measured on
|
| 109 |
+
this data, it destroys the entire tumor annotation on `Plasmacytoma_08_1`,
|
| 110 |
+
`Trichoblastoma_31_2` and `Trichoblastoma_34_1`.
|
| 111 |
+
|
| 112 |
+
File order reproduces the per-class slide presence of the source polygons
|
| 113 |
+
**exactly** for all 13 classes across all 350 slides; area-descending does not.
|
| 114 |
+
|
| 115 |
+
## Columns
|
| 116 |
+
|
| 117 |
+
`image` · `mask` · `slide` · `stem` · `subtype` · `patient_id` · `split` ·
|
| 118 |
+
`scanner` · `tumor_class_id` · `tumor_class_name` · `width` · `height` · `mpp` ·
|
| 119 |
+
`downsample` �� `level0_width` · `level0_height` · `annotated_frac` ·
|
| 120 |
+
`classes_present`
|
| 121 |
+
|
| 122 |
+
`annotated_frac` is the fraction of canvas carrying a label (median ≈ 0.50;
|
| 123 |
+
much of the remainder is glass, not untraced tissue).
|
| 124 |
+
|
| 125 |
+
## Overlap with other datasets — leakage warnings
|
| 126 |
+
|
| 127 |
+
- **Multi-Scanner Canine Cutaneous SCC** ([Zenodo 7418555](https://zenodo.org/records/7418555))
|
| 128 |
+
re-scans **44 of CATCH's 50 SCC slides** on 4 additional scanners. Confirmed
|
| 129 |
+
by the authors and **joinable by filename**. Do not mix.
|
| 130 |
+
- **MIDOG++ / MIDOG 2022 Domain 4** is 50 canine cutaneous mast cell tumor
|
| 131 |
+
cases from the same archive, scanner and resolution as CATCH's 50 MCT
|
| 132 |
+
slides. The reuse is undocumented and **no cross-reference ID exists** — the
|
| 133 |
+
naming schemes are not joinable. Treat the MCT subset as potentially
|
| 134 |
+
contaminated if you also use MIDOG.
|
| 135 |
+
- **CCMCT / MITOS_WSI_CCMCT** (32 canine cutaneous MCT WSIs) may likewise
|
| 136 |
+
overlap the MCT subset. Also unjoinable.
|
| 137 |
+
- **No overlap with human histopathology sets** (TCGA-derived, PanNuke,
|
| 138 |
+
MoNuSeg, MoNuSAC, NuCLS, CoNIC, CAMELYON, …) — different species.
|
| 139 |
+
|
| 140 |
+
⚠️ Web summaries claiming "CATCH is on Zenodo as 4 µm/px TIFFs" are **wrong**;
|
| 141 |
+
that record is the 44-slide Multi-Scanner SCC derivative, not CATCH.
|
| 142 |
+
|
| 143 |
+
## Annotation provenance
|
| 144 |
+
|
| 145 |
+
One annotation tier is released. Pathologist **M. Fragoso** drew ~82% of the
|
| 146 |
+
annotations; the remainder was drawn by three medical students and then
|
| 147 |
+
reviewed for correctness and completeness by M. Fragoso. The distributed
|
| 148 |
+
SQLite has exactly one entry in its `Persons` table — a single merged layer,
|
| 149 |
+
with no algorithmic pre-annotation. Two further veterinary pathologists
|
| 150 |
+
annotated one ROI on each of the 70 test slides for an inter-rater study;
|
| 151 |
+
**that data was never published** and is not part of this dataset.
|
| 152 |
+
|
| 153 |
+
Reported reliability (paper Table 3, generalized conformity index): tumor
|
| 154 |
+
0.8514, epidermis 0.7512. Dermis/subcutis are the weakest pair, and
|
| 155 |
+
inflammation/necrosis vs tumor is the other main confusion axis.
|
| 156 |
+
|
| 157 |
+
## License
|
| 158 |
+
|
| 159 |
+
**CC BY 4.0**, as stated for all three data rows on the
|
| 160 |
+
[TCIA collection page](https://www.cancerimagingarchive.net/collection/catch/),
|
| 161 |
+
the authors' designated distribution channel.
|
| 162 |
+
|
| 163 |
+
⚠️ **Discrepancy, disclosed for transparency:** the `licenses` block *inside*
|
| 164 |
+
the official `CATCH.json` declares `Attribution-NonCommercial-NoDerivs 2.0`.
|
| 165 |
+
This appears to be a COCO-export template default rather than a deliberate
|
| 166 |
+
choice, and it is contradicted by TCIA's own Data Access table and by the
|
| 167 |
+
CC BY 4.0 paper. We treat the TCIA statement as controlling. If your use is
|
| 168 |
+
commercial or derivative-heavy, verify with the authors first.
|
| 169 |
+
|
| 170 |
+
Users must also abide by the
|
| 171 |
+
[TCIA Data Usage Policy](https://www.cancerimagingarchive.net/data-usage-policies-and-restrictions/).
|
| 172 |
+
Please cite the paper and the data DOI above.
|
| 173 |
+
|
| 174 |
+
## Reproducing this mirror
|
| 175 |
+
|
| 176 |
+
Level 2 of each remote `.svs` is read via HTTP byte-range requests — a `.svs`
|
| 177 |
+
is a pyramidal TIFF, so pulling only that level costs **0.79% of each file
|
| 178 |
+
(4.1 GB total instead of 522 GB)** and needs no Aspera client and no login.
|
| 179 |
+
`CATCH.json` is then rasterized in file order at the same level.
|