Datasets:
Describe dataset contents and licenses before usage details
Browse files- README.md +29 -85
- manifest.json +2 -2
README.md
CHANGED
|
@@ -15,67 +15,49 @@ configs:
|
|
| 15 |
path: puma.parquet
|
| 16 |
---
|
| 17 |
|
| 18 |
-
# PUMA
|
| 19 |
|
| 20 |
## Overview
|
| 21 |
|
| 22 |
-
PUMA
|
| 23 |
-
This repackaging provides the **206 public annotated training ROIs** from
|
| 24 |
-
[Zenodo record 15050523, version 5](https://zenodo.org/records/15050523), with
|
| 25 |
-
103 primary and 103 metastatic melanoma ROIs. Each RGB image has 1024 × 1024
|
| 26 |
-
pixels. Both nucleus instances and tissue regions are retained; the data are
|
| 27 |
-
suitable for panoptic segmentation workflows.
|
| 28 |
|
| 29 |
-
|
|
|
|
|
|
|
| 30 |
|
| 31 |
## Files and splits
|
| 32 |
|
| 33 |
-
|
|
| 34 |
| --- | --- | --- |
|
| 35 |
| `train` | `puma.parquet` | 206 |
|
| 36 |
|
| 37 |
-
This is the public challenge training
|
| 38 |
|
| 39 |
## Fields
|
| 40 |
|
| 41 |
-
|
| 42 |
-
[csmp-hub/pannuke](https://huggingface.co/datasets/csmp-hub/pannuke), the `image`,
|
| 43 |
-
`inst` and `type` fields contain lossless PNG bytes. The additional `sem` field
|
| 44 |
-
retains tissue segmentation, matching the panoptic field used by
|
| 45 |
-
[csmp-hub/panoptils_refined](https://huggingface.co/datasets/csmp-hub/panoptils_refined).
|
| 46 |
|
| 47 |
| Field | Contents |
|
| 48 |
| --- | --- |
|
| 49 |
| `id` | Original ROI name, e.g. `training_set_metastatic_roi_001` |
|
| 50 |
-
| `image` | RGB uint8 image, values 0–255
|
| 51 |
-
| `inst` | uint16 nucleus instance
|
| 52 |
-
| `type` | uint8 nucleus class labels,
|
| 53 |
-
| `sem` | uint8 tissue class labels,
|
| 54 |
| `specimen_type` | `primary` or `metastatic`, from the original ROI name |
|
| 55 |
-
| `mpp_x`, `mpp_y` | Micrometres per pixel along
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
**1-based index of the original nucleus feature** in that ROI's GeoJSON file;
|
| 63 |
-
IDs can have gaps. A MultiPolygon feature remains one instance. The `type` label
|
| 64 |
-
at every positive instance pixel is that source feature's nucleus class.
|
| 65 |
-
Tissue classes in `sem` are independent of the nucleus labels and cover nuclei
|
| 66 |
-
as well as their surroundings.
|
| 67 |
-
|
| 68 |
-
The pinned Zenodo record reports 0.23 µm/px, while the challenge website reports
|
| 69 |
-
0.22 µm/px. This repackaging preserves the per-axis physical spacing encoded in
|
| 70 |
-
each TIFF (approximately 0.2263 µm/px), without rescaling pixels. Verify calibration
|
| 71 |
-
against the original slide before combining data by physical scale.
|
| 72 |
|
| 73 |
## Labels
|
| 74 |
|
| 75 |
### Nucleus classes (`type`)
|
| 76 |
|
| 77 |
-
The original class names
|
| 78 |
-
local to PUMA: they are not a harmonized taxonomy shared with PanNuke or PanopTILs.
|
| 79 |
|
| 80 |
| Value | Original class name |
|
| 81 |
| --- | --- |
|
|
@@ -138,7 +120,7 @@ cell_types = read_png(row["type"])
|
|
| 138 |
tissue_types = read_png(row["sem"])
|
| 139 |
```
|
| 140 |
|
| 141 |
-
|
| 142 |
|
| 143 |
## Plot examples
|
| 144 |
|
|
@@ -275,63 +257,25 @@ Each row shows the RGB image and nucleus-class overlay with instance boundaries,
|
|
| 275 |
|
| 276 |
## Preparation and validation
|
| 277 |
|
| 278 |
-
|
| 279 |
-
uses GDAL through Rasterio with an identity transform and `all_touched=False`.
|
| 280 |
-
Polygons are filled at pixel centers, preserving interior holes and MultiPolygons.
|
| 281 |
-
When source polygons overlap, the later feature in the original GeoJSON takes
|
| 282 |
-
precedence in the dense mask. No geometry repair, dilation, clipping rewrite or
|
| 283 |
-
artificial object pixels are added. Pixels outside source polygons remain zero.
|
| 284 |
|
| 285 |
-
|
| 286 |
-
saved RGB image and mask is reopened and checked for exact pixel and dtype
|
| 287 |
-
agreement with the original image or specified rasterization. Sampled interior
|
| 288 |
-
pixel centers are also checked independently against vector polygon containment.
|
| 289 |
-
`manifest.json` records SHA-256 hashes, class mappings, per-ROI counts, conversion
|
| 290 |
-
script identity and software versions. `source-record.json` preserves the pinned
|
| 291 |
-
Zenodo metadata. The two original annotation ZIPs are byte-for-byte copies.
|
| 292 |
|
| 293 |
-
The
|
| 294 |
-
|
| 295 |
-
| Quantity | Count |
|
| 296 |
-
| --- | --- |
|
| 297 |
-
| Public annotated ROIs | 206 |
|
| 298 |
-
| Original vector nuclei | 97,429 |
|
| 299 |
-
| Nuclei represented in dense masks | 97,423 |
|
| 300 |
-
| Independently checked interior pixel centers | 26,221 |
|
| 301 |
|
| 302 |
## Limitations
|
| 303 |
|
| 304 |
-
Six nucleus polygons are
|
| 305 |
-
onto a pixel center, and four are completely covered by later source features.
|
| 306 |
-
Their source feature IDs, would-be instance IDs, classes and reasons are listed
|
| 307 |
-
under `unrepresented_nuclei` in `manifest.json`. They remain intact in the
|
| 308 |
-
original GeoJSON archive. Use the vectors when exact source annotation geometry,
|
| 309 |
-
overlapping objects or all 97,429 annotations are required. The manifest also
|
| 310 |
-
reports overlap pixels, unannotated tissue pixels and source geometry validity
|
| 311 |
-
for every ROI.
|
| 312 |
|
| 313 |
-
|
| 314 |
|
| 315 |
-
The 5120 × 5120
|
| 316 |
-
available in the linked Zenodo record. This release preserves the full annotated
|
| 317 |
-
1024-pixel ROIs, without cropping them into training patches.
|
| 318 |
-
|
| 319 |
-
There are no cytoplasm annotations. Patient identity and calibrated physical scale require care when defining combined training/evaluation protocols.
|
| 320 |
|
| 321 |
## License and citation
|
| 322 |
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
The pinned [Zenodo record](https://zenodo.org/records/15050523) declares
|
| 326 |
-
**CC0 1.0** (`cc-zero` in its metadata). This repackaging retains that dedication.
|
| 327 |
-
[CC0 permits copying, modification and redistribution, including commercial use](https://creativecommons.org/publicdomain/zero/1.0/).
|
| 328 |
-
It does not waive rights outside its scope, such as third-party privacy rights.
|
| 329 |
|
| 330 |
-
|
| 331 |
-
these data. Dataset curator: **Mark Schuiveling**, University Medical Center Utrecht;
|
| 332 |
-
contributing curators: **Willeke Blokx** and **Gerben Breimer**. The annotations were
|
| 333 |
-
reviewed by dermatopathologists; this repackaging makes no additional clinical
|
| 334 |
-
validation claim.
|
| 335 |
|
| 336 |
- Schuiveling et al. (2025). *A novel dataset for nuclei and tissue segmentation
|
| 337 |
in melanoma with baseline nuclei segmentation and tissue segmentation
|
|
|
|
| 15 |
path: puma.parquet
|
| 16 |
---
|
| 17 |
|
| 18 |
+
# PUMA
|
| 19 |
|
| 20 |
## Overview
|
| 21 |
|
| 22 |
+
PUMA is a melanoma histopathology dataset for **nucleus instance segmentation, nucleus classification and tissue segmentation**. The public training collection contains **206 hematoxylin and eosin (H&E) regions of interest**: 103 from primary melanomas and 103 from metastatic melanomas. Each image is 1024 × 1024 pixels.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
+
The paired annotations distinguish ten nucleus classes and six tissue classes, enabling joint analysis of cells and their surrounding tissue. They can be used to train and evaluate segmentation models or study the spatial distribution of tumor cells and immune cells in melanoma. Nucleus annotations were manually corrected after model-assisted segmentation; tissue regions were annotated manually and reviewed by dermatopathologists.
|
| 25 |
+
|
| 26 |
+
**License:** [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/).
|
| 27 |
|
| 28 |
## Files and splits
|
| 29 |
|
| 30 |
+
| Split | File | Images |
|
| 31 |
| --- | --- | --- |
|
| 32 |
| `train` | `puma.parquet` | 206 |
|
| 33 |
|
| 34 |
+
This is the public PUMA challenge training collection. The private challenge evaluation images are not included, and no additional validation or test split is supplied. Patient identifiers are not available in this release; ROI numbers alone do not establish patient independence. Confirm patient/specimen grouping before creating evaluation partitions.
|
| 35 |
|
| 36 |
## Fields
|
| 37 |
|
| 38 |
+
Each Parquet row contains one ROI. The `image`, `inst`, `type` and `sem` fields store lossless PNG bytes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
| Field | Contents |
|
| 41 |
| --- | --- |
|
| 42 |
| `id` | Original ROI name, e.g. `training_set_metastatic_roi_001` |
|
| 43 |
+
| `image` | RGB uint8 image, values 0–255; decoded HWC shape `(1024, 1024, 3)` |
|
| 44 |
+
| `inst` | uint16 nucleus instance labels; decoded HW shape `(1024, 1024)`; 0 is background |
|
| 45 |
+
| `type` | uint8 nucleus class labels, same HW shape; 0 is nucleus background |
|
| 46 |
+
| `sem` | uint8 tissue class labels, same HW shape; 0 is unannotated |
|
| 47 |
| `specimen_type` | `primary` or `metastatic`, from the original ROI name |
|
| 48 |
+
| `mpp_x`, `mpp_y` | Micrometres per pixel along each axis, from the source TIFF resolution tags |
|
| 49 |
+
|
| 50 |
+
Images retain their source RGB values and size. A fully opaque alpha channel, where present in the TIFF, is omitted. Masks contain integer labels, not probabilities. Tissue labels describe regions independently of nucleus labels.
|
| 51 |
+
|
| 52 |
+
Instance IDs are local to each ROI. Each positive ID is the 1-based index of a nucleus feature in the original GeoJSON; IDs can have gaps. A MultiPolygon feature remains one instance. `type` gives the class of the instance at the same pixel.
|
| 53 |
+
|
| 54 |
+
The TIFF metadata give physical spacings of approximately 0.2262–0.2274 µm/px. Per-axis values are retained in `mpp_x` and `mpp_y`, without resizing the images. Use these fields for physical-scale calculations and verify calibration against the original slides when required.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
## Labels
|
| 57 |
|
| 58 |
### Nucleus classes (`type`)
|
| 59 |
|
| 60 |
+
The original nucleus and tissue class names use the following integer labels.
|
|
|
|
| 61 |
|
| 62 |
| Value | Original class name |
|
| 63 |
| --- | --- |
|
|
|
|
| 120 |
tissue_types = read_png(row["sem"])
|
| 121 |
```
|
| 122 |
|
| 123 |
+
Use the filenames and split names listed above when selecting another partition.
|
| 124 |
|
| 125 |
## Plot examples
|
| 126 |
|
|
|
|
| 257 |
|
| 258 |
## Preparation and validation
|
| 259 |
|
| 260 |
+
The data come from [Zenodo record 15050523, version 5](https://zenodo.org/records/15050523). The original nucleus and tissue GeoJSON archives are included unchanged, together with the source metadata in `source-record.json`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 261 |
|
| 262 |
+
Polygon coordinates are local `(x, y)` image coordinates. Rasterio/GDAL fills polygons at pixel centers with an identity transform and `all_touched=False`, preserving holes and MultiPolygons. Later source features take precedence where polygons overlap. No geometry repair or artificial object pixels are added. Pixels outside the polygons remain zero.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
|
| 264 |
+
The vector annotations contain 97,429 nuclei; dense masks represent 97,423. Source archives were checked against their published checksums, and all saved images and masks were checked after decoding. `manifest.json` records source/output hashes, class mappings, software versions, per-ROI counts and rasterization exceptions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 265 |
|
| 266 |
## Limitations
|
| 267 |
|
| 268 |
+
Six source nucleus polygons are not represented in `inst`: two have no raster pixels and four are fully covered by later features. Their IDs, classes and reasons are listed under `unrepresented_nuclei` in `manifest.json`. All remain intact in the original GeoJSON archive. Use the vectors when exact geometry, overlapping objects or all 97,429 annotations are needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
|
| 270 |
+
Four source geometries are flagged invalid by Shapely and are retained without repair. The manifest reports polygon overlaps and unannotated tissue pixels per ROI. Tissue value 0 is unannotated and should be ignored in tissue loss/metrics; annotated white background is class 6.
|
| 271 |
|
| 272 |
+
The unannotated 5120 × 5120 context images are available from the original Zenodo release but are not included here. The full annotated 1024-pixel ROIs are retained. There are no cytoplasm annotations.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 273 |
|
| 274 |
## License and citation
|
| 275 |
|
| 276 |
+
The data are released under [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/). Please acknowledge the dataset creators and cite both the dataset and its accompanying paper.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 277 |
|
| 278 |
+
Dataset curator: Mark Schuiveling, University Medical Center Utrecht. Contributing curators: Willeke Blokx and Gerben Breimer.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 279 |
|
| 280 |
- Schuiveling et al. (2025). *A novel dataset for nuclei and tissue segmentation
|
| 281 |
in melanoma with baseline nuclei segmentation and tissue segmentation
|
manifest.json
CHANGED
|
@@ -5547,8 +5547,8 @@
|
|
| 5547 |
"validation": "all saved PNG pixels/dtypes match source RGB and rasterized masks; independent polygon containment checks verify sampled pixel centers; every source nucleus is retained in the original GeoJSON archives, including explicitly listed unrepresented raster instances",
|
| 5548 |
"documentation": {
|
| 5549 |
"README.md": {
|
| 5550 |
-
"sha256": "
|
| 5551 |
-
"bytes":
|
| 5552 |
},
|
| 5553 |
"examples.png": {
|
| 5554 |
"sha256": "25bd2d0b2d663ace4869701514e15d859305c7e7c750513ca802c7f722f7389e",
|
|
|
|
| 5547 |
"validation": "all saved PNG pixels/dtypes match source RGB and rasterized masks; independent polygon containment checks verify sampled pixel centers; every source nucleus is retained in the original GeoJSON archives, including explicitly listed unrepresented raster instances",
|
| 5548 |
"documentation": {
|
| 5549 |
"README.md": {
|
| 5550 |
+
"sha256": "abc48074911e184a1a9d9f07bc71fa9e50d1ccc0ca99b8e8cf4713488c07929b",
|
| 5551 |
+
"bytes": 11142
|
| 5552 |
},
|
| 5553 |
"examples.png": {
|
| 5554 |
"sha256": "25bd2d0b2d663ace4869701514e15d859305c7e7c750513ca802c7f722f7389e",
|