Parth1503 commited on
Commit
bc1f4cd
·
verified ·
1 Parent(s): d98b518

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ task_categories:
4
+ - image-segmentation
5
+ tags:
6
+ - medical
7
+ - x-ray
8
+ - pelvis
9
+ - fracture
10
+ - synthetic
11
+ - multi-label
12
+ pretty_name: 'PENGWIN Task 2: Pelvic Fragment Segmentation on Synthetic X-ray Images'
13
+ ---
14
+
15
+ # PENGWIN Task 2: Pelvic Fragment Segmentation on Synthetic X-ray Images
16
+
17
+ Mirror of the **training split** of Task 2 of the MICCAI 2024 PENGWIN challenge
18
+ (https://pengwin.grand-challenge.org/), from the official Zenodo record
19
+ [10913196](https://zenodo.org/records/10913196) (`train.zip`, md5 `9c90215dae54d8f494a85cfc7b19bc96`).
20
+
21
+ **These are SYNTHETIC X-rays, not real radiographs**: DeepDRR renders of the 100 PENGWIN
22
+ Task 1 training CTs simulating intraoperative C-arm fluoroscopy, 500 random poses per CT
23
+ = **50,000 image/mask pairs**. Projections `0000-0249` show clean anatomy; `0250-0499`
24
+ additionally contain up to 10 simulated K-wires/orthopaedic screws (`has_hardware`).
25
+ The challenge validation (8,000) and test (600) X-rays were never publicly released.
26
+ No real radiographs exist anywhere in PENGWIN 2024. (Zenodo's description writes the
27
+ hardware range as `0250-0500`; indices verifiably end at `0499`.)
28
+
29
+ ## Columns
30
+
31
+ | Column | Content |
32
+ |---|---|
33
+ | `image_display` | uint8 JPEG, official `visualize_drr` rendering (neg-log -> CLAHE -> invert). Browsing aid, lossy. |
34
+ | `overlay` | RGB JPEG, per-fragment color fill + contour on `image_display`. Browsing aid, lossy. |
35
+ | `image` | **Raw float32 448x448 DRR** (lossless deflate TIFF, pixel-identical to Zenodo). Intensities are pre-neg-log; apply `-log` + windowing before use (see below). |
36
+ | `mask` | **uint32 bit-encoded multi-label segmentation** (lossless deflate TIFF; stored int32, values < 2^31, pixel-identical to Zenodo). NOT a plain label map. |
37
+ | `image_id` | `{case:03d}_{projection:04d}` |
38
+ | `case_id` | Source CT case 1-100 == the same patient's `PENGWIN_Task1` volume (see Overlap) |
39
+ | `projection_index` | 0-499 |
40
+ | `has_hardware` | `projection_index >= 250` |
41
+ | `fragment_labels` | Fragment labels present (set bit positions 1-30) |
42
+ | `n_fragments`, `n_sa`, `n_li`, `n_ri` | Fragment counts (total / sacrum / left hipbone / right hipbone) |
43
+
44
+ ## Mask encoding
45
+
46
+ A pixel's uint32 value has bit `b = 10*(category-1) + fragment` set iff that fragment
47
+ projects onto the pixel (categories: 1 sacrum SA, 2 left hipbone LI, 3 right hipbone RI;
48
+ fragments 1-10, fragment 1 = main). **Overlapping fragments are the norm** (X-ray
49
+ projection superimposes bone), so decode to per-fragment binary masks - do not treat the
50
+ value as a class ID. Bit 0 is never set. Bit `b` corresponds exactly to label value `b`
51
+ in `MedOtter/PENGWIN_Task1`.
52
+
53
+ ```python
54
+ import numpy as np
55
+ masks = [((seg >> b) & 1).astype(bool) for b in range(1, 31) if ((seg >> b) & 1).any()]
56
+ ```
57
+
58
+ The official `pengwin_utils.py` (this repo's root, from the Zenodo record) provides
59
+ `seg_to_masks` / `masks_to_seg`, the DRR renderer, and the challenge augmentation
60
+ pipeline. Official deterministic test-time input: `neglog` then quantile window
61
+ `(0.01, 0.95)` (see `build_augmentation(train=False)`).
62
+
63
+ ## Overlap warning
64
+
65
+ Derived from **exactly the 100 CTs in `MedOtter/PENGWIN_Task1`** (same case numbering,
66
+ same patients) - never treat the two as independent benchmarks. Task 1 in turn likely
67
+ shares patients with CTPelvic1K's CLINIC subset (no ID crosswalk exists), and its GT was
68
+ seeded by a CTPelvic1K-pretrained nnU-Net. Do not confuse with the separate PENGWIN 2026
69
+ challenge, whose "Task 2" is a different task on different data.
70
+
71
+ ## License
72
+
73
+ The Zenodo record metadata declares CC BY 4.0, while the challenge summary paper's Data
74
+ Availability statement says the X-ray training set is released under **CC BY-NC-SA** - the
75
+ same record-vs-paper conflict as PENGWIN Task 1. As with our Task 1 mirror, this mirror
76
+ adopts the stricter author-stated **CC BY-NC-SA 4.0**.
77
+
78
+ ## Citation
79
+
80
+ Sang Y. et al., "Benchmark of Segmentation Techniques for Pelvic Fracture in CT and
81
+ X-Ray: Summary of the PENGWIN 2024 Challenge," IEEE TMI, doi:10.1109/TMI.2025.3650126
82
+ (arXiv:2504.02382). Data: doi:10.5281/zenodo.10913196. Lineage: Liu Y. et al., MICCAI
83
+ 2023, doi:10.1007/978-3-031-43996-4_30.