weillcornell: restructure the data card to the common layout

#62
weillcornell/README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
 
2
  license: cc-by-4.0
3
- pretty_name: OpenH-RF QUS Phantom Dataset
4
  task_categories:
5
  - image-to-image
6
  - feature-extraction
@@ -17,142 +18,105 @@ size_categories:
17
  - n<1K
18
  ---
19
 
20
- # OpenH-RF QUS Phantom Dataset
21
 
22
- Pre-beamformed RF channel data from three homogeneous tissue-mimicking
23
- phantoms. Each zea HDF5 acquisition is self-contained and includes raw RF,
24
- model-derived theoretical backscatter coefficient (BSC), direct per-frame
25
- Nakagami maps, and 20-frame pooled Nakagami references.
26
 
27
- ## OpenH-RF Release Inventory
28
 
29
- **Current OpenH-RF release:** 120 HDF5 files; 1.00 GB (1,002,700,800 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.
30
 
31
- ## Contributors
32
 
33
- Shangke Liu, Tipu Sultan, Cameron Hoerig, and Jonathan Mamou;
34
- Biomedical Ultrasound Research Laboratory (BURL), Weill Cornell Medicine.
35
 
36
- Contact: Shangke Liu, shl4035@med.cornell.edu
 
 
 
 
37
 
38
- ## Dataset Summary
39
 
40
- - Verasonics Vantage 256 and GE9LD linear array
41
- - 192 elements, 0.23 mm pitch, 5.2083 MHz center frequency
42
- - One normal-incidence plane wave per frame
43
- - 20.8333 MHz RF sampling; 1540 m/s sound-speed metadata
44
- - 3 phantoms x 2 operators x 20 probe placements x 20 frames
45
- - 120 acquisitions and 2400 frames
46
- - Phantom-only data; no human or animal subjects, clinical metadata, or PHI
47
- - No predefined train/validation/test split
48
 
49
- Keep all frames from one acquisition in the same split.
50
 
51
- ## Files
52
 
53
- ```text
54
- data/<scan_id>.hdf5 self-contained zea acquisitions
55
- reconstruct.py B-mode and QUS example
56
- pipeline.yaml zea reconstruction pipeline
57
- LICENSE CC BY 4.0 license
58
- ac1_15m_SK_pipeline.png reference zea reconstruction
59
- ```
60
 
61
- Scan IDs use `ac<number>_<phantom>_<operator>`, for example
62
- `ac1_15m_SK`. Phantom IDs are `15m`, `18m`, and `60m`; operator IDs are
63
- `SK` and `TP`; acquisition numbers run from 1 to 20.
64
 
65
- ## HDF5 Contents
66
 
67
- Each file follows zea 0.1.6 and contains one track. Raw RF is stored as `int16`
68
- ADC counts without demodulation, decimation, or resampling.
69
 
70
- | Field under `tracks/track_0/data/` | Shape | dtype | Unit | Meaning |
71
- |---|---|---|---|---|
72
- | `raw_data` | `(20,1,n_ax,192,1)` | `int16` | ADC counts | Raw RF input |
73
- | `theoretical_bsc/values` | `(20,z,x,157)` | `float32` | `m^-1 sr^-1` | Model-derived BSC target |
74
- | `nakagami_m_per_frame/values` | `(20,z,x)` | `float32` | `1` | Direct single-frame shape estimate |
75
- | `nakagami_omega_per_frame/values` | `(20,z,x)` | `float32` | `a.u.^2` | Direct single-frame spread estimate |
76
- | `nakagami_m_pooled/values` | `(20,z,x)` | `float32` | `1` | 20-frame pooled shape reference |
77
- | `nakagami_omega_pooled/values` | `(20,z,x)` | `float32` | `a.u.^2` | 20-frame pooled spread reference |
78
 
79
- The five QUS products are zea Map fields with `values`, Cartesian
80
- `coordinates` in `[x,y,z]` order and metres, `description`, `unit`, `min`, and
81
- `max`. The BSC field also contains 157 `labels` of the form
82
- `frequency_hz=<value>`, spanning 3.3162435-6.4900716 MHz.
83
 
84
- Map grids are `(z,x)=(26,35)` for `15m` and `18m`, and `(53,35)` for `60m`.
85
- The analysis windows are approximately 2.96 mm axial by 4.37 mm lateral with
86
- 75% overlap. Nakagami maps use normal-incidence delay-and-sum beamforming,
87
- Hann receive apodization, and intensity-domain maximum-likelihood fitting,
88
- with `omega = E[A^2]`.
89
 
90
- The theoretical BSC is a homogeneous phantom material property: each phantom
91
- has one curve, broadcast over space and all 20 frames. The pooled Nakagami maps
92
- are also repeated along the frame axis so every single-frame input has the same
93
- 20-frame reference. The pooled estimate includes the selected input frame.
94
 
95
- Metadata uses `metadata.subject.type="phantom"` and a phantom ID. Anatomical
96
- annotations and anatomical-view annotations are intentionally omitted.
97
- Plane-wave acquisition is recorded in the file description, and the linear
98
- array geometry is recorded in the probe fields.
 
99
 
100
- ## Suggested Tasks
101
 
102
- 1. Reconstruct B-mode from one frame of raw RF.
103
- 2. Predict the phantom's theoretical BSC curve from one RF frame. This is a
104
- material-model target, not a local experimentally estimated BSC curve.
105
- 3. Predict pooled Nakagami `m` or `omega` from one RF frame. Use the supplied
106
- direct per-frame map as the single-frame baseline.
107
 
108
- For Nakagami predictions, report MAE/RMSE and map correlation against the
109
- pooled reference. For BSC predictions, report the frequency range and unit and
110
- state whether evaluation uses linear BSC or a specified dB conversion.
111
 
112
- All QUS maps are public reference targets, not hidden competition labels.
113
 
114
- ## Quick Start
115
 
116
- For the current release, use an OpenH-RF environment with `zea==0.1.6` and a supported Keras backend:
117
 
118
- ```bash
119
- KERAS_BACKEND=jax python reconstruct.py \
120
- --input data/ac1_15m_SK.hdf5 \
121
- --output ac1_15m_SK_pipeline.png \
122
- --frame 0
123
- ```
124
 
125
- The script defines the pipeline in code, writes `pipeline.yaml`, saves the
126
- B-mode PNG, then prints the selected frame's RF shape, BSC band and unit, QUS
127
- map shapes, and direct per-frame-to-pooled Nakagami errors.
128
 
129
- ## Validation
 
 
130
 
131
- The original 120 HDF5 files passed zea 0.1.3 `File.validate()` and
132
- `File.validate_spec()`. Raw RF and embedded maps were checked for shape, dtype,
133
- finite values, coordinates, labels, min/max, and the documented frame-broadcast
134
- behavior. The original files used zea 0.1.3's default Blosc/Zstd+bitshuffle compression.
 
 
 
 
 
 
 
 
135
 
136
- ![Reference zea reconstruction of ac1_15m_SK frame 0](assets/ac1_15m_SK_pipeline.png)
137
 
138
- The reference uses frame 0 and the common 597 x 300 zea grid at approximately
139
- 3-25 mm depth.
140
 
141
- ## Limitations
142
 
143
- - Acquisition timestamps, PRF, explicit TGC curves, and emitted waveforms are
144
- unavailable; do not use these frames for calibrated temporal or flow analysis.
145
  - Repeated frames are strongly correlated.
146
- - BSC targets are model-derived references, not independent experimental BSC
147
- measurements; there are three unique phantom curves.
148
- - Pooled Nakagami maps are lower-variance statistical references, not
149
- independent physical ground truth.
150
- - Nakagami `omega` depends on gain, attenuation, beam sensitivity, and RF
151
- amplitude scale; it is not system-independent.
152
- - This release contains Verasonics data only.
153
-
154
- ## License
155
-
156
- CC BY 4.0. See `LICENSE`. Commercial and non-commercial reuse is permitted
157
- with attribution. The contributors confirm that these phantom data are cleared
158
- for release under CC BY 4.0.
 
1
  ---
2
+ name: weillcornell
3
  license: cc-by-4.0
4
+ pretty_name: "Weill Cornell QUS Phantom Dataset"
5
  task_categories:
6
  - image-to-image
7
  - feature-extraction
 
18
  - n<1K
19
  ---
20
 
21
+ # Weill Cornell QUS Phantom Dataset
22
 
23
+ ![Weill Cornell QUS phantom dataset: B-mode, pooled Nakagami maps, and theoretical BSC curves](assets/hero.png)
 
 
 
24
 
25
+ *B-mode (frame 0) and 20-frame pooled Nakagami maps from [`data/ac10_15m_SK.hdf5`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/weillcornell/data/ac10_15m_SK.hdf5). The BSC curves are material-model references for the three phantoms; pooled Nakagami maps are statistical references.*
26
 
27
+ ## Dataset Description
28
 
29
+ Pre-beamformed RF channel data from three homogeneous tissue-mimicking phantoms, acquired for quantitative ultrasound (QUS). Next to the raw RF, each acquisition carries the phantom's model-derived theoretical backscatter coefficient (BSC), direct per-frame Nakagami maps, and 20-frame pooled Nakagami references, so single-frame QUS estimators can be trained and evaluated against targets stored in the same file.
30
 
31
+ ## Dataset Contributor(s)
 
32
 
33
+ - Shangke Liu <shl4035@med.cornell.edu> (contact)
34
+ - Tipu Sultan
35
+ - Cameron Hoerig
36
+ - Jonathan Mamou
37
+ - Biomedical Ultrasound Research Laboratory (BURL), Weill Cornell Medicine
38
 
39
+ ## Dataset Creation Date
40
 
41
+ Not specified by the contributors.
 
 
 
 
 
 
 
42
 
43
+ ## License / Terms of Use
44
 
45
+ [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.
46
 
47
+ ## Intended Usage
 
 
 
 
 
 
48
 
49
+ 1. Reconstruct B-mode from one frame of raw RF.
50
+ 2. Predict the phantom's theoretical BSC curve from one RF frame. This is a material-model target, not a local experimentally estimated BSC curve.
51
+ 3. Predict pooled Nakagami `m` or `omega` from one RF frame. Use the supplied direct per-frame map as the single-frame baseline.
52
 
53
+ For Nakagami predictions, report MAE/RMSE and map correlation against the pooled reference. For BSC predictions, report the frequency range and unit and state whether evaluation uses linear BSC or a specified dB conversion.
54
 
55
+ ## Dataset Characterization
 
56
 
57
+ - **Data collection method:** phantom — three homogeneous tissue-mimicking phantoms (`15m`, `18m`, `60m`), each scanned by two operators (`SK`, `TP`) at 20 probe placements
58
+ - **Labeling method:** derived — BSC from the phantom material model; Nakagami maps estimated from the RF
59
+ - **Acquisition system:** Verasonics Vantage 256, GE9LD linear array, 192 elements, 0.23 mm pitch, 5.2083 MHz center frequency, 20.8333 MHz RF sampling
60
+ - **Transmit sequence:** one normal-incidence plane wave per frame; 1540 m/s sound speed
 
 
 
 
61
 
62
+ ## Processing the Dataset
 
 
 
63
 
64
+ The acquisitions can be processed with the `pipeline.yaml` definition in this folder and the [zea library](https://github.com/tue-bmd/zea).
 
 
 
 
65
 
66
+ `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:
 
 
 
67
 
68
+ ```bash
69
+ zea process \
70
+ --dataset hf://nvidia/OpenH-RF/weillcornell/data/ac10_15m_SK.hdf5 \
71
+ --config hf://nvidia/OpenH-RF/weillcornell/pipeline.yaml
72
+ ```
73
 
74
+ Alternatively, you can use the `reconstruct.py` [script](https://github.com/open-h/OpenH-RF/blob/main/datasets/weillcornell/reconstruct.py) as provided in the [OpenH-RF GitHub repository](https://github.com/open-h/OpenH-RF). Besides the B-mode, it prints the selected frame's BSC band and unit, the QUS map shapes, and the error of the direct per-frame Nakagami maps against the pooled references.
75
 
76
+ ## Dataset Format
 
 
 
 
77
 
78
+ [zea v0.1.6](https://github.com/tue-bmd/zea)
 
 
79
 
80
+ Each file contains one track. Raw RF is stored as `int16` ADC counts without demodulation, decimation, or resampling. The five QUS targets are zea Map fields next to `raw_data`, with Cartesian coordinates in metres. The BSC field has 157 frequency `labels` (`frequency_hz=<value>`) spanning 3.3162435-6.4900716 MHz.
81
 
82
+ Map grids are `(z,x)=(26,35)` for `15m` and `18m`, and `(53,35)` for `60m`. The analysis windows are approximately 2.96 mm axial by 4.37 mm lateral with 75% overlap. Nakagami maps use normal-incidence delay-and-sum beamforming, Hann receive apodization, and intensity-domain maximum-likelihood fitting, with `omega = E[A^2]`.
83
 
84
+ The theoretical BSC is a homogeneous phantom material property: each phantom has one curve, broadcast over space and all 20 frames. The pooled Nakagami maps are also repeated along the frame axis so every single-frame input has the same 20-frame reference. The pooled estimate includes the selected input frame.
85
 
86
+ ## Dataset Quantification
 
 
 
 
 
87
 
88
+ **Current OpenH-RF release:** 120 HDF5 files; 1.00 GB (1,002,700,800 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.
 
 
89
 
90
+ - **Acquisitions / frames:** 120 acquisitions (3 phantoms x 2 operators x 20 probe placements, one HDF5 file each), 20 frames per acquisition — 2,400 frames total
91
+ - **File naming:** `data/ac<n>_<phantom>_<operator>.hdf5`, with `n` from 1 to 20, e.g. `ac10_15m_SK.hdf5`
92
+ - **Splits:** no predefined train/validation/test split. Keep all frames from one acquisition in the same split.
93
 
94
+ | Field under `tracks/track_0/data/` | Shape | dtype | Unit | Meaning |
95
+ |---|---|---|---|---|
96
+ | `raw_data` | `(20,1,n_ax,192,1)` | `int16` | ADC counts | Raw RF input |
97
+ | `theoretical_bsc/values` | `(20,z,x,157)` | `float32` | `m^-1 sr^-1` | Model-derived BSC target |
98
+ | `nakagami_m_per_frame/values` | `(20,z,x)` | `float32` | `1` | Direct single-frame shape estimate |
99
+ | `nakagami_omega_per_frame/values` | `(20,z,x)` | `float32` | `a.u.^2` | Direct single-frame spread estimate |
100
+ | `nakagami_m_pooled/values` | `(20,z,x)` | `float32` | `1` | 20-frame pooled shape reference |
101
+ | `nakagami_omega_pooled/values` | `(20,z,x)` | `float32` | `a.u.^2` | 20-frame pooled spread reference |
102
+
103
+ ## Subject Metadata
104
+
105
+ No human or animal subjects. `metadata/subject/type` is `phantom` and `metadata/subject/id` names the phantom (`phantom_15m`, `phantom_18m`, `phantom_60m`).
106
 
107
+ ## Data Validation
108
 
109
+ A `zea.Pipeline` (cast → demodulate → DAS beamforming → envelope detection → normalization → log compression) is defined in `pipeline.yaml`, on a common 301 x 600 grid (isotropic ~0.073 mm pixels) for every acquisition. Its output for frame 0 of `ac10_15m_SK` is shown at the top of this card. Raw RF and the embedded maps were checked for shape, dtype, finite values, coordinates, labels, min/max, and the frame-broadcast behavior described above.
 
110
 
111
+ ## Known Issues
112
 
113
+ - Acquisition timestamps, PRF, explicit TGC curves, and emitted waveforms are unavailable; do not use these frames for calibrated temporal or flow analysis.
 
114
  - Repeated frames are strongly correlated.
115
+ - BSC targets are model-derived references, not independent experimental BSC measurements; there are three unique phantom curves.
116
+ - Pooled Nakagami maps are lower-variance statistical references, not independent physical ground truth.
117
+ - Nakagami `omega` depends on gain, attenuation, beam sensitivity, and RF amplitude scale; it is not system-independent.
118
+
119
+ ## Ethical Considerations
120
+
121
+ Phantom-only data; no human or animal subjects, clinical metadata, or PHI. The contributors confirm that these phantom data are cleared for release under CC BY 4.0.
122
+
 
 
 
 
 
weillcornell/assets/{ac1_15m_SK_pipeline.png → ac10_15m_SK_pipeline.png} RENAMED
File without changes
weillcornell/assets/hero.png ADDED

Git LFS Details

  • SHA256: fff57e9a99f8d6c7c6a8374438839b47471f8727822dc85b73a342cae817207e
  • Pointer size: 131 Bytes
  • Size of remote file: 981 kB
weillcornell/assets/main.png ADDED

Git LFS Details

  • SHA256: e32556b12842e2a984cabb941b8c3ed95f47ba972590006cc0935ebac0c49d68
  • Pointer size: 132 Bytes
  • Size of remote file: 1.04 MB
weillcornell/pipeline.yaml CHANGED
@@ -13,8 +13,8 @@ pipeline:
13
  - 1.0
14
  - log_compress
15
  parameters:
16
- grid_size_x: 300
17
- grid_size_z: 597
18
  xlims:
19
  - -0.021965
20
  - 0.021965
 
13
  - 1.0
14
  - log_compress
15
  parameters:
16
+ grid_size_x: 600
17
+ grid_size_z: 301
18
  xlims:
19
  - -0.021965
20
  - 0.021965