Datasets:

ArXiv:
License:
wsimson commited on
Commit
fd9aab4
·
verified ·
1 Parent(s): 0b266bd

Add concordia README + pipeline(s) from accepted_submissions

Browse files
Files changed (2) hide show
  1. concordia/README.md +292 -0
  2. concordia/pipeline.yaml +17 -0
concordia/README.md ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "OpenH-RF — SynthUS-FSA"
3
+ license: cc-by-4.0
4
+ task_categories:
5
+ - image-to-image
6
+ - image-segmentation
7
+ tags:
8
+ - ultrasound
9
+ - rf
10
+ - openh-rf
11
+ - synthetic
12
+ - field-ii
13
+ language:
14
+ - en
15
+ 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
+
52
+ 07/01/2026
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; OpenH-RF spec floor v0.1.0a3). Reference figures are in
140
+ `examples/`; `reconstruct.py`, `visualize.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
+ `File.create` applies lossless `lzf` HDF5 compression by default.
177
+
178
+ ## Dataset Quantification
179
+
180
+ This dataset comprises 2,000 FSA captures across five echogenicity classes:
181
+
182
+ | Class | Count | File indices | Segmentation label | Other class-specific data |
183
+ |---|---|---|---|---|
184
+ | Anechoic | 250 | 0001–0250 | Yes (Open Images V7 mask) | `data/echogenicity_multiplier` (always 0) |
185
+ | Hypoechoic | 250 | 0251–0500 | Yes (Open Images V7 mask) | `data/echogenicity_multiplier` (random, 0.07–0.50) |
186
+ | Hyperechoic | 250 | 0501–0750 | Yes (Open Images V7 mask) | `data/echogenicity_multiplier` (random, 2–8) |
187
+ | Diverse (natural-image-derived) | 1,000 | 0751–1750 | No | `data/diverse_source_image` |
188
+ | Point-target | 250 | 1751–2000 | No | — |
189
+
190
+ `data/scatterers` (the raw point-scatterer cloud) is present for all 2,000
191
+ captures regardless of class.
192
+
193
+ Each capture's class label is stored in its file metadata
194
+ (`metadata/annotations/label`).
195
+
196
+ - **Size on disk:** ≈ 50.3 MB per sample (int16, post-decimation, lzf-compressed), = 100.6 GB for the full 2,000-capture corpus.
197
+ - **Train / validation / test split:** none predefined — the corpus is released
198
+ as a single set for users to partition as their task requires (class membership
199
+ and index ranges are given above).
200
+ - **Per-sample feature table:**
201
+
202
+ | Field | Shape | Dtype | Units | Description |
203
+ |---|---|---|---|---|
204
+ | `data/raw_data` | `(1, 128, n_ax, 128, 1)` | int16 | a.u. | FSA channel data: 1 frame, 128 transmits (one per element), `n_ax` axial samples post-decimation (depth-dependent round-trip timing means this varies slightly per capture — read `.shape` at load time rather than assuming a fixed value), 128 receive elements, 1 channel (RF) |
205
+ | `data/image/values` | `(1, 542, 384)` | float32 | dB | Synthetic-aperture (128-transmit) reference B-mode, log-compressed |
206
+ | `data/image/coordinates` | `(542, 384, 3)` | float32 | m | Per-pixel (x, y, z) for `image/values` |
207
+ | `data/segmentation/values`* | `(1, 400, 450, 2)` | bool | – | One-hot echogenicity mask (`background`, class); *anechoic/hypoechoic/hyperechoic only* |
208
+ | `data/segmentation/coordinates`* | `(400, 450, 3)` | float32 | m | Per-pixel (x, y, z) for the segmentation grid |
209
+ | `data/echogenicity_multiplier/values`* | `(1, 1, 1)` | float32 | – | Scalar amplitude multiplier applied inside the segmentation region; *anechoic/hypoechoic/hyperechoic only* |
210
+ | `data/diverse_source_image/values`* | `(1, 400, 450)` | float32 | a.u. | Grayscale echogenicity weight map, `[0, 1]`; *diverse class only* |
211
+ | `data/diverse_source_image/coordinates`* | `(400, 450, 3)` | float32 | m | Per-pixel (x, y, z) for the weight-map grid |
212
+ | `data/scatterers/values` | `(1, ~275000, 1)` | float32 | a.u. | Per-scatterer amplitude (one row per Field II scatterer, not a pixel grid) |
213
+ | `data/scatterers/coordinates` | `(~275000, 1, 3)` | float32 | m | Per-scatterer (x, y, z) position |
214
+ | `probe/probe_geometry` | `(128, 3)` | float32 | m | Element positions |
215
+ | `probe/probe_bandwidth_percent` | scalar | float32 | % | −6dB fractional bandwidth of the transmit pulse (≈76.5%) |
216
+ | `scan/t0_delays`, `scan/tx_apodizations` | `(128, 128)` | float32 | s, – | Per-transmit, per-element delay / apodization (identity apodization — one element fires per transmit) |
217
+ | `scan/azimuth_angles` | `(128,)` | float32 | rad | All zero — 2D acquisition, no azimuthal steering |
218
+
219
+ ## Subject Metadata
220
+
221
+ Not applicable — no human or animal subjects. Each "subject" is a simulated
222
+ phantom of ≈275,000 scatterers. The reconstructed image FOV is 45 mm (lateral) ×
223
+ 40 mm (axial), starting 10 mm from the transducer face. The scatterer field is
224
+ deliberately larger than this FOV (≈49.5 mm wide, extending to 54 mm deep) so
225
+ that beamforming at the FOV edges is fully supported by surrounding scatterers
226
+ and free of edge-truncation artifacts; only the reconstruction grid is cropped
227
+ to the FOV, while `data/raw_data` and `data/scatterers` retain the full extent.
228
+ Per-class amplitude weighting inside the mask/weight-map region:
229
+
230
+ - **Anechoic:** scatterer amplitude zeroed.
231
+ - **Hypoechoic:** amplitude × U[0.07, 0.50]; the exact per-capture draw is
232
+ preserved in `data/echogenicity_multiplier`.
233
+ - **Hyperechoic:** amplitude × U[2, 8]; same per-capture preservation via
234
+ `data/echogenicity_multiplier`.
235
+ - **Diverse:** continuous grayscale weight map from a Wikimedia Commons
236
+ photograph (histogram-equalized, normalized to [0, 1], clipped at the
237
+ extremes) — preserved as `data/diverse_source_image`.
238
+ - **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`.
239
+
240
+ All classes except point-target additionally include 2–5 extra bright point
241
+ scatterers (amplitude 18–22) scattered at valid random positions, for realism.
242
+
243
+ ## Data Validation
244
+
245
+ **Setup:** `reconstruct.py` and `visualize.py` require `zea>=0.1.1`, `matplotlib`,
246
+ and `KERAS_BACKEND=jax` (or `torch`/`tensorflow`) set before import. This submission
247
+ 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
248
+ dependency these scripts need — see that repo's README for the exact commands).
249
+
250
+ `reconstruct.py` (+ `pipeline.yaml`, zea's default DAS pipeline: Cast → ApplyWindow →
251
+ Demodulate → Beamform → EnvelopeDetect → Normalize → LogCompress; each stage is
252
+ explained in `reconstruct.py`'s own module docstring) reconstructs a synthetic
253
+ transmit aperture (STA) B-mode from `data/raw_data` using all 128 transmits, over
254
+ the same field of view as the stored `data/image` reference. A second helper,
255
+ `visualize.py <file>.hdf5`, renders the stored `data/image`, its class-specific
256
+ label, and the `data/scatterers` cloud side by side. `examples/` contains, for a
257
+ representative capture of each of the five classes, an `<id>_bmode.png` (the STA
258
+ reference reconstruction from `reconstruct.py`, physical mm axes, titled with the
259
+ sample ID) and an `<id>_panels.png` (the `visualize.py` output: stored `data/image`,
260
+ class label — segmentation foreground for anechoic/hypoechoic/hyperechoic,
261
+ `data/diverse_source_image` for diverse, none for point-target — and the
262
+ `data/scatterers` cloud coloured by |amplitude|, on shared equal-aspect mm axes),
263
+ confirming the label, reconstruction, and scatterer field are spatially registered.
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.
concordia/pipeline.yaml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ pipeline:
2
+ operations:
3
+ - name: keras.ops.cast
4
+ params:
5
+ dtype: float32
6
+ - apply_window
7
+ - demodulate
8
+ - name: beamform
9
+ params:
10
+ num_patches: 200
11
+ - envelope_detect
12
+ - name: normalize
13
+ params:
14
+ output_range:
15
+ - 0.0
16
+ - 1.0
17
+ - log_compress