kaist-snubh-barreleye: sync pipeline.yaml, data card and main image with GitHub

#9
kaist-snubh-barreleye/README.md CHANGED
@@ -1,17 +1,42 @@
1
- # Breast OpenH-RF
2
-
3
- *An in-vivo human breast plane-wave raw-channel ultrasound sub-dataset for the OpenH-RF foundation initiative.*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
  ## Dataset Description
6
 
7
- Breast OpenH-RF contains pre-beamformed RF channel-capture data from in-vivo breast ultrasound exams performed on a clinical, FDA-cleared scanner. Every acquisition is a 9-angle plane-wave compounding sequence with a 192-element linear array, paired with a B-mode reference image and a clinically verified diagnostic label. The intended research contribution is two-fold: (1) provide a clinically-grounded benchmark for **sound-speed and attenuation imaging** (Section 6.3 of the RFP) on real human breast tissue with biopsy-proven outcomes and (2) supply a high-quality plane-wave compounding corpus for **generalized reconstruction** research (Section 6.1: super-resolution, aberration correction, adaptive transmit design). Pathology and BI-RADS labels additionally enable benchmarking of **ultrasound interpretation** (Section 6.5).
8
 
9
  ## Dataset Contributor(s)
10
 
11
- - **Lead PI:** Prof. Hyeon-Min Bae — KAIST, School of Electrical Engineering
12
- - **Co-investigators (KAIST / Barreleye Inc.):** Seok-Hwan Oh, Myeong-Gee Kim, Young-Min Kim, HyeonJik Lee
13
- - **Clinical co-investigator:** Hyuk-sool Kwon — Seoul National University Bundang Hospital (SNUBH)
14
- - **Primary point of contact:** Seok-Hwan Oh (Barreleye Inc., Korea) — shoh@barreleye.co.kr
 
 
15
 
16
  ## Dataset Creation Date
17
 
@@ -19,7 +44,7 @@ Breast OpenH-RF contains pre-beamformed RF channel-capture data from in-vivo bre
19
 
20
  ## License / Terms of Use
21
 
22
- **CC BY 4.0** (see [`LICENCE`](LICENCE)).
23
 
24
  ## Intended Usage
25
 
@@ -37,8 +62,28 @@ Quantitative imaging (sound-speed / attenuation estimation), generalized reconst
37
  - ADC sampling: **62.5 MHz**, exported as float32.
38
  - Transmit: 9-angle plane-wave compounding at **[-15, -10, -5, -2.5, 0, +2.5, +5, +10, +15]°**.
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  ## Dataset Format
41
 
 
 
42
  All data is delivered in the **zea HDF5** format (OpenH-RF spec). One HDF5 file per acquisition; one image track per file.
43
 
44
  ```
@@ -52,7 +97,6 @@ hdf5/
52
  - **Channel reordering** of the scanner's raw export into the OpenH-RF convention `(n_frames=1, n_tx=9, n_ax=Ns, n_el=192, n_ch=1)`.
53
  - No demodulation, decimation, band-pass filtering, or value clipping — `raw_data` is bit-faithful to the scanner export.
54
 
55
-
56
  ## Dataset Quantification
57
 
58
  **Current OpenH-RF release:** 70 HDF5 files; 802.10 MB (802,095,104 bytes) stored; root `zea_version` **0.1.6**. Sizes include all HDF5 contents and use decimal units (MB = 10^6 bytes, GB = 10^9 bytes, TB = 10^12 bytes), not decoded-array memory or original-source download sizes.
@@ -91,7 +135,7 @@ Per-acquisition feature table (one row per HDF5):
91
 
92
  ## Subject Metadata
93
 
94
- Per-file metadata follows the **HIPAA Safe-Harbor** approach: only **de-identified subject ID, sex, anatomy, binary label, BI-RADS, pathology subtype** are stored. Free-text identifiers, exact age, exact lesion size, and exam dates are deliberately **omitted from the HDF5 files**.
95
 
96
  - **Number of subjects:** 35
97
  - **Sex distribution:** 100% female (35/35)
@@ -142,20 +186,15 @@ Plane-wave transmit beamforming is used, with all 192 elements activated on each
142
 
143
  ## Data Validation
144
 
145
- A reference reconstruction is provided in [`reconstruct.py`](reconstruct.py). It defines the DAS pipeline directly in code (via zea ops) and applies, to the raw RF channel data:
146
 
147
  ```
148
  cast(float32) → band-pass filter (1–12 MHz) → demodulate → DAS beamform → envelope detect → normalize → log compression
