Angelou0516 commited on
Commit
62f4f00
·
verified ·
1 Parent(s): 9ab4de4

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +108 -33
README.md CHANGED
@@ -1,35 +1,110 @@
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: split
11
- dtype: string
12
- - name: has_polyp
13
- dtype: bool
14
- splits:
15
- - name: train
16
- num_bytes: 1152010120
17
- num_examples: 799
18
- - name: val
19
- num_bytes: 142411134
20
- num_examples: 100
21
- - name: test
22
- num_bytes: 144413008
23
- num_examples: 100
24
- download_size: 1438040809
25
- dataset_size: 1438834262
26
- configs:
27
- - config_name: default
28
- data_files:
29
- - split: train
30
- path: data/train-*
31
- - split: val
32
- path: data/val-*
33
- - split: test
34
- path: data/test-*
35
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ task_categories:
4
+ - image-segmentation
5
+ tags:
6
+ - medical
7
+ - endoscopy
8
+ - colonoscopy
9
+ - polyp
10
+ - segmentation
11
+ - bkai
12
+ size_categories:
13
+ - n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ---
15
+
16
+ # BKAI-IGH NeoPolyp (binary, MedCLIPSeg mirror)
17
+
18
+ Re-hosted mirror of the **BKAI-IGH NeoPolyp "Small"** subset (Lan et al.,
19
+ 2021), originally released through the
20
+ [BKAI-IGH NeoPolyp Kaggle competition](https://www.kaggle.com/c/bkai-igh-neopolyp/),
21
+ intended for use with [EasyMedSeg](https://github.com/).
22
+
23
+ This mirror is rebuilt from the
24
+ [`TahaKoleilat/MedCLIPSeg`](https://huggingface.co/datasets/TahaKoleilat/MedCLIPSeg)
25
+ HF dataset's `BKAI.zip` (the only freely-fetchable HF rehost we found that
26
+ ships the masks). We chose this source because the canonical Kaggle URL
27
+ requires Kaggle competition-acceptance + an API token, which is awkward
28
+ for downstream automation.
29
+
30
+ ## Composition
31
+
32
+ | Split | Images | With polyp |
33
+ |---------|-------:|-----------:|
34
+ | train | 799 | (computed) |
35
+ | val | 100 | (computed) |
36
+ | test | 100 | (computed) |
37
+ | **All** | **999**| |
38
+
39
+ Image dimensions: variable (~1280 × 950–1000 px), heterogeneous endoscopy
40
+ frames in JPEG. The original Kaggle release contains 1,000 train (with
41
+ masks) + 200 test (held-out masks); this mirror uses the 1,000 train pool
42
+ re-split into 799/100/100. The 200-image canonical Kaggle test split with
43
+ no public masks is **not** included.
44
+
45
+ ## Mask caveat — binary only
46
+
47
+ The upstream MedCLIPSeg mirror saved the original
48
+ 3-channel RGB-coded semantic masks as **JPEG-compressed grayscale**.
49
+ JPEG compression introduces boundary noise (we observed pixel values
50
+ 1–40 and 211–254 in addition to 0/255), and JPEG-on-label-map is
51
+ inherently lossy.
52
+
53
+ This mirror **thresholds at > 127** to recover a clean binary
54
+ {0, 255} mask. **The 3-class
55
+ (background / non-neoplastic polyp / neoplastic polyp) distinction in
56
+ the original Kaggle PNGs is NOT recoverable from this source.**
57
+ Use this mirror for **binary polyp segmentation** only. Pull the
58
+ canonical Kaggle data directly if you need the 3-class formulation
59
+ required to reproduce the NeoUNet / BlazeNeo benchmarks.
60
+
61
+ ## Schema
62
+
63
+ | Column | Type | Description |
64
+ |-------------|----------|---------------------------------------------|
65
+ | `image` | `Image` | Source RGB frame (PNG bytes, variable size) |
66
+ | `mask` | `Image` | Binary mask (`L` mode, 0/255) |
67
+ | `image_id` | `string` | 32-char hex stem from the source filename |
68
+ | `split` | `string` | `train` / `val` / `test` |
69
+ | `has_polyp` | `bool` | `True` iff the mask contains any foreground |
70
+
71
+ ## License
72
+
73
+ The original Kaggle release does not declare a public license; usage is
74
+ implicitly governed by Kaggle competition rules ("research / academic use").
75
+ The intermediate `TahaKoleilat/MedCLIPSeg` mirror redistributes under
76
+ **CC-BY-NC-4.0** (mirror-imposed, not author-confirmed). Treat as
77
+ **research / non-commercial only** until BKAI/IGH publishes a formal
78
+ license.
79
+
80
+ ## Citation
81
+
82
+ ```bibtex
83
+ @inproceedings{lan2021neounet,
84
+ title = {{NeoUNet}: Towards Accurate Colon Polyp Segmentation
85
+ and Neoplasm Detection},
86
+ author = {Lan, Phan Ngoc and An, Nguyen Sy and Hang, Dao Viet
87
+ and Long, Dao Van and Trung, Tran Quang
88
+ and Thuy, Nguyen Thi and Sang, Dinh Viet},
89
+ booktitle = {Advances in Visual Computing -- ISVC 2021},
90
+ series = {Lecture Notes in Computer Science},
91
+ volume = {13018},
92
+ pages = {15--28},
93
+ publisher = {Springer},
94
+ year = {2021},
95
+ doi = {10.1007/978-3-030-90436-4_2}
96
+ }
97
+
98
+ @article{an2022blazeneo,
99
+ title = {{BlazeNeo}: Blazing Fast Polyp Segmentation
100
+ and Neoplasm Detection},
101
+ author = {An, Nguyen Sy and Lan, Phan Ngoc and Hang, Dao Viet
102
+ and Long, Dao Van and Trung, Tran Quang
103
+ and Thuy, Nguyen Thi and Sang, Dinh Viet},
104
+ journal = {IEEE Access},
105
+ volume = {10},
106
+ pages = {43669--43684},
107
+ year = {2022},
108
+ doi = {10.1109/ACCESS.2022.3168693}
109
+ }
110
+ ```