waterloo-muscle: sync data card, pipeline grid and figures with GitHub

#48
waterloo-muscle/README.md CHANGED
@@ -1,4 +1,5 @@
1
  ---
 
2
  pretty_name: UW-MuscleRF
3
  license: cc-by-4.0
4
  task_categories:
@@ -20,23 +21,25 @@ size_categories:
20
 
21
  # UW-Muscle RF
22
 
23
- Dataset consisting of raw RF data and speed of sound measurements acquired in an in vivo speed of sound study conducted by LITMUS @ University of Waterloo.
 
 
24
 
25
  ## Dataset Description
26
 
27
- This is a dataset consisting of 580K raw RF frames (plane wave) and associated SoS measurements using a programmable research scanner configured for high frame rate imaging. We used a rigorous image collection protocol based on landmarking according to bone markers to ensure image consistency. This data was collected as part of the following study:
28
 
29
  D. Xiao, P. De La Torre, M. Saif El Nasr, A. J. Y. Chee, M. Mourtzakis, and A. C. H. Yu, “LivePulse-Echo Speed-of-Sound Estimation for Quality Assessment of Large Muscles in Humans,”Ultrasound in Medicine & Biology, vol. 51, no. 11, pp. 1925–1935, Nov. 2025.
30
 
31
-
32
  ## Dataset Contributor(s)
33
 
34
- Hassan Nahas, Di Xiao, Pat de la Torre, Adrian J.Y. Chee, Marina Mourtzakis, Alfred C.H. Yu
35
-
36
- Correspondence emails:
37
- hassan.nahas@uwaterloo.ca
38
- di.xiao@uwaterloo.ca
39
- alfred.yu@uwaterloo.ca
 
40
 
41
  ## Dataset Creation Date
42
 
