Commit ·
6f7e386
1
Parent(s): 87f125c
waterloo-carotid: sync data card, pipeline grid and figures with GitHub (#46)
Browse files- waterloo-carotid: sync data card, pipeline grid and figures with GitHub (1baf560800092d274496c65172d2205fe5bac59e)
- waterloo-carotid: restructure the data card to the common layout (dfcd9d9999c5669a8dce9b5f43bbca7cdf56f4e3)
- waterloo-carotid: sync card and figures with GitHub #30 (cfcf9e207a022fa40417c573cfb9e06c5954d952)
Co-authored-by: Tristan Stevens <tristan-deep@users.noreply.huggingface.co>
Files changed (5)
123416 unmodified lines212223242526272829303132333435363738394041424344454647484950511 unmodified line5354555657585960616263646566676869707172737475767778798019 unmodified lines1001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311322 unmodified lines1351361371381391401415 unmodified lines1471481491501511521531541551561571581591601611621631641651661671681691701711721731741755 unmodified lines181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222---pretty_name: UW-CarotidRFlicense: cc-by-4.0task_categories:16 unmodified lines# UW-Carotid RFDataset consisting of raw RF data and vector velocity measurements of carotidarteries acquired in in vivo carotid artery studies conducted by LITMUS @University of Waterloo. The dataset consists of longitudinal and cross-sectionalimages of the common and internal carotid arteries respectively.## Dataset DescriptionThis is a dataset consisting of raw RF frames (plane wave) and vector flowprofiles of the carotid arteries (Common Carotid Artery and Internal CarotidArtery) in humans, acquired using a programmable research scanner configured forhigh frame rate vector flow imaging. The data was collected as part of studiesconducted by the LITMUS research group at the University of Waterloo, focusing oncarotid artery hemodynamics during baseline and physiological maneuvers (such asthe Valsalva Maneuver, head-down tilt, and supine postures).## Dataset Contributor(s)Hassan Nahas, Jason Y. -H. Hsu, Theresa Gu, Adrian J. Y. Chee, Alfred C. H. YuCorrespondence emails:hassan.nahas@uwaterloo.cajason.hsu@uwaterloo.catheresa.gu@uwaterloo.caalfred.yu@uwaterloo.ca## Dataset Creation Date1 unmodified line## License / Terms of Use[Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/legalcode.en).All human studies were approved by the University of Waterloo’s Human ResearchEthics Board (ORE #46278). All included data was acquired from participants whoprovided both written and verbal consent prior to participating in the studyregarding public data sharing.## Intended UsageDeveloping, benchmarking, and evaluating methods for ultrasound imagereconstruction, motion estimation, clutter filtering, multi-angle Dopplerprocessing, and vector flow imaging (VFI) in carotid artery imaging.## Dataset Characterization- **Data Collection Method:** In vivo imaging of human carotid arteries (Common Carotid Artery and Internal Carotid Artery).- **Labeling Method:** Categorized by target artery (Anatomy), view direction (Longitudinal or Cross-sectional), and physiological condition/maneuver (Baseline, Valsalva Maneuver, Valsalva Maneuver – Supine, Valsalva Maneuver – Head Down Tilt, Head Down Tilt).- **Acquisition system:**Raw RF data was acquired from programmable research scanners (US4R/US4R-Lite, US4US, Warsaw, Poland) equipped with an L14-5 linear array transducer.## Dataset FormatSubmitted in the [`zea` file format](https://zea.readthedocs.io/en/latest/) (one HDF5 file per acquisition).Per-sample contents of the converted HDF5:19 unmodified lines| `data/color_doppler` | `[n_frames, z, x]` (+ `coordinates` `[z, x, 3]`) | float32 | m/s | Color Doppler map || `scan/*` | -- | -- | -- | Probe geometry, sampling/center/demodulation frequency, t0 delays, sound speed, transmit angles, focus distances, transmit origins, apodizations, PRI... |All `coordinates` arrays are per-pixel Cartesian positions in meters, last axis`[x, y, z]` (y = 0 for 2-D maps).## Shipped Example AcquisitionsTwo example acquisitions are included under `hdf5/` as a representative subset ofthe full dataset:| File | Subject | Anatomy | View | Condition | Frames ||---|---|---|---|---|---|| `hdf5/Acq0.hdf5` | 1 | Common Carotid Artery | Longitudinal | Baseline | 500 || `hdf5/Acq62.hdf5` | 1 | Internal Carotid Artery | Cross-sectional | Baseline | 500 |Each common carotid artery frame comprises 2 steered plane-wave transmits (`n_tx = 2`), 2048 axialsamples, and 128 receive channels. Each internal carotid artery frame comprises 1 steered plane-wave transmits (`n_tx = 1`), 1536 axialsamples, and 128 receive channels.The frame count in these examples is truncated for demonstration; full acquisitions contain the frame counts described below.## Dataset Quantification**Current OpenH-RF release:** 93 HDF5 files; 6.90 TB (6,902,089,770,179 bytes) stored; root `zea_version` **0.1.4**. 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.Data was collected from 8 participants, spanning carotid arteries (Common CarotidArtery and Internal Carotid Artery) in both longitudinal and cross-sectionalviews. In total, the dataset consists of 93 acquisitions, containing36,000/60,000 frames of raw RF data per acquisition.## Subject Metadata2 unmodified lines| **Total Number of Subjects** | 8 || **Total Number of Files (Acquisitions)** | 93 || **Sex Composition** | M: 6 (75.0%), F: 2 (25.0%) || **Total RF Frames** | 4,476,000 |## Known Issues5 unmodified lines## Beamforming and Processing1. **Pre-Filtering:**Channel RF data is pre-filtered using a 5 MHz bandpass filter before beamforming.2. **GPU-Accelerated Beamforming (DAS):**Beamforming is carried out via a GPU-accelerated Delay-and-Sum (DAS) module.- **Aperture & Apodization:** 64-element Hanning window apodization and an F-number of 1.5.- **Dual Angle-Compounding:** Beamforming for B-mode and power Doppler is performed twice with opposite receive angles ($+15^{\circ}$ and $-15^{\circ}$). The final high-resolution beamformed image (HRI) is the average of these two acquisitions:$$HRI = \frac{HRI_{+15^{\circ}} + HRI_{-15^{\circ}}}{2}$$- **Reconstruction Grid:** Cartesian coordinates mapped by a `PixelMap` representing a lateral range of $[-19, 19]\text{ mm}$ and axial depth of $[0, 30]\text{ mm}$ at $0.1\text{ mm}$ spatial resolution.3. **Clutter Filtering:**Clutter filtering is performed on the beamformed ensemble using a high-pass wall filter (normalized cut-off frequencies of 0.1 and 0.15, filter length of 100).4. **Multi-Angle Doppler Frequency Estimation:**Angle-specific Doppler frequencies are computed using an ensemble size of 64 frames with a step size of 1.- For acquisitions with 2 tx angles, we used the following Tx-Rx angles:Tx: [-10, -10, 10, 10]; Rx: [-10, 10, -10, 10]- For acquisitions with 1 tx angle:Tx: [-10, -10, -10]; Rx: [-10, 0, 10]5. **Vector Doppler Velocity Estimation:**Lateral ($v_x$) and axial ($v_z$) velocity components are computed from the multi-angle Doppler frequency estimates using least-squares estimation.The full LITMUS processing pipeline (GPU DAS beamforming + multi-angle vectorDoppler) is documented in [`convert.py`](convert.py). That script is included forprovenance and reproducibility; it depends on the LITMUS core Python package andthe raw acquisition frames, so it is not runnable from this folder alone.Papers relevant to our pipeline:5 unmodified lines## Data Validation[`reconstruct.py`](reconstruct.py) builds a `zea.Pipeline` of DAS beamforming →envelope detection → normalization → log-compression **in code** andreconstructs a B-mode directly from `raw_data`, showing the raw-to-image flowwithout any config file. It also saves the pipeline to[`pipeline.yaml`](pipeline.yaml) as a shareable recipe. Comparing thereconstruction against the stored (LITMUS) B-mode is a sanity check that theacquisition parameters and probe geometry are recorded correctly, and serves asa reproducible reference reconstruction.When the vector-flow fields (`vector_velocity_x/z` + `power_doppler`) are present,a third panel overlays the vector velocity field on the stored B-mode. Theoverlay uses `draw_velocity_field`, a single self-contained (numpy + matplotlib)helper reproduced inside `reconstruct.py` from the LITMUS core Python package(`litmus.core_py.visualization`), so the script has no dependency on the fullLITMUS GPU stack.The result is written to `reconstruct_output.png`:### Example Usage of reconstruct.py```bash# Reconstruct the default file (hdf5/Acq0.hdf5) at frame 100python reconstruct.py# Reconstruct a specific file and frame, and adjust the power-Doppler maskpython reconstruct.py --input hdf5/Acq1.hdf5 --frame 250 --power-threshold 55.0```## Ethical ConsiderationsAll human studies were approved by the University of Waterloo’s Human ResearchEthics Board (ORE #46278). All included data was acquired from participants whoprovided both written and verbal consent prior to participating in the studyregarding public data sharing.## Citation1234516 unmodified lines222324252627282930313233343536373839404142431 unmodified line4546474849505152535455565758596061626364656667686970717273747576777879808182838419 unmodified lines1041051061071081091101111121131141151161171182 unmodified lines1211221231241251261275 unmodified lines1331341351361371381391401411421431441451461471481491501515 unmodified lines157158159160161162163164165166167168169170171172173---name: waterloo-carotidpretty_name: UW-CarotidRFlicense: cc-by-4.0task_categories:16 unmodified lines# UW-Carotid RF*Cine loop of [`data/Acq1.hdf5`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/waterloo-carotid/data/Acq1.hdf5), rendered using provided velocity fields.*## Dataset DescriptionRaw RF frames (plane wave) and vector flow profiles of the human carotid arteries, acquired in vivo by the LITMUS research group at the University of Waterloo with a programmable research scanner configured for high-frame-rate vector flow imaging. The dataset holds longitudinal images of the common carotid artery and cross-sectional images of the internal carotid artery, recorded to study carotid hemodynamics at baseline and during physiological maneuvers (Valsalva maneuver, head-down tilt, and supine postures).## Dataset Contributor(s)- Hassan Nahas <hassan.nahas@uwaterloo.ca>- Jason Y. -H. Hsu <jason.hsu@uwaterloo.ca>- Theresa Gu <theresa.gu@uwaterloo.ca>- Adrian J. Y. Chee <adrian.chee@uwaterloo.ca>- Alfred C. H. Yu <alfred.yu@uwaterloo.ca>- LITMUS, University of Waterloo## Dataset Creation Date1 unmodified line## License / Terms of Use[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.## Intended UsageDeveloping, benchmarking, and evaluating methods for ultrasound image reconstruction, motion estimation, clutter filtering, multi-angle Doppler processing, and vector flow imaging (VFI) in carotid artery imaging.## Dataset Characterization- **Data Collection Method:** In vivo imaging of human carotid arteries (Common Carotid Artery and Internal Carotid Artery).- **Labeling Method:** Categorized by target artery (Anatomy), view direction (Longitudinal or Cross-sectional), and physiological condition/maneuver (Baseline, Valsalva Maneuver, Valsalva Maneuver – Supine, Valsalva Maneuver – Head Down Tilt, Head Down Tilt).- **Acquisition system:** Raw RF data was acquired from programmable research scanners (US4R/US4R-Lite, US4US, Warsaw, Poland) equipped with an L14-5 linear array transducer.## Processing the DatasetThe acquisitions can be processed with the `pipeline.yaml` definition in this folder and the [zea library](https://github.com/tue-bmd/zea).`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:```bashzea process \--dataset hf://nvidia/OpenH-RF/waterloo-carotid/data/Acq1.hdf5 \--config hf://nvidia/OpenH-RF/waterloo-carotid/pipeline.yaml \--n-frames 1 \--save-as png```Alternatively, you can use the `reconstruct.py` [script](https://github.com/open-h/OpenH-RF/blob/main/datasets/waterloo-carotid/reconstruct.py) as provided in the [OpenH-RF GitHub repository](https://github.com/open-h/OpenH-RF).Swap `--n-frames 1 --save-as png` for `--save-as gif` to get the cine loop. In the script, `ZEA_FILE`, `FRAME` and `POWER_THRESHOLD` (the power-Doppler mask threshold, in dB) at the top select what is reconstructed and overlaid.## Dataset Format[zea v0.1.4](https://github.com/tue-bmd/zea)Submitted in the [`zea` file format](https://zea.readthedocs.io/en/latest/) (one HDF5 file per acquisition).Per-sample contents of the converted HDF5:19 unmodified lines| `data/color_doppler` | `[n_frames, z, x]` (+ `coordinates` `[z, x, 3]`) | float32 | m/s | Color Doppler map || `scan/*` | -- | -- | -- | Probe geometry, sampling/center/demodulation frequency, t0 delays, sound speed, transmit angles, focus distances, transmit origins, apodizations, PRI... |All `coordinates` arrays are per-pixel Cartesian positions in meters, last axis `[x, y, z]` (y = 0 for 2-D maps).## Dataset Quantification**Current OpenH-RF release:** 93 HDF5 files; 6.90 TB (6,902,089,770,179 bytes) stored; root `zea_version` **0.1.4**. 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.Data was collected from 8 participants, spanning carotid arteries (Common Carotid Artery and Internal Carotid Artery) in both longitudinal and cross-sectional views. In total, the dataset consists of 93 acquisitions, containing 30,000 or 36,000 frames of raw RF data per acquisition (47 acquisitions of 30,000 frames and 46 of 36,000 frames).Each common carotid artery frame comprises 2 steered plane-wave transmits (`n_tx = 2`), 2048 axial samples, and 128 receive channels. Each internal carotid artery frame comprises 1 steered plane-wave transmits (`n_tx = 1`), 1536 axial samples, and 128 receive channels.## Subject Metadata2 unmodified lines| **Total Number of Subjects** | 8 || **Total Number of Files (Acquisitions)** | 93 || **Sex Composition** | M: 6 (75.0%), F: 2 (25.0%) || **Total RF Frames** | 3,066,000 |## Known Issues5 unmodified lines## Beamforming and Processing1. **Pre-Filtering:** Channel RF data is pre-filtered using a 5 MHz bandpass filter before beamforming.2. **GPU-Accelerated Beamforming (DAS):** Beamforming is carried out via a GPU-accelerated Delay-and-Sum (DAS) module.- **Aperture & Apodization:** 64-element Hanning window apodization and an F-number of 1.5.- **Dual Angle-Compounding:** Beamforming for B-mode and power Doppler is performed twice with opposite receive angles ($+15^{\circ}$ and $-15^{\circ}$). The final high-resolution beamformed image (HRI) is the average of these two acquisitions:$$HRI = \frac{HRI_{+15^{\circ}} + HRI_{-15^{\circ}}}{2}$$- **Reconstruction Grid:** Cartesian coordinates mapped by a `PixelMap` representing a lateral range of $[-19, 19]\text{ mm}$ and axial depth of $[0, 30]\text{ mm}$ at $0.1\text{ mm}$ spatial resolution.3. **Clutter Filtering:** Clutter filtering is performed on the beamformed ensemble using a high-pass wall filter (normalized cut-off frequencies of 0.1 and 0.15, attenuation of 100 db).4. **Multi-Angle Doppler Frequency Estimation:** Angle-specific Doppler frequencies are computed using an ensemble size of 64 frames with a step size of 1.- For acquisitions with 2 tx angles, we used the following Tx-Rx angles: Tx: [-10°, -10°, 10°, 10°]; Rx: [-10°, 10°, -10°, 10°]- For acquisitions with 1 tx angle: Tx: [-10°, -10°, -10°]; Rx: [-10°, 0°, 10°]5. **Vector Doppler Velocity Estimation:** Lateral ($v_x$) and axial ($v_z$) velocity components are computed from the multi-angle Doppler frequency estimates using least-squares estimation.The full LITMUS processing pipeline (GPU DAS beamforming + multi-angle vector Doppler) is documented by the contributors. That documentation is provided for provenance and reproducibility; it depends on the LITMUS core Python package and the raw acquisition frames, so it is not runnable from this folder alone.Papers relevant to our pipeline:5 unmodified lines## Data Validation`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 (LITMUS) B-mode is a sanity check that the acquisition parameters and probe geometry are recorded correctly, and serves as a reproducible reference reconstruction.When the vector-flow fields (`vector_velocity_x/z` + `power_doppler`) are present, a third panel overlays the vector velocity field on the stored B-mode. The overlay uses `draw_velocity_field`, a single self-contained (numpy + matplotlib) helper reproduced inside `reconstruct.py` from the LITMUS core Python package (`litmus.core_py.visualization`), so the script has no dependency on the full LITMUS GPU stack.The result is written to `reconstruct_output.png`:## Ethical ConsiderationsAll human studies were approved by the University of Waterloo’s Human Research Ethics Board (ORE #46278). All included data was acquired from participants who provided both written and verbal consent prior to participating in the study regarding public data sharing.## Citation
17 unmodified lines18192021222317 unmodified lines- 1.0- log_compressparameters:dynamic_range:- -50- 017 unmodified lines181920212223242526272829303117 unmodified lines- 1.0- log_compressparameters:xlims:- -0.019- 0.019zlims:- 0.0- 0.03grid_size_x: 381grid_size_z: 301dynamic_range:- -50- 0
waterloo-carotid/README.md+52-101
waterloo-carotid/assets/Acq1.gifAdded

Large File Pointer Details
- SHA256: a7ddc9c3b02950531dc1cfbd1279383d71a886a5c7fb6dd4397a6805620a49a7
- Pointer size: 132 Bytes
- Size of remote file: 3.72 MB
waterloo-carotid/assets/main.pngAdded

Large File Pointer Details
- SHA256: 16bcc813572089e65af87e72c41c70c2d4ce307eb8b065ce185b8342e45e9d77
- Pointer size: 131 Bytes
- Size of remote file: 255 kB
waterloo-carotid/assets/reconstruct_output.pngAdded

Large File Pointer Details
- SHA256: 928d8153e200aa935c32166a8d09235928a74d0531d0924b58d48e53567022ce
- Pointer size: 131 Bytes
- Size of remote file: 429 kB
waterloo-carotid/pipeline.yaml+8