weizmann-sampl: sync data card and figures with GitHub
#50
by tristan-deep - opened
weizmann-sampl/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
license: cc-by-4.0
|
| 3 |
-
pretty_name:
|
| 4 |
task_categories:
|
| 5 |
- other
|
| 6 |
tags:
|
|
@@ -10,21 +11,23 @@ tags:
|
|
| 10 |
- thyroid
|
| 11 |
- clinical
|
| 12 |
- zea
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
## Dataset Description
|
| 18 |
|
| 19 |
-
The data set consists of clinical ultrasound channel data acquired
|
| 20 |
-
with a Verasonics Vantage 128 system and an L11-5v linear array probe, imaging
|
| 21 |
-
the thyroid gland of 30 adult healthy volunteers. The scans were carried out by a senior radiologist
|
| 22 |
-
who specializes in ultrasound thyroid imaging. The purpose of the scans is to provide a complete set of channel data of a thyroid gland scan of the full anatomy.
|
| 23 |
|
| 24 |
## Dataset Contributor(s)
|
| 25 |
|
| 26 |
-
Prof. Yonina Eldar's
|
| 27 |
-
|
| 28 |
|
| 29 |
## Dataset Creation Date
|
| 30 |
|
|
@@ -32,30 +35,29 @@ Prof. Yonina Eldar's SAMPLLAB Group, Faculty of Mathematics and Computer Science
|
|
| 32 |
|
| 33 |
## License / Terms of Use
|
| 34 |
|
| 35 |
-
CC
|
| 36 |
-
consent obtained from each subject prior to scanning.
|
| 37 |
|
| 38 |
## Intended Usage
|
| 39 |
|
| 40 |
-
General-purpose ultrasound channel-data foundation model pretraining and
|
| 41 |
-
evaluation — in particular DAS beamforming/reconstruction, inverse speed of sound imaging.
|
| 42 |
-
Suitable as a base for future downstream tasks (e.g. thyroid
|
| 43 |
-
segmentation, nodule detection) if paired with additional annotations from the B-mode images.
|
| 44 |
|
| 45 |
## Dataset Characterization
|
| 46 |
|
| 47 |
- **Data Collection Method:** clinical
|
| 48 |
- **Labeling Method:** N/A — no annotations included
|
| 49 |
-
- **Acquisition system:** Verasonics Vantage 128 system, L11-5v linear array
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
|
|
|
|
|
|
| 54 |
|
| 55 |
## Dataset Format
|
| 56 |
|
| 57 |
-
zea
|
| 58 |
-
|
|
|
|
| 59 |
|
| 60 |
## Dataset Quantification
|
| 61 |
|
|
@@ -69,7 +71,7 @@ the frames prior to workspace parameter freezing were removed from the raw chann
|
|
| 69 |
|
| 70 |
| Field | Shape | Dtype | Units | Description |
|
| 71 |
|---|------------------------------|---|---|---|
|
| 72 |
-
| `tracks/track_0/data/raw_data` | (nframes, 128,
|
| 73 |
| `tracks/track_0/scan/t0_delays` | (128, 128) | float32 | s | Per-transmit, per-element transmit delay |
|
| 74 |
| `tracks/track_0/scan/tx_apodizations` | (128, 128) | float32 | unitless (0-1) | Per-transmit, per-element transmit apodization weight |
|
| 75 |
| `tracks/track_0/scan/polar_angles` | (128,) | float32 | rad | Per-transmit polar steering angle |
|
|
@@ -93,7 +95,6 @@ the frames prior to workspace parameter freezing were removed from the raw chann
|
|
| 93 |
| `metadata/subject/id` | scalar | str | - | De-identified subject code |
|
| 94 |
| `metadata/subject/type` | scalar | str | - | `human` |
|
| 95 |
|
| 96 |
-
|
| 97 |
## Subject Metadata
|
| 98 |
- number of subjects: 30,
|
| 99 |
- age range: 18-65,
|
|
@@ -104,47 +105,20 @@ the frames prior to workspace parameter freezing were removed from the raw chann
|
|
| 104 |
|
| 105 |
## Data Validation
|
| 106 |
|
| 107 |
-
`reconstruct.py` runs the `zea.Pipeline` defined in `pipeline.yaml`, alongside
|
| 108 |
-
this README, to reconstruct a B-mode image from the raw channel data: cast →
|
| 109 |
-
apply window → demodulate → DAS beamform (with native, per-element/per-pixel
|
| 110 |
-
lens correction) → envelope detect → normalize → log compress. See that file
|
| 111 |
-
for the grid size, dynamic range and lens-correction parameters.
|
| 112 |
|
| 113 |
-
|
| 114 |
-
--n-scans 3 --n-frames 3 --seed 0 --output three_patients_grid.png`
|
| 115 |
-
(3 subjects, 3 randomly sampled frames each):
|
| 116 |
|
| 117 |
-

|
| 118 |
|
| 119 |
-
All 9 sampled frames, across 3 different subjects, show consistent diffuse
|
| 120 |
-
in-vivo tissue speckle with no reconstruction artifacts, confirming the
|
| 121 |
-
acquisition geometry, timing metadata, and native lens correction are
|
| 122 |
-
correctly recorded/applied across the released dataset, not just a single
|
| 123 |
-
acquisition.
|
| 124 |
|
| 125 |
## Known Issues
|
| 126 |
|
| 127 |
-
- `decimSampleRate`, `quadDecim`, and `demodFrequency` are absent from the
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
where they were confirmed constant.
|
| 131 |
-
- The default beamforming grid in `pipeline.yaml` (`grid_size_x=300`,
|
| 132 |
-
`grid_size_z=400`) is coarser than the half-wavelength Nyquist rate for
|
| 133 |
-
this probe/frequency; this only affects the resolution of the example
|
| 134 |
-
reconstruction images, not the released raw channel data.
|
| 135 |
-
- The number of frames for each subject is variable, depending on the subject's
|
| 136 |
-
anatomy and the radiologist's scanning protocol. It may also be affected by
|
| 137 |
-
bottlenecks in the Verasonics system's data transfer rate,
|
| 138 |
-
which can cause "dropped frames" when the system cannot keep up with the
|
| 139 |
-
acquisition speed.
|
| 140 |
|
| 141 |
## Ethical Considerations
|
| 142 |
|
| 143 |
-
This acquisition was performed under
|
| 144 |
-
with informed consent obtained from the subject prior to scanning. The
|
| 145 |
-
subjects are identified only by a de-identified code with no directly
|
| 146 |
-
identifying information (name, exact date of birth, medical record number)
|
| 147 |
-
stored in the released file. No `acquisition_time` timestamp is embedded in
|
| 148 |
-
the zea file, consistent with HIPAA Safe Harbor de-identification guidance
|
| 149 |
-
for human-subject data.
|
| 150 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
name: weizmann-sampl
|
| 3 |
license: cc-by-4.0
|
| 4 |
+
pretty_name: "Weizmann SAMPL Thyroid Clinical Scans"
|
| 5 |
task_categories:
|
| 6 |
- other
|
| 7 |
tags:
|
|
|
|
| 11 |
- thyroid
|
| 12 |
- clinical
|
| 13 |
- zea
|
| 14 |
+
language:
|
| 15 |
+
- en
|
| 16 |
---
|
| 17 |
|
| 18 |
+
# Weizmann SAMPL Thyroid Clinical Scans
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
|
| 22 |
+
*Cine loop of a thyroid scan, [`data/30_1.hdf5`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/weizmann-sampl/data/30_1.hdf5), reconstructed from the raw channel data with the `pipeline.yaml` in this folder.*
|
| 23 |
|
| 24 |
## Dataset Description
|
| 25 |
|
| 26 |
+
The data set consists of clinical ultrasound channel data acquired with a Verasonics Vantage 128 system and an L11-5v linear array probe, imaging the thyroid gland of 30 adult healthy volunteers. The scans were carried out by a senior radiologist who specializes in ultrasound thyroid imaging. The purpose of the scans is to provide a complete set of channel data of a thyroid gland scan of the full anatomy.
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
## Dataset Contributor(s)
|
| 29 |
|
| 30 |
+
- Prof. Yonina Eldar's SAMPL Lab Group, Faculty of Mathematics and Computer Science, Weizmann Institute of Science, Rehovot, Israel
|
|
|
|
| 31 |
|
| 32 |
## Dataset Creation Date
|
| 33 |
|
|
|
|
| 35 |
|
| 36 |
## License / Terms of Use
|
| 37 |
|
| 38 |
+
[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.
|
|
|
|
| 39 |
|
| 40 |
## Intended Usage
|
| 41 |
|
| 42 |
+
General-purpose ultrasound channel-data foundation model pretraining and evaluation — in particular DAS beamforming/reconstruction, inverse speed of sound imaging. Suitable as a base for future downstream tasks (e.g. thyroid segmentation, nodule detection) if paired with additional annotations from the B-mode images.
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
## Dataset Characterization
|
| 45 |
|
| 46 |
- **Data Collection Method:** clinical
|
| 47 |
- **Labeling Method:** N/A — no annotations included
|
| 48 |
+
- **Acquisition system:** Verasonics Vantage 128 system, L11-5v linear array probe, center frequency 7.6 MHz (76.8% fractional bandwidth), element width 0.27 mm, aperture width 38.1 mm; RF sampling frequency 31.25 MHz, demodulation frequency 7.8125 MHz, assumed sound speed 1540 m/s.
|
| 49 |
+
|
| 50 |
+
## Processing the Dataset
|
| 51 |
+
|
| 52 |
+
The acquisitions can be processed with the `reconstruct.py` [script](https://github.com/open-h/OpenH-RF/blob/main/datasets/weizmann-sampl/reconstruct.py) as provided in the [OpenH-RF GitHub repository](https://github.com/open-h/OpenH-RF), together with the `pipeline.yaml` definition in this folder and the [zea library](https://github.com/tue-bmd/zea). The script streams the data from the Hugging Face Hub.
|
| 53 |
+
|
| 54 |
+
Set `ZEA_FILE` and `FRAME` at the top of the script to pick a scan and frame; setting `ZEA_FILE = None` switches to the grid modes that sample several scans (see the script docstring).
|
| 55 |
|
| 56 |
## Dataset Format
|
| 57 |
|
| 58 |
+
[zea v0.1.6](https://github.com/tue-bmd/zea)
|
| 59 |
+
|
| 60 |
+
zea file format, one acquisition HDF5 file per subject. Before packaging, the frames prior to workspace parameter freezing were removed from the raw channel data frames.
|
| 61 |
|
| 62 |
## Dataset Quantification
|
| 63 |
|
|
|
|
| 71 |
|
| 72 |
| Field | Shape | Dtype | Units | Description |
|
| 73 |
|---|------------------------------|---|---|---|
|
| 74 |
+
| `tracks/track_0/data/raw_data` | (nframes, 128, 2176, 128, 1) | int16 | ADC counts | Raw per-element RF channel data: (frames, transmits, axial samples, elements, 1); the axial dimension is 2176 in 29 of the 30 acquisitions and 2048 in the remaining one |
|
| 75 |
| `tracks/track_0/scan/t0_delays` | (128, 128) | float32 | s | Per-transmit, per-element transmit delay |
|
| 76 |
| `tracks/track_0/scan/tx_apodizations` | (128, 128) | float32 | unitless (0-1) | Per-transmit, per-element transmit apodization weight |
|
| 77 |
| `tracks/track_0/scan/polar_angles` | (128,) | float32 | rad | Per-transmit polar steering angle |
|
|
|
|
| 95 |
| `metadata/subject/id` | scalar | str | - | De-identified subject code |
|
| 96 |
| `metadata/subject/type` | scalar | str | - | `human` |
|
| 97 |
|
|
|
|
| 98 |
## Subject Metadata
|
| 99 |
- number of subjects: 30,
|
| 100 |
- age range: 18-65,
|
|
|
|
| 105 |
|
| 106 |
## Data Validation
|
| 107 |
|
| 108 |
+
`reconstruct.py` runs the `zea.Pipeline` defined in `pipeline.yaml`, alongside this README, to reconstruct a B-mode image from the raw channel data: cast → apply window → demodulate → DAS beamform (with native, per-element/per-pixel lens correction) → envelope detect → normalize → log compress. See that file for the grid size, dynamic range and lens-correction parameters.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
|
| 110 |
+
Three frames from each of three subjects, reconstructed with the `pipeline.yaml` in this folder:
|
|
|
|
|
|
|
| 111 |
|
| 112 |
+

|
| 113 |
|
| 114 |
+
All 9 sampled frames, across 3 different subjects, show consistent diffuse in-vivo tissue speckle with no reconstruction artifacts, confirming the acquisition geometry, timing metadata, and native lens correction are correctly recorded/applied across the released dataset, not just a single acquisition.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
## Known Issues
|
| 117 |
|
| 118 |
+
- `decimSampleRate`, `quadDecim`, and `demodFrequency` are absent from the raw Verasonics workspace (`BaselineWorkspace.mat`) and were instead sourced from this session's recalibration checkpoint files, where they were confirmed constant.
|
| 119 |
+
- The default beamforming grid in `pipeline.yaml` (`grid_size_x=300`, `grid_size_z=400`) is coarser than the half-wavelength Nyquist rate for this probe/frequency; this only affects the resolution of the example reconstruction images, not the released raw channel data.
|
| 120 |
+
- The number of frames for each subject is variable, depending on the subject's anatomy and the radiologist's scanning protocol. It may also be affected by bottlenecks in the Verasonics system's data transfer rate, which can cause "dropped frames" when the system cannot keep up with the acquisition speed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
## Ethical Considerations
|
| 123 |
|
| 124 |
+
This acquisition was performed under a Weizmann Institute IRB-approved research protocol, with informed consent obtained from the subject prior to scanning. The subjects are identified only by a de-identified code with no directly identifying information (name, exact date of birth, medical record number) stored in the released file. No `acquisition_time` timestamp is embedded in the zea file, consistent with HIPAA Safe Harbor de-identification guidance for human-subject data.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
weizmann-sampl/assets/30_1.gif
ADDED
|
Git LFS Details
|
weizmann-sampl/assets/30_1.png
ADDED
|
Git LFS Details
|
weizmann-sampl/assets/main.png
ADDED
|
Git LFS Details
|
weizmann-sampl/assets/three_patients_grid.png
ADDED
|
Git LFS Details
|