@@ -44,10 +47,7 @@ alfred.yu@uwaterloo.ca
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).
48
-
49
- This human study was approved by the University of Waterloo’s Human Research Ethics Board (ORE #44778). All included data was acquired from participants who provided both written and verbal consent prior to participating in the study regarding public data sharing.
50
-
51
 
52
  ## Intended Usage
53
 
@@ -63,13 +63,31 @@ The algorithm for global speed of sound estimation can be found here:
63
  D. Xiao, P. D. l. Torre and A. C. H. Yu, "Real-Time Speed-of-Sound Estimation In Vivo via Steered Plane Wave Ultrasound," in IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 71, no. 6, pp. 673-686, June 2024, doi: 10.1109/TUFFC.2024.3395490.
64
 
65
 
66
- - **Acquisition system:**
67
- Raw RF data was acquired from the US4R-Lite research scanner (US4US, Warsaw, Poland), equipped with an L14-5 linear array. For a subset of acquisitions, a through-transmission SoS estimation was made using a custom setup consisting of two single-element Olympus transducers (C567; Olympus; Tokyo, Japan).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
 
69
  ## Dataset Format
70
 
71
- Submitted in the [`zea` file format](https://zea.readthedocs.io/en/latest/)
72
- (one HDF5 file per acquisition).
 
73
 
74
  Per-sample contents of the converted HDF5:
75
 
@@ -89,14 +107,14 @@ Per-sample contents of the converted HDF5:
89
  | `custom/baecke_sport_index` | `[1]` | float32 | /5 | Baecke sport activity score |
90
  | `custom/baecke_leisure_index` | `[1]` | float32 | /5 | Baecke leisure activity score |
91
  | `custom/baecke_score` | `[1]` | float32 | /15 | Total baecke score |
92
- All `coordinates` arrays are per-pixel Cartesian positions in metres, last axis
93
- `[x, y, z]` (y = 0 for these 2-D maps).
94
 
95
  ## Dataset Quantification
96
 
97
  **Current OpenH-RF release:** 1,248 HDF5 files; 576.19 GB (576,186,417,152 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.
98
 
99
- Data was collected from 39 participants, each with 32 unique images spanning calf/bicep/quad, axis and muscle state. For each imaging location, 15 frames were made per limb under minimal contact and with pressure. Given that each frame consisted of 31 steered plane waves, our protocol yielded a total of 15 repeats × 31 frames × 8 views × 2 sides × 2 pressure settings = 14880 raw RF frames per participant. In total, our dataset is expected to contain 580k frames of raw RF data.
100
 
101
  All 1,248 HDF5 files are uploaded; current stored size and format version are reported above.
102
 
@@ -116,13 +134,7 @@ All 1,248 HDF5 files are uploaded; current stored size and format version are re
116
 
117
  ## Data Validation
118
 
119
- [`reconstruct.py`](reconstruct.py) builds a `zea.Pipeline` of DAS beamforming →
120
- envelope detection → normalization → log-compression **in code** and reconstructs
121
- a B-mode directly from `raw_data` — showing the raw-to-image flow without any
122
- config file. It also saves the pipeline to [`pipeline.yaml`](pipeline.yaml) as a
123
- shareable recipe. Comparing the reconstruction against the stored B-mode is a
124
- sanity check that the acquisition parameters and probe geometry are recorded
125
- correctly, and serves as a reproducible reference reconstruction.
126
 
127
  ## Known Issues
128
  - Scan.sound_speed uses default 1540 m/s used for computing tx delays as was done during acquisition. This is different from the estimated global speed of sound which is currently stored as a custom element.
 
1
  ---
2
+ name: waterloo-muscle
3
  pretty_name: UW-MuscleRF
4
  license: cc-by-4.0
5
  task_categories:
 
21
 
22
  # UW-Muscle RF
23
 
24
+ ![Reconstructed cineloop from Acq_p35_Calf_left_calf_lateral_longitudinal_relaxed_pressure.hdf5](assets/Acq_p35_Calf_left_calf_lateral_longitudinal_relaxed_pressure.gif)
25
+
26
+ *Cine loop of the relaxed left calf (lateral, longitudinal), [`data/Acq_p35_Calf_left_calf_lateral_longitudinal_relaxed_pressure.hdf5`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/waterloo-muscle/data/Acq_p35_Calf_left_calf_lateral_longitudinal_relaxed_pressure.hdf5), reconstructed from the raw channel data with the `pipeline.yaml` in this folder.*
27
 
28
  ## Dataset Description
29
 
30
+ 18,720 raw RF frames (plane wave; 580,320 frame-transmits) with associated speed-of-sound (SoS) measurements, acquired in vivo by LITMUS at the University of Waterloo with a programmable research scanner configured for high-frame-rate imaging. Images were collected with a rigorous protocol based on landmarking according to bone markers to ensure image consistency. This data was collected as part of the following study:
31
 
32
  D. Xiao, P. De La Torre, M. Saif El Nasr, A. J. Y. Chee, M. Mourtzakis, and A. C. H. Yu, “LivePulse-Echo Speed-of-Sound Estimation for Quality Assessment of Large Muscles in Humans,”Ultrasound in Medicine & Biology, vol. 51, no. 11, pp. 1925–1935, Nov. 2025.
33
 
 
34
  ## Dataset Contributor(s)
35
 
36
+ - Hassan Nahas <hassan.nahas@uwaterloo.ca>
37
+ - Di Xiao <di.xiao@uwaterloo.ca>
38
+ - Pat de la Torre
39
+ - Adrian J.Y. Chee
40
+ - Marina Mourtzakis
41
+ - Alfred C.H. Yu <alfred.yu@uwaterloo.ca>
42
+ - LITMUS, University of Waterloo
43
 
44
  ## Dataset Creation Date
45
 
 
47
 
48
  ## License / Terms of Use
49
 
50
+ [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.
 
 
 
51
 
52
  ## Intended Usage
53
 
 
63
  D. Xiao, P. D. l. Torre and A. C. H. Yu, "Real-Time Speed-of-Sound Estimation In Vivo via Steered Plane Wave Ultrasound," in IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 71, no. 6, pp. 673-686, June 2024, doi: 10.1109/TUFFC.2024.3395490.
64
 
65
 
66
+ - **Acquisition system:** Raw RF data was acquired from the US4R-Lite research scanner (US4US, Warsaw, Poland), equipped with an L14-5 linear array. For a subset of acquisitions, a through-transmission SoS estimation was made using a custom setup consisting of two single-element Olympus transducers (C567; Olympus; Tokyo, Japan).
67
+
68
+ ## Processing the Dataset
69
+
70
+ The acquisitions can be processed with the `pipeline.yaml` definition in this folder and the [zea library](https://github.com/tue-bmd/zea).
71
+
72
+ `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:
73
+
74
+ ```bash
75
+ zea process \
76
+ --dataset hf://nvidia/OpenH-RF/waterloo-muscle/data/Acq_p35_Calf_left_calf_lateral_longitudinal_relaxed_pressure.hdf5 \
77
+ --config hf://nvidia/OpenH-RF/waterloo-muscle/pipeline.yaml \
78
+ --n-frames 1 \
79
+ --save-as png
80
+ ```
81
+
82
+ Alternatively, you can use the `reconstruct.py` [script](https://github.com/open-h/OpenH-RF/blob/main/datasets/waterloo-muscle/reconstruct.py) as provided in the [OpenH-RF GitHub repository](https://github.com/open-h/OpenH-RF).
83
+
84
+ Swap `--n-frames 1 --save-as png` for `--save-as gif` to get the cine loop. In the script, `ZEA_FILE` and `FRAME` at the top select what is reconstructed.
85
 
86
  ## Dataset Format
87
 
88
+ [zea v0.1.6](https://github.com/tue-bmd/zea)
89
+
90
+ Submitted in the [`zea` file format](https://zea.readthedocs.io/en/latest/) (one HDF5 file per acquisition).
91
 
92
  Per-sample contents of the converted HDF5:
93
 
 
107
  | `custom/baecke_sport_index` | `[1]` | float32 | /5 | Baecke sport activity score |
108
  | `custom/baecke_leisure_index` | `[1]` | float32 | /5 | Baecke leisure activity score |
109
  | `custom/baecke_score` | `[1]` | float32 | /15 | Total baecke score |
110
+
111
+ All `coordinates` arrays are per-pixel Cartesian positions in metres, last axis `[x, y, z]` (y = 0 for these 2-D maps).
112
 
113
  ## Dataset Quantification
114
 
115
  **Current OpenH-RF release:** 1,248 HDF5 files; 576.19 GB (576,186,417,152 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.
116
 
117
+ Data was collected from 39 participants, each with 32 unique images spanning calf/bicep/quad, axis and muscle state. For each imaging location, 15 frames were made per limb under minimal contact and with pressure. Given that each frame consisted of 31 steered plane waves, our protocol yielded a total of 15 repeats × 31 transmits × 8 views × 2 sides × 2 pressure settings = 14,880 frame-transmits per participant, i.e. 480 stored frames per participant. In total the dataset contains 18,720 stored frames and 580,320 frame-transmits (see the table below).
118
 
119
  All 1,248 HDF5 files are uploaded; current stored size and format version are reported above.
120
 
 
134
 
135
  ## Data Validation
136
 
137
+ `reconstruct.py` builds a `zea.Pipeline` of DAS beamforming → envelope detection → normalization → log-compression **in code** and reconstructs a B-mode directly from `raw_data` — showing the raw-to-image flow without any config file. It also saves the pipeline to `pipeline.yaml` as a shareable recipe. Comparing the reconstruction against the stored B-mode is a sanity check that the acquisition parameters and probe geometry are recorded correctly, and serves as a reproducible reference reconstruction.
 
 
 
 
 
 
138
 
139
  ## Known Issues
140
  - Scan.sound_speed uses default 1540 m/s used for computing tx delays as was done during acquisition. This is different from the estimated global speed of sound which is currently stored as a custom element.
waterloo-muscle/assets/Acq_p35_Calf_left_calf_lateral_longitudinal_relaxed_pressure.gif ADDED

Git LFS Details

  • SHA256: 8de7d07f1394104bd21e299092f7ee8b7ca1a8bdc58f4c9c25d866b2f3bb936b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.14 MB
waterloo-muscle/assets/main.png ADDED

Git LFS Details

  • SHA256: 8e9c1741412fbcc5ddcd19a8e30d7e49c1add7834b6a9b75abb6318411a6593b
  • Pointer size: 131 Bytes
  • Size of remote file: 155 kB
waterloo-muscle/assets/reconstruct_output.png ADDED

Git LFS Details

  • SHA256: 931315ebd61c95486c66cd98ef9abd34984b6776bbf1766ccc0861473759f0ef
  • Pointer size: 131 Bytes
  • Size of remote file: 206 kB
waterloo-muscle/pipeline.yaml CHANGED
@@ -17,3 +17,15 @@ pipeline:
17
  - 0.0
18
  - 1.0
19
  - log_compress
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  - 0.0
18
  - 1.0
19
  - log_compress
20
+ parameters:
21
+ xlims:
22
+ - -0.019
23
+ - 0.019
24
+ zlims:
25
+ - 0.0
26
+ - 0.08
27
+ grid_size_x: 381
28
+ grid_size_z: 801
29
+ dynamic_range:
30
+ - -60
31
+ - 0