Angelou0516 commited on
Commit
502d4a3
·
verified ·
1 Parent(s): 2617f59

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +86 -25
README.md CHANGED
@@ -1,27 +1,88 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: image
5
- dtype: image
6
- - name: mask
7
- dtype: image
8
- - name: image_id
9
- dtype: string
10
- - name: patient_id
11
- dtype: string
12
- - name: xmin
13
- dtype: int32
14
- - name: ymin
15
- dtype: int32
16
- splits:
17
- - name: train
18
- num_bytes: 4910314207
19
- num_examples: 151
20
- download_size: 4910506566
21
- dataset_size: 4910314207
22
- configs:
23
- - config_name: default
24
- data_files:
25
- - split: train
26
- path: data/train-*
27
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc0-1.0
3
+ task_categories:
4
+ - image-segmentation
5
+ tags:
6
+ - medical
7
+ - pathology
8
+ - h-and-e
9
+ - breast
10
+ - segmentation
11
+ - bcss
12
+ size_categories:
13
+ - n<1K
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ---
15
+
16
+ # BCSS — Breast Cancer Semantic Segmentation (Amgad et al. 2019)
17
+
18
+ Re-hosted mirror of the **Breast Cancer Semantic Segmentation** dataset
19
+ (Amgad et al., *Bioinformatics* 2019), originally distributed via the
20
+ [PathologyDataScience/BCSS](https://github.com/PathologyDataScience/BCSS)
21
+ GitHub repo and rebuilt here from the
22
+ [`nabil-m/bcss`](https://huggingface.co/datasets/nabil-m/bcss) HF mirror.
23
+
24
+ The data is **CC0 1.0** (public domain, no rights reserved); the upstream
25
+ codebase is MIT-licensed but covers software, not data. Redistribution is
26
+ unrestricted.
27
+
28
+ ## Composition
29
+
30
+ | Split | ROIs |
31
+ |-------|-----:|
32
+ | train | 151 |
33
+
34
+ 151 ROI patches extracted from TCGA breast cancer whole-slide images.
35
+ Patches are **color-normalized** RGB at the upstream MPP=0.25 µm/px
36
+ (40× equivalent), with native ROI resolution typically 2–4k px per
37
+ side. There is **no official train/val/test split** — group-shuffle by
38
+ `patient_id` downstream for honest evaluation.
39
+
40
+ ## Schema
41
+
42
+ | Column | Type | Description |
43
+ |-------------|----------|-------------------------------------------------------|
44
+ | `image` | `Image` | RGB ROI (PNG, color-normalized, variable size) |
45
+ | `mask` | `Image` | Indexed 22-class mask (`L`, values 0..21) |
46
+ | `image_id` | `string` | Filename stem incl. xmin/ymin |
47
+ | `patient_id`| `string` | TCGA-XX-YYYY prefix |
48
+ | `xmin` | `int32` | ROI bbox xmin in WSI base-magnification pixels |
49
+ | `ymin` | `int32` | ROI bbox ymin in WSI base-magnification pixels |
50
+
51
+ ## Mask labels
52
+
53
+ | Code | Class | | Code | Class |
54
+ |-----:|------------------------|-|-----:|----------------------|
55
+ | 0 | outside_roi (don't care) | | 11 | other_immune_infiltrate |
56
+ | 1 | tumor | | 12 | mucoid_material |
57
+ | 2 | stroma | | 13 | normal_acinus_or_duct |
58
+ | 3 | lymphocytic_infiltrate | | 14 | lymphatics |
59
+ | 4 | necrosis_or_debris | | 15 | undetermined |
60
+ | 5 | glandular_secretions | | 16 | nerve |
61
+ | 6 | blood | | 17 | skin_adnexa |
62
+ | 7 | exclude | | 18 | blood_vessel |
63
+ | 8 | metaplasia_NOS | | 19 | angioinvasion |
64
+ | 9 | fat | | 20 | dcis |
65
+ | 10 | plasma_cells | | 21 | other |
66
+
67
+ **Code 0 (`outside_roi`) is a "don't care" region** — the original paper
68
+ recommends excluding it from any loss. For binary tumor evaluation,
69
+ the canonical foreground is class 1.
70
+
71
+ ## License
72
+
73
+ CC0 1.0 Universal — public domain. No rights reserved.
74
+
75
+ ## Citation
76
+
77
+ ```bibtex
78
+ @article{amgad2019structured,
79
+ title = {Structured crowdsourcing enables convolutional segmentation of histology images},
80
+ author = {Amgad, Mohamed and Elfandy, Habiba and Hussein, Hagar and others},
81
+ journal = {Bioinformatics},
82
+ volume = {35},
83
+ number = {18},
84
+ pages = {3461--3467},
85
+ year = {2019},
86
+ doi = {10.1093/bioinformatics/btz083}
87
+ }
88
+ ```