149
  ```
150
 
151
- The 1–12 MHz band-pass rejects a persistent sub-MHz band before coherent beamforming, which allows to produce a clean B-mode directly from the raw RF. Run it to reproduce a reference B-mode from any delivered file:
152
-
153
- ```bash
154
- python reconstruct.py --input hdf5/original/S01_D1.hdf5 # single file
155
- python reconstruct.py --compare S01_D1 # DAS vs. scanner reference B-mode
156
- ```
157
 
158
- `python reconstruct.py --save-yaml` exports the pipeline as `pipeline.yaml` if a shareable recipe is needed (the script itself does not load it).
159
 
160
  ## Known Issues
161
 
@@ -167,5 +206,5 @@ python reconstruct.py --compare S01_D1 # DAS vs. scanner re
167
 
168
  - **Consent status:** All subjects gave informed consent under SNUBH IRB protocol **B-2401-876-301**.
169
  - **De-identification:** No direct identifiers (name, full exam date, free-text clinical notes) are stored. Age is decade-binned at the dataset level (not stored per file); exact lesion size and exam dates are not stored per file; only the acquisition year (2024) is reported. Subject IDs are coded (`S01`…`S35`).
170
- - **IRB approval:** SNUBH IRB **B-2401-876-301**
171
  - **Animal welfare (ARRIVE 2.0):** Not applicable — human-only dataset.
 
1
+ ---
2
+ name: kaist-snubh-barreleye
3
+ pretty_name: "KAIST–SNUBH In-vivo Breast Plane-Wave RF"
4
+ license: cc-by-4.0
5
+ task_categories:
6
+ - image-classification
7
+ - other
8
+ tags:
9
+ - ultrasound
10
+ - rf
11
+ - openh-rf
12
+ - breast
13
+ - in-vivo
14
+ - plane-wave
15
+ - sound-speed-estimation
16
+ language:
17
+ - en
18
+ size_categories:
19
+ - n<1K
20
+ ---
21
+
22
+ # KAIST–SNUBH In-vivo Breast Plane-Wave RF
23
+
24
+ ![DAS B-mode reconstruction of a biopsy-proven invasive ductal carcinoma (S01_D1)](assets/main.png)
25
+
26
+ *Delay-and-sum reconstruction of a biopsy-proven invasive ductal carcinoma, [`data/S01_D1.hdf5`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/kaist-snubh-barreleye/data/S01_D1.hdf5).*
27
 
28
  ## Dataset Description
29
 
30
+ This dataset contains pre-beamformed RF channel-capture data from in-vivo breast ultrasound exams performed on a clinical, FDA-cleared scanner. Every acquisition is a 9-angle plane-wave compounding sequence with a 192-element linear array, paired with a B-mode reference image and a clinically verified diagnostic label. The intended research contribution is two-fold: (1) provide a clinically-grounded benchmark for **sound-speed and attenuation imaging** (Section 6.3 of the RFP) on real human breast tissue with biopsy-proven outcomes and (2) supply a high-quality plane-wave compounding corpus for **generalized reconstruction** research (Section 6.1: super-resolution, aberration correction, adaptive transmit design). Pathology and BI-RADS labels additionally enable benchmarking of **ultrasound interpretation** (Section 6.5).
31
 
32
  ## Dataset Contributor(s)
33
 
34
+ - Hyeon-Min Bae (lead PI; KAIST, School of Electrical Engineering)
35
+ - Seok-Hwan Oh <shoh@barreleye.co.kr> (primary point of contact; KAIST / Barreleye Inc.)
36
+ - Myeong-Gee Kim (KAIST / Barreleye Inc.)
37
+ - Young-Min Kim (KAIST / Barreleye Inc.)
38
+ - HyeonJik Lee (KAIST / Barreleye Inc.)
39
+ - Hyuk-sool Kwon (clinical co-investigator; Seoul National University Bundang Hospital, SNUBH)
40
 
41
  ## Dataset Creation Date
42
 
 
44
 
45
  ## License / Terms of Use
46
 
47
+ [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/legalcode.en). Retain attribution and identify modifications when reusing the data.
48
 
49
  ## Intended Usage
50
 
 
62
  - ADC sampling: **62.5 MHz**, exported as float32.
63
  - Transmit: 9-angle plane-wave compounding at **[-15, -10, -5, -2.5, 0, +2.5, +5, +10, +15]°**.
64
 
65
+ ## Processing the Dataset
66
+
67
+ The acquisitions can be processed with the `pipeline.yaml` definition in this folder and the [zea library](https://github.com/tue-bmd/zea).
68
+
69
+ `zea` streams the data from the Hugging Face Hub and processes it according to the pipeline. You can try it out with the following command:
70
+
71
+ ```bash
72
+ zea process \
73
+ --dataset hf://nvidia/OpenH-RF/kaist-snubh-barreleye/data/S01_D1.hdf5 \
74
+ --config hf://nvidia/OpenH-RF/kaist-snubh-barreleye/pipeline.yaml \
75
+ --n-frames 1 \
76
+ --save-as png
77
+ ```
78
+
79
+ Alternatively, you can use the `reconstruct.py` [script](https://github.com/open-h/OpenH-RF/blob/main/datasets/kaist-snubh-barreleye/reconstruct.py) as provided in the [OpenH-RF GitHub repository](https://github.com/open-h/OpenH-RF).
80
+
81
+ This is a single-frame acquisition, so `zea process` outputs a `.png` rather than a `.gif` — this requires a `zea` build newer than the currently pinned 0.1.6 (single-frame PNG output landed after that release).
82
+
83
  ## Dataset Format
84
 
85
+ [zea v0.1.6](https://github.com/tue-bmd/zea)
86
+
87
  All data is delivered in the **zea HDF5** format (OpenH-RF spec). One HDF5 file per acquisition; one image track per file.
88
 
89
  ```
 
