concordia: sync data card and pipeline grid parameters with GitHub

#31
concordia/README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
- pretty_name: "OpenH-RF — SynthUS-FSA"
 
3
  license: cc-by-4.0
4
  task_categories:
5
  - image-to-image
@@ -16,36 +17,24 @@ size_categories:
16
  - 1K<n<10K
17
  ---
18
 
 
 
 
 
 
 
19
  ## Dataset Description
20
 
21
- SynthUS-FSA is a fully synthetic corpus of pre-beamformed full-synthetic-aperture (FSA)
22
- ultrasound channel-data captures, generated with the Field II simulator to model a
23
- 128-element L11-5v linear array. Each capture fires one transmit event per element
24
- (128 transmits, receive on all 128 elements), so every element-to-element combination
25
- is retained and any receive/transmit beamforming scheme (focused B-mode, multi-angle
26
- plane-wave compounding, diverging-wave, adaptive/compressive schemes) can be
27
- retrospectively synthesized from the same channel data. The dataset is packaged in
28
- [zea](https://zea.readthedocs.io) format — the OpenH-RF reference Python library for
29
- ultrasound file I/O and beamforming — which every `.hdf5` file and `reconstruct.py`
30
- depend on. The dataset targets three
31
- OpenH-RF task categories: (1) generalized reconstruction (FSA channel data paired with
32
- a synthesized full synthetic-aperture B-mode as ground truth), (2) compressed sensing /
33
- adaptive transmit (retrospective sub-selection of the 128 transmit events — derived
34
- from the same captures, no additional files), and (3) segmentation (binary
35
- echogenicity masks on a subset of phantoms). All data is simulated — no clinical,
36
- phantom-hardware, or animal acquisition is involved.
37
-
38
- A similar data-generation approach was used in Sharifzadeh et al. (2024). Users of
39
- this dataset are kindly requested to cite that work:
40
-
41
- > M. Sharifzadeh, S. Goudarzi, A. Tang, H. Benali, and H. Rivaz, "Mitigating
42
- > aberration-induced noise: A deep learning-based aberration-to-aberration approach,"
43
- > *IEEE Transactions on Medical Imaging*, vol. 43, no. 12, pp. 4380–4392, 2024.
44
 
45
  ## Dataset Contributor(s)
46
 
47
- Mostafa Sharifzadeh (mostafa.sharifzadeh@mail.concordia.ca) and Hassan Rivaz
48
- (hassan.rivaz@concordia.ca), IMPACT Lab, Concordia University.
49
 
50
  ## Dataset Creation Date
51
 
@@ -53,127 +42,68 @@ Mostafa Sharifzadeh (mostafa.sharifzadeh@mail.concordia.ca) and Hassan Rivaz
53
 
54
  ## License / Terms of Use
55
 
56
- CC BY 4.0.
57
-
58
- - **Simulated channel data, phantom parameters, and reconstruction/segmentation
59
- labels** are generated by the contributors (Field II simulation outputs) and
60
- released under CC BY 4.0.
61
- - **Segmentation mask shapes** (anechoic/hypoechoic/hyperechoic classes, 750
62
- captures) are sourced from [Open Images V7](https://storage.googleapis.com/openimages/web/factsfigures_v7.html)'s
63
- animal-class segmentation annotations (Google LLC). Only the binary mask is used — never the underlying source photograph. Open Images V7
64
- licenses its annotations, including segmentation masks, under CC BY 4.0; the
65
- source photographs themselves carry a separate CC BY 2.0 license but are not
66
- used anywhere in this dataset.
67
- - **Diverse-echogenicity amplitude-weight maps** (1,000 captures) are photographs
68
- from Wikimedia Commons, restricted to the `CC-BY-4.0` category and verified
69
- per-image against each file's `CC BY 4.0` license field before acceptance.
70
- `wikimedia_commons_metadata.csv`, at the dataset root, credits each one: a row
71
- per capture, keyed by `DatasetFile` for `image_0751.hdf5` through
72
- `image_1750.hdf5`, giving the source URL, Commons file page, author, title and
73
- license. No photograph appears in the dataset in its original form. Each was
74
- converted to grayscale, resampled to the 400 × 450 weight-map grid,
75
- histogram-equalized and rescaled to `[0, 1]`. Values above 0.9 were then set to
76
- 1 and values below 0.1 to 0, producing the weight map stored as
77
- `data/diverse_source_image`. This conversion is implemented in
78
- `wikimedia_commons_postprocess.py`.
79
- - **Point-target phantoms** (250 captures) use no external asset — purely
80
- synthetic point scatterers.
81
-
82
- All channel data was generated with Field II (Jensen/DTU), distributed for free academic use. Field II's terms do not
83
- restrict redistribution or licensing of simulation *output* data. Per Field II's terms, any use of this dataset should cite:
84
- J.A. Jensen, "Field: A Program for Simulating Ultrasound Systems," *Med. Biol.
85
- Eng. Comp.*, 1996; and J.A. Jensen and N.B. Svendsen, "Calculation of Pressure
86
- Fields from Arbitrarily Shaped, Apodized, and Excited Ultrasound Transducers,"
87
- *IEEE Trans. Ultrason., Ferroelec., Freq. Contr.*, 1992.
88
 
89
  ## Intended Usage
90
 
91
- - **Generalized reconstruction** — learning a direct mapping from raw FSA channel
92
- data to a B-mode image, and/or from FSA to arbitrary retrospective beamforming
93
- targets (focused, multi-angle compounded, diverging-wave, adaptive).
94
- - **Compressed sensing / adaptive transmit** — sparse-aperture and adaptive transmit
95
- design research using retrospective sub-selection of the 128 FSA transmit events.
96
- - **Segmentation** — pixel-aligned echogenicity-region segmentation (anechoic /
97
- hypoechoic / hyperechoic) from raw channel data.
98
- - **Scatterer-level analysis** — `data/scatterers` exposes the exact Field II
99
- point-scatterer cloud (position + amplitude) used to simulate each capture,
100
- for tasks that want ground truth finer than a pixel grid (e.g. quantitative
101
- ultrasound, scatterer-density estimation).
102
 
103
  ## Dataset Characterization
104
 
105
- - **Data Collection Method:** synthetic (Field II full-synthetic-aperture
106
- simulation).
107
  - **Labeling Method:** synthetic ground truth.
108
- - Segmentation masks (anechoic/hypoechoic/hyperechoic) are Open Images V7
109
- animal-class segmentation annotations, used for shape only.
110
- - Diverse-echogenicity amplitude weighting uses a Wikimedia Commons photograph
111
- as a continuous grayscale weight map, preserved as `data/diverse_source_image`
112
- so an end user can see what pattern the capture was generated from.
113
- - The reconstruction-target B-mode (`data/image`) is synthesized from the same
114
- FSA capture (see *Data Validation* below), not an independent acquisition.
115
- - **Acquisition system (simulated):** 128-element linear array (model: L11-5v),
116
- center frequency 5.208 MHz, element width 0.27 mm, kerf 0.03 mm, pitch 0.3 mm,
117
- element height 5 mm, elevation focus (Rfocus) 20 mm. Simulated at 104.16 MHz (a
118
- high rate required for Field II's numerical precision), then decimated ×5 to a
119
- delivered sampling rate of 20.832 MHz. Sound speed 1540 m/s.
120
- Receive dynamic-focus reconstruction uses F-number 1.75 (baked into
121
- `reconstruct.py`'s `F_NUMBER` constant — zea's own default is 1.0, so this must be
122
- supplied explicitly rather than relying on the file alone to reproduce the
123
- reference images).
124
- - **Transmit pulse:** Hann-windowed 2.5-cycle tone burst at the 5.208 MHz center
125
- frequency, sampled at the native 104.16 MHz simulation rate. −6dB fractional
126
- bandwidth ≈ 76.5% (stored as `probe/probe_bandwidth_percent`).
127
- - **Coordinate convention:** x = lateral, y = elevation (always 0 for this 2D
128
- acquisition), z = axial/depth — the standard zea convention, applied throughout
129
- `probe_geometry`, `transmit_origins`, and every map's `coordinates` field.
130
- - **Frame timing:** each file is a single static frame (`n_frames=1`) with no
131
- simulated motion or pulse-repetition-frequency concept, so `scan/time_to_next_transmit`
132
- is intentionally omitted rather than populated with a fabricated value. Likewise, no
133
- time-gain-compensation was applied to this synthetic data, so `scan/tgc_gain_curve`
134
- is omitted.
 
 
 
 
 
 
 
135
 
136
  ## Dataset Format
137
 
138
- The dataset is 2,000 individual zea HDF5 files (one acquisition per file) under
139
- `data/` (zea format; `zea_version` 0.1.6). Reference figures are in
140
- `examples/`; `reconstruct.py`, `pipeline.yaml`, and this card sit
141
- at the repository root. Per file:
142
-
143
- - `data/raw_data` — full FSA channel data, `int16`, quantized from the native
144
- simulated (float32) values by per-file peak-scaling into the int16 range
145
- (~5e-5 relative quantization step — well below any physically meaningful signal
146
- feature, equivalent to how real ultrasound hardware ADCs store raw channel data).
147
- - `data/image` — the reference B-mode: a synthetic transmit aperture (STA)
148
- reconstruction that delay-and-sums all 128 single-element FSA transmits with
149
- zea's default DAS pipeline over the intended imaging FOV (see *Subject
150
- Metadata*). This is exactly what `reconstruct.py` reproduces from `data/raw_data`.
151
- - `data/segmentation` — boolean mask with labels `["background", <class>]`,
152
- present only for anechoic/hypoechoic/hyperechoic phantoms (750 captures) —
153
- the Open Images V7 mask directly. Not produced for diverse or point-target
154
- phantoms (no defined region to segment in either case).
155
- - `data/echogenicity_multiplier` — present alongside `data/segmentation`
156
- (same 750 captures): the scalar amplitude multiplier Field II applied to
157
- every scatterer inside that region, e.g. "hypoechoic at 0.23×," not just
158
- "hypoechoic." A single number per file, so it's stored without a
159
- `coordinates` grid (optional per zea's `Map` spec — this isn't spatial).
160
- - `data/diverse_source_image` — present only for diverse-class phantoms
161
- (1,000 captures): the grayscale natural-image echogenicity weight map
162
- (continuous `[0, 1]` values) each capture's scatterer amplitudes were
163
- generated from. Not a mask — just the reference image, so an end user can
164
- see what pattern produced the capture.
165
- - `data/scatterers` — the exact Field II point-scatterer cloud used to
166
- simulate the capture (every capture, all classes): `values` = per-scatterer
167
- amplitude (a.u.), `coordinates` = per-scatterer `(x, y, z)` position in
168
- metres. ~275,000 scatterers per capture, stored via zea's custom-data
169
- extension mechanism as a `(1, n_scatterers, 1)` / `(n_scatterers, 1, 3)`
170
- pair rather than a regular pixel grid (a point cloud has no grid to speak
171
- of). This is the ground truth Field II actually simulated from — finer than
172
- any pixel-grid label derived from it.
173
-
174
- Pre-processing applied before packaging: anti-alias FIR decimation (factor 5,
175
- 104.16 MHz → 20.832 MHz) and int16 quantization, both described above. zea's
176
- The original submission used lossless `lzf` HDF5 compression; re-saving may change storage compression without changing the RF representation.
177
 
178
  ## Dataset Quantification
179
 
@@ -189,16 +119,12 @@ This dataset comprises 2,000 FSA captures across five echogenicity classes:
189
  | Diverse (natural-image-derived) | 1,000 | 0751–1750 | No | `data/diverse_source_image` |
190
  | Point-target | 250 | 1751–2000 | No | — |
191
 
192
- `data/scatterers` (the raw point-scatterer cloud) is present for all 2,000
193
- captures regardless of class.
194
 
195
- Each capture's class label is stored in its file metadata
196
- (`metadata/annotations/label`).
197
 
198
  - **Stored HDF5 size:** 82.39 GB total; 41.20 MB per file on average. RF remains int16 and post-decimation.
199
- - **Train / validation / test split:** none predefined — the corpus is released
200
- as a single set for users to partition as their task requires (class membership
201
- and index ranges are given above).
202
  - **Per-sample feature table:**
203
 
204
  | Field | Shape | Dtype | Units | Description |
@@ -220,73 +146,24 @@ Each capture's class label is stored in its file metadata
220
 
221
  ## Subject Metadata
222
 
223
- Not applicable — no human or animal subjects. Each "subject" is a simulated
224
- phantom of ≈275,000 scatterers. The reconstructed image FOV is 45 mm (lateral) ×
225
- 40 mm (axial), starting 10 mm from the transducer face. The scatterer field is
226
- deliberately larger than this FOV (≈49.5 mm wide, extending to 54 mm deep) so
227
- that beamforming at the FOV edges is fully supported by surrounding scatterers
228
- and free of edge-truncation artifacts; only the reconstruction grid is cropped
229
- to the FOV, while `data/raw_data` and `data/scatterers` retain the full extent.
230
- Per-class amplitude weighting inside the mask/weight-map region:
231
 
232
  - **Anechoic:** scatterer amplitude zeroed.
233
- - **Hypoechoic:** amplitude × U[0.07, 0.50]; the exact per-capture draw is
234
- preserved in `data/echogenicity_multiplier`.
235
- - **Hyperechoic:** amplitude × U[2, 8]; same per-capture preservation via
236
- `data/echogenicity_multiplier`.
237
- - **Diverse:** continuous grayscale weight map from a Wikimedia Commons
238
- photograph (histogram-equalized, normalized to [0, 1], clipped at the
239
- extremes) — preserved as `data/diverse_source_image`.
240
  - **Point-target:** 10–20 point targets per phantom (count ~ U[10, 20], rounded to an integer), each target's amplitude an independent U[15, 35] draw. The targets consist of adjacent groups of high-amplitude scatterers within `data/scatterers`.
241
 
242
- All classes except point-target additionally include 2–5 extra bright point
243
- scatterers (amplitude 18–22) scattered at valid random positions, for realism.
244
 
245
  ## Data Validation
246
 
247
- **Setup:** `reconstruct.py` requires `zea>=0.1.1`, `matplotlib`,
248
- and `KERAS_BACKEND=jax` (or `torch`/`tensorflow`) set before import. This submission
249
- was built and verified against the [OpenH-RF repo](https://github.com/open-h/OpenH-RF)'s environment (`uv sync` inside a clone of that repo installs `zea` and every other
250
- dependency this script needs — see that repo's README for the exact commands).
251
-
252
- `reconstruct.py` (+ `pipeline.yaml`, zea's default DAS pipeline: Cast → ApplyWindow →
253
- Demodulate → Beamform → EnvelopeDetect → Normalize → LogCompress; each stage is
254
- explained in `reconstruct.py`'s own module docstring) reconstructs a synthetic
255
- transmit aperture (STA) B-mode from `data/raw_data` using all 128 transmits, over
256
- the same field of view as the stored `data/image` reference. It renders that
257
- reconstruction on physical mm axes next to the capture's class-specific label
258
- — segmentation foreground for anechoic/hypoechoic/hyperechoic,
259
- `data/diverse_source_image` for diverse, none for point-target — and the
260
- `data/scatterers` cloud coloured by |amplitude|, all on shared equal-aspect mm
261
- axes, confirming the label, reconstruction, and scatterer field are spatially
262
- registered. `examples/` holds one such figure for a representative capture of
263
- each of the five classes.
264
 
265
  ## Known Issues
266
 
267
- - **`data/image` is a log-compressed dB B-mode, not raw beamformed RF** —
268
- This is a minor packaging note, not a coverage
269
- gap, precisely because the data is FSA: `data/raw_data` retains every
270
- element-to-element transmit/receive combination (128 single-element transmit
271
- firings × 128-element receive aperture on the L11-5v), which is a more
272
- general representation than any one fixed beamformed product could be: by
273
- delay-and-sum with the appropriate per-element transmit delays and apodization
274
- (linear superposition over the 128 single-element firings), it is a sufficient
275
- basis to retrospectively synthesize other transmit/receive schemes — multi-angle
276
- plane-wave compounding at arbitrary steering angles, diverging-wave imaging from
277
- an arbitrary virtual source behind the array, conventional focused/multi-line
278
- transmit — with no re-acquisition. `reconstruct.py` as shipped only implements
279
- one of these (the full 128-transmit STA beamforming used to produce
280
- `data/image`, via zea's default DAS pipeline, `pipeline.yaml`); it does not take
281
- a scheme argument. Reconstructing a different scheme means modifying
282
- `reconstruct.py` accordingly — supplying the corresponding transmit
283
- delays/apodization to zea's `Beamform` op.
284
 
285
  ## Ethical Considerations
286
 
287
- Entirely synthetic data. No human or animal subjects are involved, and no IRB/ethics
288
- approval is required or applicable. The "animal-class" Open Images V7 segmentation
289
- annotations and Wikimedia Commons photographs referenced elsewhere in this card
290
- contribute only geometric silhouette shapes and grayscale texture patterns,
291
- respectively — no live animal or human subject, tissue, or imagery of either is
292
- used anywhere in this dataset.
 
1
  ---
2
+ name: concordia
3
+ pretty_name: "SynthUS-FSA"
4
  license: cc-by-4.0
5
  task_categories:
6
  - image-to-image
 
17
  - 1K<n<10K
18
  ---
19
 
20
+ # SynthUS-FSA
21
+
22
+ ![B-mode reconstructions of the five SynthUS-FSA phantom classes](assets/classes.png)
23
+
24
+ *The five phantom classes (anechoic, hypoechoic, hyperechoic, diverse, point-target), each reconstructed from `data/raw_data`: [`image_0005`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/concordia/data/image_0005.hdf5), [`image_0470`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/concordia/data/image_0470.hdf5), [`image_0640`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/concordia/data/image_0640.hdf5), [`image_1100`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/concordia/data/image_1100.hdf5), [`image_1808`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/concordia/data/image_1808.hdf5).*
25
+
26
  ## Dataset Description
27
 
28
+ SynthUS-FSA is a fully synthetic corpus of pre-beamformed full-synthetic-aperture (FSA) ultrasound channel-data captures, generated with the Field II simulator to model a 128-element L11-5v linear array. Each capture fires one transmit event per element (128 transmits, receive on all 128 elements), so every element-to-element combination is retained and any receive/transmit beamforming scheme (focused B-mode, multi-angle plane-wave compounding, diverging-wave, adaptive/compressive schemes) can be retrospectively synthesized from the same channel data. The dataset is packaged in [zea](https://zea.readthedocs.io) format — the OpenH-RF reference Python library for ultrasound file I/O and beamforming — which every `.hdf5` file and `reconstruct.py` depend on. The dataset targets three OpenH-RF task categories: (1) generalized reconstruction (FSA channel data paired with a synthesized full synthetic-aperture B-mode as ground truth), (2) compressed sensing / adaptive transmit (retrospective sub-selection of the 128 transmit events — derived from the same captures, no additional files), and (3) segmentation (binary echogenicity masks on a subset of phantoms). All data is simulated — no clinical, phantom-hardware, or animal acquisition is involved.
29
+
30
+ A similar data-generation approach was used in Sharifzadeh et al. (2024). Users of this dataset are kindly requested to cite that work:
31
+
32
+ > M. Sharifzadeh, S. Goudarzi, A. Tang, H. Benali, and H. Rivaz, "Mitigating aberration-induced noise: A deep learning-based aberration-to-aberration approach," *IEEE Transactions on Medical Imaging*, vol. 43, no. 12, pp. 4380–4392, 2024.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  ## Dataset Contributor(s)
35
 
36
+ - Mostafa Sharifzadeh <mostafa.sharifzadeh@mail.concordia.ca> (IMPACT Lab, Concordia University)
37
+ - Hassan Rivaz <hassan.rivaz@concordia.ca> (IMPACT Lab, Concordia University)
38
 
39
  ## Dataset Creation Date
40
 
 
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
+ - **Generalized reconstruction** — learning a direct mapping from raw FSA channel data to a B-mode image, and/or from FSA to arbitrary retrospective beamforming targets (focused, multi-angle compounded, diverging-wave, adaptive).
50
+ - **Compressed sensing / adaptive transmit** — sparse-aperture and adaptive transmit design research using retrospective sub-selection of the 128 FSA transmit events.
51
+ - **Segmentation** — pixel-aligned echogenicity-region segmentation (anechoic / hypoechoic / hyperechoic) from raw channel data.
52
+ - **Scatterer-level analysis** — `data/scatterers` exposes the exact Field II point-scatterer cloud (position + amplitude) used to simulate each capture, for tasks that want ground truth finer than a pixel grid (e.g. quantitative ultrasound, scatterer-density estimation).
 
 
 
 
 
 
 
53
 
54
  ## Dataset Characterization
55
 
56
+ - **Data Collection Method:** synthetic (Field II full-synthetic-aperture simulation).
 
57
  - **Labeling Method:** synthetic ground truth.
58
+ - Segmentation masks (anechoic/hypoechoic/hyperechoic) are Open Images V7 animal-class segmentation annotations, used for shape only.
59
+ - Diverse-echogenicity amplitude weighting uses a Wikimedia Commons photograph as a continuous grayscale weight map, preserved as `data/diverse_source_image` so an end user can see what pattern the capture was generated from.
60
+ - The reconstruction-target B-mode (`data/image`) is synthesized from the same FSA capture (see *Data Validation* below), not an independent acquisition.
61
+ - **Acquisition system (simulated):** 128-element linear array (model: L11-5v), center frequency 5.208 MHz, element width 0.27 mm, kerf 0.03 mm, pitch 0.3 mm, element height 5 mm, elevation focus (Rfocus) 20 mm. Simulated at 104.16 MHz (a high rate required for Field II's numerical precision), then decimated ×5 to a delivered sampling rate of 20.832 MHz. Sound speed 1540 m/s. Receive dynamic-focus reconstruction uses F-number 1.75 (baked into `reconstruct.py`'s `F_NUMBER` constant — zea's own default is 1.0, so this must be supplied explicitly rather than relying on the file alone to reproduce the reference images).
62
+ - **Transmit pulse:** Hann-windowed 2.5-cycle tone burst at the 5.208 MHz center frequency, sampled at the native 104.16 MHz simulation rate. −6dB fractional bandwidth ≈ 76.5% (stored as `probe/probe_bandwidth_percent`).
63
+ - **Coordinate convention:** x = lateral, y = elevation (always 0 for this 2D acquisition), z = axial/depth — the standard zea convention, applied throughout `probe_geometry`, `transmit_origins`, and every map's `coordinates` field.
64
+ - **Frame timing:** each file is a single static frame (`n_frames=1`) with no simulated motion or pulse-repetition-frequency concept, so `scan/time_to_next_transmit` is intentionally omitted rather than populated with a fabricated value. Likewise, no time-gain-compensation was applied to this synthetic data, so `scan/tgc_gain_curve` is omitted.
65
+
66
+ ## Source Attribution
67
+
68
+ The dataset as a whole is released under CC BY 4.0. Its components come from the following sources:
69
+
70
+ - **Simulated channel data, phantom parameters, and reconstruction/segmentation labels** are generated by the contributors (Field II simulation outputs) and released under CC BY 4.0.
71
+ - **Segmentation mask shapes** (anechoic/hypoechoic/hyperechoic classes, 750 captures) are sourced from [Open Images V7](https://storage.googleapis.com/openimages/web/factsfigures_v7.html)'s animal-class segmentation annotations (Google LLC). Only the binary mask is used — never the underlying source photograph. Open Images V7 licenses its annotations, including segmentation masks, under CC BY 4.0; the source photographs themselves carry a separate CC BY 2.0 license but are not used anywhere in this dataset.
72
+ - **Diverse-echogenicity amplitude-weight maps** (1,000 captures) are photographs from Wikimedia Commons, restricted to the `CC-BY-4.0` category and verified per-image against each file's `CC BY 4.0` license field before acceptance. `wikimedia_commons_metadata.csv`, at the dataset root, credits each one: a row per capture, keyed by `DatasetFile` for `image_0751.hdf5` through `image_1750.hdf5`, giving the source URL, Commons file page, author, title and license. No photograph appears in the dataset in its original form. Each was converted to grayscale, resampled to the 400 × 450 weight-map grid, histogram-equalized and rescaled to `[0, 1]`. Values above 0.9 were then set to 1 and values below 0.1 to 0, producing the weight map stored as `data/diverse_source_image`. This conversion is implemented in `wikimedia_commons_postprocess.py`.
73
+ - **Point-target phantoms** (250 captures) use no external asset — purely synthetic point scatterers.
74
+
75
+ All channel data was generated with Field II (Jensen/DTU), distributed for free academic use. Field II's terms do not restrict redistribution or licensing of simulation *output* data. Per Field II's terms, any use of this dataset should cite: J.A. Jensen, "Field: A Program for Simulating Ultrasound Systems," *Med. Biol. Eng. Comp.*, 1996; and J.A. Jensen and N.B. Svendsen, "Calculation of Pressure Fields from Arbitrarily Shaped, Apodized, and Excited Ultrasound Transducers," *IEEE Trans. Ultrason., Ferroelec., Freq. Contr.*, 1992.
76
+
77
+ ## Processing the Dataset
78
+
79
+ The acquisitions can be processed with the `pipeline.yaml` definition in this folder and the [zea library](https://github.com/tue-bmd/zea).
80
+
81
+ `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:
82
+
83
+ ```bash
84
+ zea process \
85
+ --dataset hf://nvidia/OpenH-RF/concordia/data/image_0005.hdf5 \
86
+ --config hf://nvidia/OpenH-RF/concordia/pipeline.yaml \
87
+ --n-frames 1 \
88
+ --save-as png
89
+ ```
90
+
91
+ Alternatively, you can use the `reconstruct.py` [script](https://github.com/open-h/OpenH-RF/blob/main/datasets/concordia/reconstruct.py) as provided in the [OpenH-RF GitHub repository](https://github.com/open-h/OpenH-RF).
92
 
93
  ## Dataset Format
94
 
95
+ [zea v0.1.6](https://github.com/tue-bmd/zea)
96
+
97
+ The dataset is 2,000 individual zea HDF5 files (one acquisition per file) under `data/` (zea format; `zea_version` 0.1.6). Reference figures are in `examples/`; `reconstruct.py`, `pipeline.yaml`, and this card sit at the repository root. Per file:
98
+
99
+ - `data/raw_data` — full FSA channel data, `int16`, quantized from the native simulated (float32) values by per-file peak-scaling into the int16 range (~5e-5 relative quantization step — well below any physically meaningful signal feature, equivalent to how real ultrasound hardware ADCs store raw channel data).
100
+ - `data/image` — the reference B-mode: a synthetic transmit aperture (STA) reconstruction that delay-and-sums all 128 single-element FSA transmits with zea's default DAS pipeline over the intended imaging FOV (see *Subject Metadata*). This is exactly what `reconstruct.py` reproduces from `data/raw_data`.
101
+ - `data/segmentation` — boolean mask with labels `["background", <class>]`, present only for anechoic/hypoechoic/hyperechoic phantoms (750 captures) — the Open Images V7 mask directly. Not produced for diverse or point-target phantoms (no defined region to segment in either case).
102
+ - `data/echogenicity_multiplier` — present alongside `data/segmentation` (same 750 captures): the scalar amplitude multiplier Field II applied to every scatterer inside that region, e.g. "hypoechoic at 0.23×," not just "hypoechoic." A single number per file, so it's stored without a `coordinates` grid (optional per zea's `Map` spec — this isn't spatial).
103
+ - `data/diverse_source_image` — present only for diverse-class phantoms (1,000 captures): the grayscale natural-image echogenicity weight map (continuous `[0, 1]` values) each capture's scatterer amplitudes were generated from. Not a mask — just the reference image, so an end user can see what pattern produced the capture.
104
+ - `data/scatterers` — the exact Field II point-scatterer cloud used to simulate the capture (every capture, all classes): `values` = per-scatterer amplitude (a.u.), `coordinates` = per-scatterer `(x, y, z)` position in metres. ~275,000 scatterers per capture, stored via zea's custom-data extension mechanism as a `(1, n_scatterers, 1)` / `(n_scatterers, 1, 3)` pair rather than a regular pixel grid (a point cloud has no grid to speak of). This is the ground truth Field II actually simulated from — finer than any pixel-grid label derived from it.
105
+
106
+ Pre-processing applied before packaging: anti-alias FIR decimation (factor 5, 104.16 MHz → 20.832 MHz) and int16 quantization, both described above. zea's The original submission used lossless `lzf` HDF5 compression; re-saving may change storage compression without changing the RF representation.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
 
108
  ## Dataset Quantification
109
 
 
119
  | Diverse (natural-image-derived) | 1,000 | 0751–1750 | No | `data/diverse_source_image` |
120
  | Point-target | 250 | 1751–2000 | No | — |
121
 
122
+ `data/scatterers` (the raw point-scatterer cloud) is present for all 2,000 captures regardless of class.
 
123
 
124
+ Each capture's class label is stored in its file metadata (`metadata/annotations/label`).
 
125
 
126
  - **Stored HDF5 size:** 82.39 GB total; 41.20 MB per file on average. RF remains int16 and post-decimation.
127
+ - **Train / validation / test split:** none predefined — the corpus is released as a single set for users to partition as their task requires (class membership and index ranges are given above).
 
 
128
  - **Per-sample feature table:**
129
 
130
  | Field | Shape | Dtype | Units | Description |
 
146
 
147
  ## Subject Metadata
148
 
149
+ Not applicable — no human or animal subjects. Each "subject" is a simulated phantom of ≈275,000 scatterers. The reconstructed image FOV is 45 mm (lateral) × 40 mm (axial), starting 10 mm from the transducer face. The scatterer field is deliberately larger than this FOV (≈49.5 mm wide, extending to 54 mm deep) so that beamforming at the FOV edges is fully supported by surrounding scatterers and free of edge-truncation artifacts; only the reconstruction grid is cropped to the FOV, while `data/raw_data` and `data/scatterers` retain the full extent. Per-class amplitude weighting inside the mask/weight-map region:
 
 
 
 
 
 
 
150
 
151
  - **Anechoic:** scatterer amplitude zeroed.
152
+ - **Hypoechoic:** amplitude × U[0.07, 0.50]; the exact per-capture draw is preserved in `data/echogenicity_multiplier`.
153
+ - **Hyperechoic:** amplitude × U[2, 8]; same per-capture preservation via `data/echogenicity_multiplier`.
154
+ - **Diverse:** continuous grayscale weight map from a Wikimedia Commons photograph (histogram-equalized, normalized to [0, 1], clipped at the extremes) — preserved as `data/diverse_source_image`.
 
 
 
 
155
  - **Point-target:** 10–20 point targets per phantom (count ~ U[10, 20], rounded to an integer), each target's amplitude an independent U[15, 35] draw. The targets consist of adjacent groups of high-amplitude scatterers within `data/scatterers`.
156
 
157
+ All classes except point-target additionally include 2–5 extra bright point scatterers (amplitude 18–22) scattered at valid random positions, for realism.
 
158
 
159
  ## Data Validation
160
 
161
+ `reconstruct.py` (+ `pipeline.yaml`, zea's default DAS pipeline: Cast → ApplyWindow → Demodulate → Beamform → EnvelopeDetect → Normalize → LogCompress; each stage is explained in `reconstruct.py`'s own module docstring) reconstructs a synthetic transmit aperture (STA) B-mode from `data/raw_data` using all 128 transmits, over the same field of view as the stored `data/image` reference. It renders that reconstruction on physical mm axes next to the capture's class-specific label — segmentation foreground for anechoic/hypoechoic/hyperechoic, `data/diverse_source_image` for diverse, none for point-target — and the `data/scatterers` cloud coloured by |amplitude|, all on shared equal-aspect mm axes, confirming the label, reconstruction, and scatterer field are spatially registered. [`assets/reference_capture.png`](assets/reference_capture.png) is one such figure.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
 
163
  ## Known Issues
164
 
165
+ - **`data/image` is a log-compressed dB B-mode, not raw beamformed RF** — This is a minor packaging note, not a coverage gap, precisely because the data is FSA: `data/raw_data` retains every element-to-element transmit/receive combination (128 single-element transmit firings × 128-element receive aperture on the L11-5v), which is a more general representation than any one fixed beamformed product could be: by delay-and-sum with the appropriate per-element transmit delays and apodization (linear superposition over the 128 single-element firings), it is a sufficient basis to retrospectively synthesize other transmit/receive schemes — multi-angle plane-wave compounding at arbitrary steering angles, diverging-wave imaging from an arbitrary virtual source behind the array, conventional focused/multi-line transmit — with no re-acquisition. `reconstruct.py` as shipped only implements one of these (the full 128-transmit STA beamforming used to produce `data/image`, via zea's default DAS pipeline, `pipeline.yaml`); it does not take a scheme argument. Reconstructing a different scheme means modifying `reconstruct.py` accordingly — supplying the corresponding transmit delays/apodization to zea's `Beamform` op.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
 
167
  ## Ethical Considerations
168
 
169
+ Entirely synthetic data. No human or animal subjects are involved, and no IRB/ethics approval is required or applicable. The "animal-class" Open Images V7 segmentation annotations and Wikimedia Commons photographs referenced elsewhere in this card contribute only geometric silhouette shapes and grayscale texture patterns, respectively — no live animal or human subject, tissue, or imagery of either is used anywhere in this dataset.
 
 
 
 
 
concordia/assets/classes.png ADDED

Git LFS Details

  • SHA256: a72603d878a82d59727081ea593db4c95731475b26b1e0cbcf3c9615080b5f03
  • Pointer size: 132 Bytes
  • Size of remote file: 1.86 MB
concordia/assets/main.png ADDED

Git LFS Details

  • SHA256: 0903a81bb0e786b633be6e3db4f7543a01e5b12802cbddde73abb39f7365788e
  • Pointer size: 131 Bytes
  • Size of remote file: 218 kB
concordia/assets/reference_capture.png ADDED

Git LFS Details

  • SHA256: dcd76046320786b8616a33ecf4545537fdab59f67937fe50b03943a50a5d8c1a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.74 MB
concordia/pipeline.yaml CHANGED
@@ -1,3 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  pipeline:
2
  operations:
3
  - name: keras.ops.cast
 
1
+ parameters:
2
+ # Imaging FOV: 45 mm lateral x 40 mm axial, starting 10 mm from the
3
+ # transducer face. This is a reconstruction-time choice, not part of the zea
4
+ # scan spec, so without it zea falls back to an aperture-wide, full-depth
5
+ # default grid.
6
+ xlims:
7
+ - -0.0225
8
+ - 0.0225
9
+ zlims:
10
+ - 0.01
11
+ - 0.05
12
+ # Isotropic pixels (~74 um both ways). data/image is stored on a 542 x 384
13
+ # anisotropic grid; rendering that grid as square pixels stretches the
14
+ # phantom vertically.
15
+ grid_size_x: 610
16
+ grid_size_z: 542
17
+ # zea's default is 1.0, which is not what produced the reference images.
18
+ f_number: 1.75
19
+ dynamic_range:
20
+ - -60
21
+ - 0
22
  pipeline:
23
  operations:
24
  - name: keras.ops.cast