stanford-murine: restructure the data card to the common layout
#55
by tristan-deep - opened
- stanford-murine/README.md +64 -138
stanford-murine/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
license: cc-by-4.0
|
| 3 |
pretty_name: Stanford Murine Liver and Sound-Speed Phantom Ultrasound
|
| 4 |
task_categories:
|
|
@@ -24,28 +25,33 @@ size_categories:
|
|
| 24 |
|
| 25 |
## Dataset Description
|
| 26 |
|
| 27 |
-
This dataset contains pre-beamformed pulse-echo ultrasound channel data from
|
| 28 |
-
murine livers and sound-speed phantoms. The data were acquired on a Verasonics
|
| 29 |
-
Vantage 256 using multifocal, Hadamard-encoded, and full synthetic aperture
|
| 30 |
-
(FSA) transmit sequences. The dataset supports research on beamforming,
|
| 31 |
-
sound-speed estimation, and aberration correction; it is not intended for
|
| 32 |
-
clinical diagnosis.
|
| 33 |
|
| 34 |
The source data are available from Figshare:
|
| 35 |
|
| 36 |
- [Murine liver acquisitions](https://doi.org/10.25452/figshare.plus.28291985)
|
| 37 |
- [Sound-speed phantom and meat-layer acquisitions](https://doi.org/10.25452/figshare.plus.28291988)
|
| 38 |
|
| 39 |
-
The converted
|
| 40 |
-
[nvidia/OpenH-RF/stanford-murine](https://huggingface.co/datasets/nvidia/OpenH-RF/tree/main/stanford-murine).
|
| 41 |
|
| 42 |
-
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
## Dataset Creation Date
|
| 51 |
|
|
@@ -53,7 +59,7 @@ Stanford University. Contact: `jjdahl@stanford.edu`.
|
|
| 53 |
|
| 54 |
## License / Terms of Use
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
## Intended Usage
|
| 59 |
|
|
@@ -64,33 +70,24 @@ The data are intended for development and validation of:
|
|
| 64 |
- aberration correction through tissue or meat layers; and
|
| 65 |
- comparisons among multifocal, Hadamard-encoded, and FSA acquisition schemes.
|
| 66 |
|
| 67 |
-
The provided pipeline is a reference delay-and-sum B-mode reconstruction, not
|
| 68 |
-
a prescribed preprocessing pipeline for model training.
|
| 69 |
|
| 70 |
## Dataset Characterization
|
| 71 |
|
| 72 |
### Data Collection Method
|
| 73 |
|
| 74 |
-
The collection combines in-vivo and post-mortem animal acquisitions with
|
| 75 |
-
table-top phantom acquisitions:
|
| 76 |
|
| 77 |
-
- The murine study contains liver scans from 20 Zucker rats: 4 lean controls
|
| 78 |
-
|
| 79 |
-
- The phantom study contains an ATS 549 phantom and six agarose/graphite
|
| 80 |
-
phantoms with varying n-propanol concentration. Many acquisitions include a
|
| 81 |
-
10–15 mm porcine or galline meat layer as a controlled aberrator.
|
| 82 |
|
| 83 |
### Labeling Method
|
| 84 |
|
| 85 |
-
No image, pixel-wise segmentation, or manual annotation labels are supplied.
|
| 86 |
-
Rat-level sound-speed, fat-percentage, and histopathology measurements are
|
| 87 |
-
derived from the source quantification workbooks when available. Phantom
|
| 88 |
-
sound speeds were measured independently with a through-transmission setup.
|
| 89 |
|
| 90 |
### Acquisition System
|
| 91 |
|
| 92 |
-
All acquisitions use a Verasonics Vantage 256 research scanner. The converted
|
| 93 |
-
demo covers:
|
| 94 |
|
| 95 |
| Probe | Geometry | Elements | Center frequency | Sampling frequency |
|
| 96 |
|---|---|---:|---:|---:|
|
|
@@ -98,18 +95,17 @@ demo covers:
|
|
| 98 |
| L12-3v | Linear | 192 | 6.0 or 7.813 MHz | 25.0 or 31.25 MHz |
|
| 99 |
| L12-5 | Linear | 256 | 7.5 MHz | 31.25 MHz |
|
| 100 |
|
| 101 |
-
Each output file bundles three tracks named `multifocal`, `hadamard`, and
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
is retained in `scan/sound_speed` for reconstruction. It is distinct from the
|
| 107 |
-
post-acquisition liver sound-speed measurements described below.
|
| 108 |
|
| 109 |
## Dataset Format
|
| 110 |
|
| 111 |
-
|
| 112 |
-
|
|
|
|
| 113 |
|
| 114 |
```text
|
| 115 |
(n_frames, n_tx, n_ax, n_el, n_ch)
|
|
@@ -117,34 +113,23 @@ order:
|
|
| 117 |
|
| 118 |
The converter:
|
| 119 |
|
| 120 |
-
1. reads every acquired Verasonics receive-buffer frame, limited to the sample
|
| 121 |
-
|
| 122 |
-
2. coherently averages duplicate physical elements from overlapping receive
|
| 123 |
-
apertures while retaining full amplitude for elements recorded once;
|
| 124 |
3. decodes the positive/negative Hadamard acquisitions;
|
| 125 |
-
4. trims axial samples that are zero across every frame, transmit, element, and
|
| 126 |
-
channel; and
|
| 127 |
5. stores the resulting RF channel data as `float32`.
|
| 128 |
|
| 129 |
-
The `float32` dtype is intentional. Coherent aperture averaging can create
|
| 130 |
-
half-integer samples, and Hadamard decoding can exceed the `int16` range.
|
| 131 |
-
Saving decoded RF as `int16` would round or overflow valid samples.
|
| 132 |
|
| 133 |
-
Reconstructed B-mode images and segmentation masks are not stored in the
|
| 134 |
-
converted files. They are generated separately by the validation pipeline.
|
| 135 |
|
| 136 |
## Dataset Quantification
|
| 137 |
|
| 138 |
**Current OpenH-RF release:** 245 HDF5 files; 328.99 GB (328,985,804,800 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.
|
| 139 |
|
| 140 |
-
The original four-file demo (not the complete HF release summarized above) contains four HDF5 acquisition bundles: one Rat9 bundle
|
| 141 |
-
and one phantom bundle for each of C5-2v, L12-3v, and L12-5. Each bundle has
|
| 142 |
-
three sequence tracks, and each track retains every frame in its source MAT
|
| 143 |
-
file. That demo has 12 tracks and 64 frames and occupies approximately
|
| 144 |
-
5.5 GiB; HDF5 writer and compression versions may change the exact byte count.
|
| 145 |
|
| 146 |
-
The two complete source Figshare records contain approximately 491.9 GB in
|
| 147 |
-
total. No train, validation, or test split is defined. The current converted-release size and file count are reported above; the scripts do not assign learning splits.
|
| 148 |
|
| 149 |
Representative `raw_data` shapes in the demo are:
|
| 150 |
|
|
@@ -155,13 +140,7 @@ Representative `raw_data` shapes in the demo are:
|
|
| 155 |
| Phantom, L12-3v | `(2, 576, 1613, 192, 1)` | `(2, 192, 1613, 192, 1)` | `(10, 192, 1613, 192, 1)` |
|
| 156 |
| Phantom, L12-5 | `(2, 512, 2018, 256, 1)` | `(2, 256, 2018, 256, 1)` | `(2, 256, 2018, 256, 1)` |
|
| 157 |
|
| 158 |
-
The Rat9 multifocal sequence uses the three focal depths programmed in the
|
| 159 |
-
source MAT file: 17.74, 29.57, and 41.39 mm. Its programmed imaging range
|
| 160 |
-
extends to 50.46 mm, so all three foci are intentional. The stored RF tensor
|
| 161 |
-
ends near 21.24 mm because samples beyond that depth are zero across every
|
| 162 |
-
transmit and receive channel and the converter removes this all-zero tail.
|
| 163 |
-
The focal metadata are retained even when a focus lies beyond the remaining
|
| 164 |
-
nonzero RF support.
|
| 165 |
|
| 166 |
Core per-track features are:
|
| 167 |
|
|
@@ -181,12 +160,7 @@ Core per-track features are:
|
|
| 181 |
|
| 182 |
## Subject Metadata
|
| 183 |
|
| 184 |
-
The source murine cohort contains 4 lean Zucker rats (2 male and 2 female) and
|
| 185 |
-
16 obese Zucker rats (8 male and 8 female), beginning at 13 weeks of age. The
|
| 186 |
-
obese animals were fed a high-fat diet for up to eight weeks. Converted rat
|
| 187 |
-
files store the rat identifier and, when present in the source workbooks, sex,
|
| 188 |
-
fat percentage, measured liver sound speed, weight, diet duration, and
|
| 189 |
-
histopathology-derived values.
|
| 190 |
|
| 191 |
Values with standard DataSpec fields are stored under `metadata/subject`:
|
| 192 |
|
|
@@ -196,30 +170,13 @@ Values with standard DataSpec fields are stored under `metadata/subject`:
|
|
| 196 |
| `weight` | `float32` | kg | Animal weight, converted from workbook grams |
|
| 197 |
| `sex` | string | unitless | Sex reported by the source workbook |
|
| 198 |
|
| 199 |
-
Other workbook measurements are scalar `float32` datasets under
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
sequence-specific local and global sound-speed estimates, liver-lobe
|
| 203 |
-
sound-speed measurements when available, diet duration, fat-percentage
|
| 204 |
-
uncertainty, water temperature, and quantitative histopathology scores. The
|
| 205 |
-
workbook's non-fat percentage is omitted because it is exactly
|
| 206 |
-
`100 - metadata/subject/fat_percentage` for every rat. These measurements are
|
| 207 |
-
scalars rather than homogeneous `sos_map` images because the source provides
|
| 208 |
-
no spatial coordinates for these rat-level measurements.
|
| 209 |
-
|
| 210 |
-
The phantom data contain no human subjects. Phantom identifiers describe the
|
| 211 |
-
probe, material configuration, meat layer, and acquisition session. The source
|
| 212 |
-
records report independently measured phantom and meat-layer sound speeds and
|
| 213 |
-
temperature-dependent uncertainties.
|
| 214 |
|
| 215 |
## Data Validation
|
| 216 |
|
| 217 |
-
The reconstruction path uses the first stored frame and a zea `Pipeline`: RF
|
| 218 |
-
demodulation and baseband FIR filtering, delay-and-sum beamforming, envelope
|
| 219 |
-
detection, maximum normalization, and log compression. The pipeline YAML files
|
| 220 |
-
use three pixels per acoustic wavelength and disable pressure-field weighting.
|
| 221 |
-
Beamforming is split into bounded patches so the deepest C5-2v grid fits on a
|
| 222 |
-
24 GB GPU.
|
| 223 |
|
| 224 |
From the repository root, generate the demo files and reference images with:
|
| 225 |
|
|
@@ -237,8 +194,7 @@ python examples/stanford/stitch.py --dataset rat --demo --rat-id 9
|
|
| 237 |
python examples/stanford/stitch.py --dataset phantom --demo
|
| 238 |
```
|
| 239 |
|
| 240 |
-
The reconstructed PNGs and demodulated spectra are written under
|
| 241 |
-
`examples/stanford/outputs`. The stitched review documents are:
|
| 242 |
|
| 243 |
- `examples/stanford/outputs/RatExperiments/all_bmode_reconstructions.pdf`
|
| 244 |
- `examples/stanford/outputs/SoSExperiments/all_sos_bmode_reconstructions.pdf`
|
|
@@ -247,39 +203,22 @@ The reconstruction scripts are validated with zea 0.1.4.
|
|
| 247 |
|
| 248 |
## Known Issues
|
| 249 |
|
| 250 |
-
- The demo MAT files store `Receive/TGC` profile index 1 but do not store the
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
TGC, but that gain cannot be calibrated or undone from these files alone.
|
| 255 |
-
- Respiratory motion affected early in-vivo rat acquisitions. Later
|
| 256 |
-
acquisitions were made shortly after euthanasia, as described by the source
|
| 257 |
-
record and associated publication.
|
| 258 |
-
- The source record notes settling and slight inhomogeneity in phantom 4 and
|
| 259 |
-
phantom 5.
|
| 260 |
-
- Strong meat/phantom interfaces and curved-probe reverberation can dominate
|
| 261 |
-
individual B-mode images. Reconstruction limits preserve the acquired depth
|
| 262 |
-
rather than cropping those regions automatically.
|
| 263 |
- The data contain no image or segmentation ground truth.
|
| 264 |
|
| 265 |
## Ethical Considerations
|
| 266 |
|
| 267 |
-
No human data are included. The murine study was approved by Stanford
|
| 268 |
-
University's Institutional Administrative Panel on Laboratory Animal Care.
|
| 269 |
-
Animals were scanned under 2% isoflurane anesthesia on a heated platform with
|
| 270 |
-
continuous temperature monitoring; the associated publication describes the
|
| 271 |
-
euthanasia and tissue-measurement procedures. The public sources do not state
|
| 272 |
-
an approval number or explicit ARRIVE 2.0 compliance.
|
| 273 |
|
| 274 |
-
The phantom acquisitions require no human- or animal-subject approval. Both
|
| 275 |
-
Figshare records confirm that no human personally identifiable information is
|
| 276 |
-
present.
|
| 277 |
|
| 278 |
## Scripts and Paths
|
| 279 |
|
| 280 |
- `download.py`: download the raw Figshare demo subset or full records.
|
| 281 |
-
- `download_figshare_full.sh`: resumably mirror both full Figshare records to
|
| 282 |
-
`/ultra20/figshare` with progress and checksum verification.
|
| 283 |
- `convert.py`: convert source MAT files to zea HDF5.
|
| 284 |
- `reconstruct.py`: reconstruct HDF5 tracks to B-mode PNGs and spectra.
|
| 285 |
- `stitch.py`: combine PNGs into review PDFs.
|
|
@@ -306,39 +245,26 @@ python examples/stanford/stitch.py --dataset rat --full
|
|
| 306 |
python examples/stanford/stitch.py --dataset phantom --full
|
| 307 |
```
|
| 308 |
|
| 309 |
-
To resume an interrupted conversion without rewriting completed bundles, add
|
| 310 |
-
`--skip-existing`. A bundle is skipped only when both its atomic HDF5 output
|
| 311 |
-
and text summary are present.
|
| 312 |
|
| 313 |
-
To keep a separate, resumable mirror of both complete Figshare records under
|
| 314 |
-
`/ultra20/figshare`, with per-file and overall progress bars plus size and MD5
|
| 315 |
-
verification, run:
|
| 316 |
|
| 317 |
```bash
|
| 318 |
examples/stanford/download_figshare_full.sh
|
| 319 |
```
|
| 320 |
|
| 321 |
-
This writes `RatExperiments_download` and `SoSExperiments_download`. Use
|
| 322 |
-
`examples/stanford/download_figshare_full.sh --dry-run` to validate and
|
| 323 |
-
summarize the public records without downloading them.
|
| 324 |
|
| 325 |
-
Use `--min-rat N` or `--rat-id N` with `convert.py` to limit rat conversion.
|
| 326 |
-
Raw MAT files remain local; `upload.py` selects converted HDF5 files and
|
| 327 |
-
documentation explicitly.
|
| 328 |
|
| 329 |
## Citation
|
| 330 |
|
| 331 |
Please cite the applicable source dataset and its associated publication:
|
| 332 |
|
| 333 |
-
- Telichko, A. V. et al. (2025). *Pulse-Echo Ultrasound Murine In Vivo
|
| 334 |
-
|
| 335 |
-
- Ali, R. et al. (2025). *Pulse-Echo Ultrasound Sound Speed Phantom and Meat
|
| 336 |
-
Aberrating Layer Acquisitions*. Figshare+.
|
| 337 |
<https://doi.org/10.25452/figshare.plus.28291988.v1>
|
| 338 |
-
- Telichko, A. V. et al. “Noninvasive Estimation of Local Speed of Sound by
|
| 339 |
-
Pulse-Echo Ultrasound in a Rat Model of Nonalcoholic Fatty Liver.” *Physics
|
| 340 |
-
in Medicine & Biology* 67(1), 015007 (2022).
|
| 341 |
<https://doi.org/10.1088/1361-6560/ac4562>
|
| 342 |
-
- Ali, R. et al. “Local Sound Speed Estimation for Pulse-Echo Ultrasound in
|
| 343 |
-
Layered Media.” *IEEE TUFFC* 69(2), 500–511 (2022).
|
| 344 |
<https://doi.org/10.1109/TUFFC.2021.3124479>
|
|
|
|
| 1 |
---
|
| 2 |
+
name: stanford-murine
|
| 3 |
license: cc-by-4.0
|
| 4 |
pretty_name: Stanford Murine Liver and Sound-Speed Phantom Ultrasound
|
| 5 |
task_categories:
|
|
|
|
| 25 |
|
| 26 |
## Dataset Description
|
| 27 |
|
| 28 |
+
This dataset contains pre-beamformed pulse-echo ultrasound channel data from murine livers and sound-speed phantoms. The data were acquired on a Verasonics Vantage 256 using multifocal, Hadamard-encoded, and full synthetic aperture (FSA) transmit sequences. The dataset supports research on beamforming, sound-speed estimation, and aberration correction; it is not intended for clinical diagnosis.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
The source data are available from Figshare:
|
| 31 |
|
| 32 |
- [Murine liver acquisitions](https://doi.org/10.25452/figshare.plus.28291985)
|
| 33 |
- [Sound-speed phantom and meat-layer acquisitions](https://doi.org/10.25452/figshare.plus.28291988)
|
| 34 |
|
| 35 |
+
The original Figshare releases were published under Apache 2.0; this converted release is CC BY 4.0.
|
|
|
|
| 36 |
|
| 37 |
+
The converted dataset is hosted at [nvidia/OpenH-RF/stanford-murine](https://huggingface.co/datasets/nvidia/OpenH-RF/tree/main/stanford-murine).
|
| 38 |
|
| 39 |
+
## Dataset Contributor(s)
|
| 40 |
+
|
| 41 |
+
The source datasets were created at Stanford University (Dahl Lab):
|
| 42 |
+
|
| 43 |
+
- Arsenii V. Telichko
|
| 44 |
+
- Rehman Ali
|
| 45 |
+
- Andrew Andrzejek
|
| 46 |
+
- Thurston Brevett
|
| 47 |
+
- Benjamin N. Frey
|
| 48 |
+
- Brian Boitnott
|
| 49 |
+
- Jihye Baek
|
| 50 |
+
- Louise Zhuang
|
| 51 |
+
- Hoda Hashemi
|
| 52 |
+
- Jun Hong Park
|
| 53 |
+
- Caelia Thomas
|
| 54 |
+
- Jeremy Dahl <jjdahl@stanford.edu> (contact)
|
| 55 |
|
| 56 |
## Dataset Creation Date
|
| 57 |
|
|
|
|
| 59 |
|
| 60 |
## License / Terms of Use
|
| 61 |
|
| 62 |
+
[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.
|
| 63 |
|
| 64 |
## Intended Usage
|
| 65 |
|
|
|
|
| 70 |
- aberration correction through tissue or meat layers; and
|
| 71 |
- comparisons among multifocal, Hadamard-encoded, and FSA acquisition schemes.
|
| 72 |
|
| 73 |
+
The provided pipeline is a reference delay-and-sum B-mode reconstruction, not a prescribed preprocessing pipeline for model training.
|
|
|
|
| 74 |
|
| 75 |
## Dataset Characterization
|
| 76 |
|
| 77 |
### Data Collection Method
|
| 78 |
|
| 79 |
+
The collection combines in-vivo and post-mortem animal acquisitions with table-top phantom acquisitions:
|
|
|
|
| 80 |
|
| 81 |
+
- The murine study contains liver scans from 20 Zucker rats: 4 lean controls and 16 obese animals used as a model of hepatic steatosis.
|
| 82 |
+
- The phantom study contains an ATS 549 phantom and six agarose/graphite phantoms with varying n-propanol concentration. Many acquisitions include a 10–15 mm porcine or galline meat layer as a controlled aberrator.
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
### Labeling Method
|
| 85 |
|
| 86 |
+
No image, pixel-wise segmentation, or manual annotation labels are supplied. Rat-level sound-speed, fat-percentage, and histopathology measurements are derived from the source quantification workbooks when available. Phantom sound speeds were measured independently with a through-transmission setup.
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
### Acquisition System
|
| 89 |
|
| 90 |
+
All acquisitions use a Verasonics Vantage 256 research scanner. The converted demo covers:
|
|
|
|
| 91 |
|
| 92 |
| Probe | Geometry | Elements | Center frequency | Sampling frequency |
|
| 93 |
|---|---|---:|---:|---:|
|
|
|
|
| 95 |
| L12-3v | Linear | 192 | 6.0 or 7.813 MHz | 25.0 or 31.25 MHz |
|
| 96 |
| L12-5 | Linear | 256 | 7.5 MHz | 31.25 MHz |
|
| 97 |
|
| 98 |
+
Each output file bundles three tracks named `multifocal`, `hadamard`, and `synthetic_aperture`. Transmit delays, transmit apodization, focal distances, origins, receive initial times, probe geometry, acquisition sound speed, and sampling frequencies are read from the corresponding MAT file. For the rat acquisitions, the Verasonics sound-speed setting is 1540 m/s; this is retained in `scan/sound_speed` for reconstruction. It is distinct from the post-acquisition liver sound-speed measurements described below.
|
| 99 |
+
|
| 100 |
+
## Processing the Dataset
|
| 101 |
+
|
| 102 |
+
The acquisitions can be processed with the `reconstruct.py` [script](https://github.com/open-h/OpenH-RF/blob/main/datasets/stanford-murine/reconstruct.py) as provided in the [OpenH-RF GitHub repository](https://github.com/open-h/OpenH-RF), together with the `pipeline_multifocal.yaml`, `pipeline_hadamard.yaml` and `pipeline_synthetic_aperture.yaml` definitions in this folder and the [zea library](https://github.com/tue-bmd/zea). The script streams the data from the Hugging Face Hub; each file bundles the three tracks, and the script reconstructs every track with its own pipeline and writes one image per track to `assets/`.
|
|
|
|
|
|
|
| 103 |
|
| 104 |
## Dataset Format
|
| 105 |
|
| 106 |
+
[zea v0.1.4](https://github.com/tue-bmd/zea)
|
| 107 |
+
|
| 108 |
+
Converted data use the zea HDF5 representation. Channel samples have dimension order:
|
| 109 |
|
| 110 |
```text
|
| 111 |
(n_frames, n_tx, n_ax, n_el, n_ch)
|
|
|
|
| 113 |
|
| 114 |
The converter:
|
| 115 |
|
| 116 |
+
1. reads every acquired Verasonics receive-buffer frame, limited to the sample interval referenced by each sequence's Receive metadata;
|
| 117 |
+
2. coherently averages duplicate physical elements from overlapping receive apertures while retaining full amplitude for elements recorded once;
|
|
|
|
|
|
|
| 118 |
3. decodes the positive/negative Hadamard acquisitions;
|
| 119 |
+
4. trims axial samples that are zero across every frame, transmit, element, and channel; and
|
|
|
|
| 120 |
5. stores the resulting RF channel data as `float32`.
|
| 121 |
|
| 122 |
+
The `float32` dtype is intentional. Coherent aperture averaging can create half-integer samples, and Hadamard decoding can exceed the `int16` range. Saving decoded RF as `int16` would round or overflow valid samples.
|
|
|
|
|
|
|
| 123 |
|
| 124 |
+
Reconstructed B-mode images and segmentation masks are not stored in the converted files. They are generated separately by the validation pipeline.
|
|
|
|
| 125 |
|
| 126 |
## Dataset Quantification
|
| 127 |
|
| 128 |
**Current OpenH-RF release:** 245 HDF5 files; 328.99 GB (328,985,804,800 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.
|
| 129 |
|
| 130 |
+
The original four-file demo (not the complete HF release summarized above) contains four HDF5 acquisition bundles: one Rat9 bundle and one phantom bundle for each of C5-2v, L12-3v, and L12-5. Each bundle has three sequence tracks, and each track retains every frame in its source MAT file. That demo has 12 tracks and 64 frames and occupies approximately 5.5 GiB; HDF5 writer and compression versions may change the exact byte count.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
|
| 132 |
+
The two complete source Figshare records contain approximately 491.9 GB in total. No train, validation, or test split is defined. The current converted-release size and file count are reported above; the scripts do not assign learning splits.
|
|
|
|
| 133 |
|
| 134 |
Representative `raw_data` shapes in the demo are:
|
| 135 |
|
|
|
|
| 140 |
| Phantom, L12-3v | `(2, 576, 1613, 192, 1)` | `(2, 192, 1613, 192, 1)` | `(10, 192, 1613, 192, 1)` |
|
| 141 |
| Phantom, L12-5 | `(2, 512, 2018, 256, 1)` | `(2, 256, 2018, 256, 1)` | `(2, 256, 2018, 256, 1)` |
|
| 142 |
|
| 143 |
+
The Rat9 multifocal sequence uses the three focal depths programmed in the source MAT file: 17.74, 29.57, and 41.39 mm. Its programmed imaging range extends to 50.46 mm, so all three foci are intentional. The stored RF tensor ends near 21.24 mm because samples beyond that depth are zero across every transmit and receive channel and the converter removes this all-zero tail. The focal metadata are retained even when a focus lies beyond the remaining nonzero RF support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
|
| 145 |
Core per-track features are:
|
| 146 |
|
|
|
|
| 160 |
|
| 161 |
## Subject Metadata
|
| 162 |
|
| 163 |
+
The source murine cohort contains 4 lean Zucker rats (2 male and 2 female) and 16 obese Zucker rats (8 male and 8 female), beginning at 13 weeks of age. The obese animals were fed a high-fat diet for up to eight weeks. Converted rat files store the rat identifier and, when present in the source workbooks, sex, fat percentage, measured liver sound speed, weight, diet duration, and histopathology-derived values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
|
| 165 |
Values with standard DataSpec fields are stored under `metadata/subject`:
|
| 166 |
|
|
|
|
| 170 |
| `weight` | `float32` | kg | Animal weight, converted from workbook grams |
|
| 171 |
| `sex` | string | unitless | Sex reported by the source workbook |
|
| 172 |
|
| 173 |
+
Other workbook measurements are scalar `float32` datasets under `custom/rat_quantification/`, each with `unit` and `description` attributes. These include the ground-truth sound-speed mean and standard deviation, sequence-specific local and global sound-speed estimates, liver-lobe sound-speed measurements when available, diet duration, fat-percentage uncertainty, water temperature, and quantitative histopathology scores. The workbook's non-fat percentage is omitted because it is exactly `100 - metadata/subject/fat_percentage` for every rat. These measurements are scalars rather than homogeneous `sos_map` images because the source provides no spatial coordinates for these rat-level measurements.
|
| 174 |
+
|
| 175 |
+
The phantom data contain no human subjects. Phantom identifiers describe the probe, material configuration, meat layer, and acquisition session. The source records report independently measured phantom and meat-layer sound speeds and temperature-dependent uncertainties.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
|
| 177 |
## Data Validation
|
| 178 |
|
| 179 |
+
The reconstruction path uses the first stored frame and a zea `Pipeline`: RF demodulation and baseband FIR filtering, delay-and-sum beamforming, envelope detection, maximum normalization, and log compression. The pipeline YAML files use three pixels per acoustic wavelength and disable pressure-field weighting. Beamforming is split into bounded patches so the deepest C5-2v grid fits on a 24 GB GPU.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
|
| 181 |
From the repository root, generate the demo files and reference images with:
|
| 182 |
|
|
|
|
| 194 |
python examples/stanford/stitch.py --dataset phantom --demo
|
| 195 |
```
|
| 196 |
|
| 197 |
+
The reconstructed PNGs and demodulated spectra are written under `examples/stanford/outputs`. The stitched review documents are:
|
|
|
|
| 198 |
|
| 199 |
- `examples/stanford/outputs/RatExperiments/all_bmode_reconstructions.pdf`
|
| 200 |
- `examples/stanford/outputs/SoSExperiments/all_sos_bmode_reconstructions.pdf`
|
|
|
|
| 203 |
|
| 204 |
## Known Issues
|
| 205 |
|
| 206 |
+
- The demo MAT files store `Receive/TGC` profile index 1 but do not store the selected profile's `TGC/Waveform`. A profile index is not a gain curve, so the converter omits the optional `scan/tgc_gain_curve` field rather than inventing a unity curve. The RF samples already reflect acquisition-time TGC, but that gain cannot be calibrated or undone from these files alone.
|
| 207 |
+
- Respiratory motion affected early in-vivo rat acquisitions. Later acquisitions were made shortly after euthanasia, as described by the source record and associated publication.
|
| 208 |
+
- The source record notes settling and slight inhomogeneity in phantom 4 and phantom 5.
|
| 209 |
+
- Strong meat/phantom interfaces and curved-probe reverberation can dominate individual B-mode images. Reconstruction limits preserve the acquired depth rather than cropping those regions automatically.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
- The data contain no image or segmentation ground truth.
|
| 211 |
|
| 212 |
## Ethical Considerations
|
| 213 |
|
| 214 |
+
No human data are included. The murine study was approved by Stanford University's Institutional Administrative Panel on Laboratory Animal Care. Animals were scanned under 2% isoflurane anesthesia on a heated platform with continuous temperature monitoring; the associated publication describes the euthanasia and tissue-measurement procedures. The public sources do not state an approval number or explicit ARRIVE 2.0 compliance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 215 |
|
| 216 |
+
The phantom acquisitions require no human- or animal-subject approval. Both Figshare records confirm that no human personally identifiable information is present.
|
|
|
|
|
|
|
| 217 |
|
| 218 |
## Scripts and Paths
|
| 219 |
|
| 220 |
- `download.py`: download the raw Figshare demo subset or full records.
|
| 221 |
+
- `download_figshare_full.sh`: resumably mirror both full Figshare records to `/ultra20/figshare` with progress and checksum verification.
|
|
|
|
| 222 |
- `convert.py`: convert source MAT files to zea HDF5.
|
| 223 |
- `reconstruct.py`: reconstruct HDF5 tracks to B-mode PNGs and spectra.
|
| 224 |
- `stitch.py`: combine PNGs into review PDFs.
|
|
|
|
| 245 |
python examples/stanford/stitch.py --dataset phantom --full
|
| 246 |
```
|
| 247 |
|
| 248 |
+
To resume an interrupted conversion without rewriting completed bundles, add `--skip-existing`. A bundle is skipped only when both its atomic HDF5 output and text summary are present.
|
|
|
|
|
|
|
| 249 |
|
| 250 |
+
To keep a separate, resumable mirror of both complete Figshare records under `/ultra20/figshare`, with per-file and overall progress bars plus size and MD5 verification, run:
|
|
|
|
|
|
|
| 251 |
|
| 252 |
```bash
|
| 253 |
examples/stanford/download_figshare_full.sh
|
| 254 |
```
|
| 255 |
|
| 256 |
+
This writes `RatExperiments_download` and `SoSExperiments_download`. Use `examples/stanford/download_figshare_full.sh --dry-run` to validate and summarize the public records without downloading them.
|
|
|
|
|
|
|
| 257 |
|
| 258 |
+
Use `--min-rat N` or `--rat-id N` with `convert.py` to limit rat conversion. Raw MAT files remain local; `upload.py` selects converted HDF5 files and documentation explicitly.
|
|
|
|
|
|
|
| 259 |
|
| 260 |
## Citation
|
| 261 |
|
| 262 |
Please cite the applicable source dataset and its associated publication:
|
| 263 |
|
| 264 |
+
- Telichko, A. V. et al. (2025). *Pulse-Echo Ultrasound Murine In Vivo Acquisitions*. Figshare+. <https://doi.org/10.25452/figshare.plus.28291985.v1>
|
| 265 |
+
- Ali, R. et al. (2025). *Pulse-Echo Ultrasound Sound Speed Phantom and Meat Aberrating Layer Acquisitions*. Figshare+.
|
|
|
|
|
|
|
| 266 |
<https://doi.org/10.25452/figshare.plus.28291988.v1>
|
| 267 |
+
- Telichko, A. V. et al. “Noninvasive Estimation of Local Speed of Sound by Pulse-Echo Ultrasound in a Rat Model of Nonalcoholic Fatty Liver.” *Physics in Medicine & Biology* 67(1), 015007 (2022).
|
|
|
|
|
|
|
| 268 |
<https://doi.org/10.1088/1361-6560/ac4562>
|
| 269 |
+
- Ali, R. et al. “Local Sound Speed Estimation for Pulse-Echo Ultrasound in Layered Media.” *IEEE TUFFC* 69(2), 500–511 (2022).
|
|
|
|
| 270 |
<https://doi.org/10.1109/TUFFC.2021.3124479>
|