97
  - **Channel reordering** of the scanner's raw export into the OpenH-RF convention `(n_frames=1, n_tx=9, n_ax=Ns, n_el=192, n_ch=1)`.
98
  - No demodulation, decimation, band-pass filtering, or value clipping — `raw_data` is bit-faithful to the scanner export.
99
 
 
100
  ## Dataset Quantification
101
 
102
  **Current OpenH-RF release:** 70 HDF5 files; 802.10 MB (802,095,104 bytes) stored; root `zea_version` **0.1.6**. Sizes include all HDF5 contents and use decimal units (MB = 10^6 bytes, GB = 10^9 bytes, TB = 10^12 bytes), not decoded-array memory or original-source download sizes.
 
135
 
136
  ## Subject Metadata
137
 
138
+ Per-file metadata follows the **HIPAA Safe-Harbor** approach: only **de-identified subject ID, sex, anatomy, binary label, BI-RADS, pathology subtype** are stored. Free-text identifiers, exact age, exact lesion size, and exam dates are deliberately **omitted from the HDF5 files**.
139
 
140
  - **Number of subjects:** 35
141
  - **Sex distribution:** 100% female (35/35)
 
186
 
187
  ## Data Validation
188
 
189
+ `reconstruct.py` reconstructs a B-mode from `raw_data` using the `zea.Pipeline` defined in [`pipeline.yaml`](pipeline.yaml):
190
 
191
  ```
192
  cast(float32) → band-pass filter (1–12 MHz) → demodulate → DAS beamform → envelope detect → normalize → log compression
193
  ```
194
 
195
+ The 1–12 MHz band-pass rejects a persistent sub-MHz band before coherent beamforming, which allows it to produce a clean B-mode directly from the raw RF.
 
 
 
 
 
196
 
197
+ Reference output: `main.png` — `data/S01_D1.hdf5` (biopsy-proven invasive ductal carcinoma), shown above.
198
 
199
  ## Known Issues
200
 
 
206
 
207
  - **Consent status:** All subjects gave informed consent under SNUBH IRB protocol **B-2401-876-301**.
208
  - **De-identification:** No direct identifiers (name, full exam date, free-text clinical notes) are stored. Age is decade-binned at the dataset level (not stored per file); exact lesion size and exam dates are not stored per file; only the acquisition year (2024) is reported. Subject IDs are coded (`S01`…`S35`).
209
+ - **IRB approval:** SNUBH IRB **B-2401-876-301**
210
  - **Animal welfare (ARRIVE 2.0):** Not applicable — human-only dataset.
kaist-snubh-barreleye/assets/main.png ADDED

Git LFS Details

  • SHA256: d144c0704e3ab610b2adcf6ab190dfc17aafea2ed40fbc5396a2cdf1b526fe5a
  • Pointer size: 131 Bytes
  • Size of remote file: 553 kB
kaist-snubh-barreleye/pipeline.yaml CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  pipeline:
2
  operations:
3
  - name: keras.ops.cast
 
1
+ parameters:
2
+ xlims:
3
+ - -0.0191
4
+ - 0.0191
5
+ zlims:
6
+ - 0.002
7
+ - 0.04
8
+ dynamic_range:
9
+ - -50
10
+ - 0
11
+ apply_lens_correction: false
12
+ f_number: 1.5
13
  pipeline:
14
  operations:
15
  - name: keras.ops.cast