Add mosaic-intelligence README + pipeline(s) from accepted_submissions
Browse files- mosaic-intelligence/README.md +237 -0
- mosaic-intelligence/pipeline.yaml +37 -0
mosaic-intelligence/README.md
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
name: "OpenH-RF — Mosaic Intelligence / NuevoSono IVUS"
|
| 3 |
+
license: cc-by-4.0
|
| 4 |
+
task_categories:
|
| 5 |
+
- image-segmentation
|
| 6 |
+
tags:
|
| 7 |
+
- ultrasound
|
| 8 |
+
- rf
|
| 9 |
+
- openh-rf
|
| 10 |
+
- IVUS
|
| 11 |
+
- tracked-ultrasound
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Data Card — Mosaic Intelligence / NuevoSono in-vivo IVUS
|
| 15 |
+
|
| 16 |
+
This data card consists of a collection of in-vivo intravascular ultrasound (IVUS) acquisitions from a porcine study. Each acquisition is saved in the *zea* file format. The general dataset sections below (contributors, license, characterization, etc.) apply to all acquisitions, with individual subsections detailing each dataset's specific dimensions and which optional groups are present.
|
| 17 |
+
|
| 18 |
+
There are 9 acquisitions in total:
|
| 19 |
+
|
| 20 |
+
**Group 1: `15_*` acquisitions (untracked, counterclockwise rotation):**
|
| 21 |
+
- `15_10_18_21`
|
| 22 |
+
- `15_10_50_19`
|
| 23 |
+
- `15_16_45_06`
|
| 24 |
+
|
| 25 |
+
**Group 2: `22_*` acquisitions (tracked, linear encoder pullback, clockwise rotation):**
|
| 26 |
+
- `22_12_10_52`
|
| 27 |
+
- `22_12_29_46`
|
| 28 |
+
- `22_12_38_45`
|
| 29 |
+
- `22_13_10_16`
|
| 30 |
+
- `22_13_56_43`
|
| 31 |
+
- `22_14_29_54`
|
| 32 |
+
|
| 33 |
+
## Dataset Description
|
| 34 |
+
|
| 35 |
+
Each dataset is an IVUS acquisition collected in a porcine animal study. The source data consists of raw IVUS RF frames and a pre-computed (scan-converted) B-mode image. Six of the acquisitions have time-sampled linear encoder pullback positions of the IVUS probe at each frame. For each acquisition and for every frame, per-class segmentation masks are provided for the vessel lumen, intima-media, and guidewire.
|
| 36 |
+
|
| 37 |
+
## Dataset Contributors
|
| 38 |
+
|
| 39 |
+
Mosaic Intelligence Labs in collaboration with NuevoSono
|
| 40 |
+
|
| 41 |
+
Primary points of contact:
|
| 42 |
+
Brian Boitnott (1): brian@mosaicintelligence.xyz
|
| 43 |
+
Ali Mackanic (1): ali@mosaicintelligence.xyz
|
| 44 |
+
|
| 45 |
+
## Dataset Creation Date
|
| 46 |
+
|
| 47 |
+
07/17/2026
|
| 48 |
+
|
| 49 |
+
## License / Terms of Use
|
| 50 |
+
|
| 51 |
+
All contributed data, labels, and metadata is released by Mosaic Intelligence Labs
|
| 52 |
+
and NuevoSono under CC BY 4.0.
|
| 53 |
+
Pre-existing hardware, software, simulation, and platform intellectual property
|
| 54 |
+
remain the property of their respective owners. The team agrees to comply with
|
| 55 |
+
OpenH-RF governance, publication, and data-sharing policies. The license is also
|
| 56 |
+
recorded in each file's `metadata/credit` field.
|
| 57 |
+
|
| 58 |
+
## Intended Usage
|
| 59 |
+
|
| 60 |
+
Intended for IVUS tracking and segmentation applications, including lesion
|
| 61 |
+
detection and image-guided intervention.
|
| 62 |
+
|
| 63 |
+
## Dataset Characterization
|
| 64 |
+
|
| 65 |
+
- **Data Collection Method:** Porcine (in-vivo animal study)
|
| 66 |
+
- **Labeling Method:** derived tracking metadata, semi-automated labeling
|
| 67 |
+
- **Acquisition System:** Single-element IVUS, center frequency 30 MHz,
|
| 68 |
+
sampling rate 1 GHz
|
| 69 |
+
|
| 70 |
+
## Dataset Format
|
| 71 |
+
|
| 72 |
+
All acquisitions are submitted in the *zea* file format. The RF data is stored as
|
| 73 |
+
a rotational sequence of A-lines (`n_tx` transmits per frame, one element/channel);
|
| 74 |
+
the accompanying B-mode `image` and `segmentation` masks are pre-computed,
|
| 75 |
+
scan-converted Cartesian frames sharing a per-pixel coordinate grid.
|
| 76 |
+
|
| 77 |
+
### Shared per-sample schema
|
| 78 |
+
|
| 79 |
+
Fields that are in every acquisition:
|
| 80 |
+
|
| 81 |
+
| Group / field | Shape | Dtype | Units | Description |
|
| 82 |
+
|---|---|---|---|---|
|
| 83 |
+
| `data/raw_data` | `[n_frames, n_tx, n_ax, 1, 1]` | float32 | source RF units | Raw IVUS RF frames (single element / channel) |
|
| 84 |
+
| `data/image/values` | `[n_frames, H, W]` | uint8 | — | Pre-computed (scan-converted) B-mode image |
|
| 85 |
+
| `data/image/coordinates` | `[H, W, 3]` | float32 | m | Per-pixel Cartesian positions `(x, y, z)`; cross-section lies in the x-y plane, `z = 0` |
|
| 86 |
+
| `data/segmentation/values` | `[n_frames, H, W, n_labels]` | bool | — | Per-class boolean segmentation masks (one channel per label) |
|
| 87 |
+
| `data/segmentation/coordinates` | `[H, W, 3]` | float32 | m | Same per-pixel grid as `image/coordinates` |
|
| 88 |
+
| `data/segmentation/labels` | `[n_labels]` | str | — | Channel names: `background`, `lumen`, `intima_media`, `guidewire` |
|
| 89 |
+
| `scan/*` | — | mixed | Hz / s / rad / m | Scan metadata (`sampling_frequency`, `center_frequency`, `demodulation_frequency`, `polar_angles`, `t0_delays`, `tx_apodizations`, `focus_distances`, `transmit_origins`, `initial_times`) |
|
| 90 |
+
| `probe/name` | scalar | str | — | Probe name (`NuevoSono IVUS`) |
|
| 91 |
+
| `probe/type` | scalar | str | — | Probe geometry type (`custom`) |
|
| 92 |
+
| `probe/probe_geometry` | `[1, 3]` | float32 | m | Element position (single element at the origin) |
|
| 93 |
+
| `probe/probe_center_frequency` | scalar | float32 | Hz | Nominal center frequency (30 MHz) |
|
| 94 |
+
| `metadata/subject/{id, type}` | scalar | str | — | Subject identifier (`porcine_<acq>`) and type (`animal`) |
|
| 95 |
+
| `metadata/credit` | scalar | str | — | Attribution: `Mosaic Intelligence - NuevoSono IVUS porcine dataset (CC BY 4.0)` |
|
| 96 |
+
| `metadata/text_report` | scalar | str | — | transducer rotation direction |
|
| 97 |
+
| `metadata/rotation/{samples, sampling_frequency, start_time_offset}` | `[1]` / scalar / scalar | float32 | — / Hz / s | Transducer rotation: `samples = +1` clockwise, `-1` counterclockwise |
|
| 98 |
+
| `metadata/pullback_position/{samples, sampling_frequency, start_time_offset}` | `[n_frames]` / scalar / scalar | float32 | m / Hz / s | Linear encoder pullback position per frame (**tracked acquisitions only**) |
|
| 99 |
+
|
| 100 |
+
## Per-dataset details
|
| 101 |
+
|
| 102 |
+
One data card per contributed sub-dataset. All fields follow the shared schema above. `n_ax = 8192`, `n_el = 1`, and `n_labels = 4` (`background`, `lumen`,
|
| 103 |
+
`intima_media`, `guidewire`) for every acquisition.
|
| 104 |
+
|
| 105 |
+
### `15_10_18_21` (untracked, counterclockwise)
|
| 106 |
+
|
| 107 |
+
- Dimensions: `n_frames = 100`, `n_tx = 540`, `H = 985`, `W = 986`
|
| 108 |
+
- Frame rate: ~3.33 Hz
|
| 109 |
+
- Rotation: `metadata/rotation/samples = -1` (counterclockwise); `metadata/text_report = "Transducer rotation direction: counterclockwise."`
|
| 110 |
+
- Tracking: **none** — no `metadata/pullback_position` group (source has no `frameAttributes.txt`)
|
| 111 |
+
- Total size on disk: ~1.45 GB
|
| 112 |
+
- Note: the image/mask grid is non-square (`985 x 986`)
|
| 113 |
+
|
| 114 |
+

|
| 115 |
+
|
| 116 |
+
### `15_10_50_19` (untracked, counterclockwise)
|
| 117 |
+
|
| 118 |
+
- Dimensions: `n_frames = 60`, `n_tx = 360`, `H = 985`, `W = 986`
|
| 119 |
+
- Frame rate: ~3.33 Hz
|
| 120 |
+
- Rotation: `metadata/rotation/samples = -1` (counterclockwise)
|
| 121 |
+
- Tracking: **none** — no `metadata/pullback_position` group
|
| 122 |
+
- Total size on disk: ~0.59 GB
|
| 123 |
+
- Note: the image/mask grid is non-square (`985 x 986`)
|
| 124 |
+
|
| 125 |
+

|
| 126 |
+
|
| 127 |
+
### `15_16_45_06` (untracked, counterclockwise)
|
| 128 |
+
|
| 129 |
+
- Dimensions: `n_frames = 100`, `n_tx = 540`, `H = 985`, `W = 986`
|
| 130 |
+
- Frame rate: ~3.33 Hz
|
| 131 |
+
- Rotation: `metadata/rotation/samples = -1` (counterclockwise)
|
| 132 |
+
- Tracking: **none** — no `metadata/pullback_position` group
|
| 133 |
+
- Total size on disk: ~1.45 GB
|
| 134 |
+
- Note: the image/mask grid is non-square (`985 x 986`)
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
|
| 138 |
+
### `22_12_10_52` (tracked, clockwise)
|
| 139 |
+
|
| 140 |
+
- Dimensions: `n_frames = 150`, `n_tx = 540`, `H = W = 2048`
|
| 141 |
+
- Frame rate: ~3.33 Hz
|
| 142 |
+
- Rotation: `metadata/rotation/samples = +1` (clockwise)
|
| 143 |
+
- Tracking: includes `metadata/pullback_position` `[150]` (linear encoder position per frame)
|
| 144 |
+
- Total size on disk: ~2.41 GB
|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
|
| 148 |
+
### `22_12_29_46` (tracked, clockwise)
|
| 149 |
+
|
| 150 |
+
- Dimensions: `n_frames = 100`, `n_tx = 540`, `H = W = 2048`
|
| 151 |
+
- Frame rate: ~8.33 Hz
|
| 152 |
+
- Rotation: `metadata/rotation/samples = +1` (clockwise)
|
| 153 |
+
- Tracking: includes `metadata/pullback_position` `[100]`
|
| 154 |
+
- Total size on disk: ~1.66 GB
|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
|
| 158 |
+
### `22_12_38_45` (tracked, clockwise)
|
| 159 |
+
|
| 160 |
+
- Dimensions: `n_frames = 150`, `n_tx = 360`, `H = W = 2048`
|
| 161 |
+
- Frame rate: ~8.33 Hz
|
| 162 |
+
- Rotation: `metadata/rotation/samples = +1` (clockwise)
|
| 163 |
+
- Tracking: includes `metadata/pullback_position` `[150]`
|
| 164 |
+
- Total size on disk: ~1.65 GB
|
| 165 |
+
|
| 166 |
+

|
| 167 |
+
|
| 168 |
+
### `22_13_10_16` (tracked, clockwise)
|
| 169 |
+
|
| 170 |
+
- Dimensions: `n_frames = 100`, `n_tx = 540`, `H = W = 2048`
|
| 171 |
+
- Frame rate: ~8.33 Hz
|
| 172 |
+
- Rotation: `metadata/rotation/samples = +1` (clockwise)
|
| 173 |
+
- Tracking: includes `metadata/pullback_position` `[100]`
|
| 174 |
+
- Total size on disk: ~1.54 GB
|
| 175 |
+
|
| 176 |
+

|
| 177 |
+
|
| 178 |
+
### `22_13_56_43` (tracked, clockwise)
|
| 179 |
+
|
| 180 |
+
- Dimensions: `n_frames = 100`, `n_tx = 540`, `H = W = 2048`
|
| 181 |
+
- Frame rate: ~8.33 Hz
|
| 182 |
+
- Rotation: `metadata/rotation/samples = +1` (clockwise)
|
| 183 |
+
- Tracking: includes `metadata/pullback_position` `[100]`
|
| 184 |
+
- Total size on disk: ~1.54 GB
|
| 185 |
+
|
| 186 |
+

|
| 187 |
+
|
| 188 |
+
### `22_14_29_54` (tracked, clockwise)
|
| 189 |
+
|
| 190 |
+
- Dimensions: `n_frames = 150`, `n_tx = 360`, `H = W = 2048`
|
| 191 |
+
- Frame rate: ~3.33 Hz
|
| 192 |
+
- Rotation: `metadata/rotation/samples = +1` (clockwise); `metadata/text_report = "Transducer rotation direction: clockwise."`
|
| 193 |
+
- Tracking: includes `metadata/pullback_position` `[150]`
|
| 194 |
+
- Total size on disk: ~1.71 GB
|
| 195 |
+
|
| 196 |
+

|
| 197 |
+
|
| 198 |
+
## Dataset Quantification
|
| 199 |
+
|
| 200 |
+
- Acquisitions: 9 (3 untracked `15_*`, 6 tracked `22_*`)
|
| 201 |
+
- Frames per acquisition: 60–150 (1010 frames total across all acquisitions)
|
| 202 |
+
- Frame rate: ~3.33 Hz or ~8.33 Hz depending on acquisition (see per-dataset table)
|
| 203 |
+
- Train / validation / test split: N/A
|
| 204 |
+
- Total size on disk: ~14.0 GB across all 9 acquisitions
|
| 205 |
+
|
| 206 |
+
| Acquisition | Frames | `n_tx` | `H x W` | Frame rate | Rotation | Tracking | Size |
|
| 207 |
+
|---|---|---|---|---|---|---|---|
|
| 208 |
+
| `15_10_18_21` | 100 | 540 | 985 x 986 | ~3.33 Hz | counterclockwise | untracked | ~1.45 GB |
|
| 209 |
+
| `15_10_50_19` | 60 | 360 | 985 x 986 | ~3.33 Hz | counterclockwise | untracked | ~0.59 GB |
|
| 210 |
+
| `15_16_45_06` | 100 | 540 | 985 x 986 | ~3.33 Hz | counterclockwise | untracked | ~1.45 GB |
|
| 211 |
+
| `22_12_10_52` | 150 | 540 | 2048 x 2048 | ~3.33 Hz | clockwise | tracked | ~2.41 GB |
|
| 212 |
+
| `22_12_29_46` | 100 | 540 | 2048 x 2048 | ~8.33 Hz | clockwise | tracked | ~1.66 GB |
|
| 213 |
+
| `22_12_38_45` | 150 | 360 | 2048 x 2048 | ~8.33 Hz | clockwise | tracked | ~1.65 GB |
|
| 214 |
+
| `22_13_10_16` | 100 | 540 | 2048 x 2048 | ~8.33 Hz | clockwise | tracked | ~1.54 GB |
|
| 215 |
+
| `22_13_56_43` | 100 | 540 | 2048 x 2048 | ~8.33 Hz | clockwise | tracked | ~1.54 GB |
|
| 216 |
+
| `22_14_29_54` | 150 | 360 | 2048 x 2048 | ~3.33 Hz | clockwise | tracked | ~1.71 GB |
|
| 217 |
+
|
| 218 |
+
## Subject Metadata
|
| 219 |
+
|
| 220 |
+
Animal study data — no human subjects.
|
| 221 |
+
|
| 222 |
+
## Data Validation
|
| 223 |
+
|
| 224 |
+
A `zea.Pipeline` reconstructs the IVUS B-mode from the raw channel data
|
| 225 |
+
(RF → envelope → normalization → log compression → scan conversion). See
|
| 226 |
+
[reconstruct.py](../reconstruct.py) and [pipeline.yaml](../pipeline.yaml). Linear encoder position (when applicable) and segmentation masks are overlayed on the B-modes.
|
| 227 |
+
|
| 228 |
+
## Known Issues
|
| 229 |
+
|
| 230 |
+
- Untracked (`15_*`) acquisitions have no `pullback_position`, so the pullback
|
| 231 |
+
trajectory panel is omitted during reconstruction.
|
| 232 |
+
|
| 233 |
+
## Ethical Considerations
|
| 234 |
+
|
| 235 |
+
Porcine animal study data only; contains no human subjects or PHI. Collected and
|
| 236 |
+
released in compliance with applicable institutional animal care approvals and
|
| 237 |
+
OpenH-RF governance and data-sharing policies.
|
mosaic-intelligence/pipeline.yaml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pipeline:
|
| 2 |
+
operations:
|
| 3 |
+
- name: keras.ops.cast
|
| 4 |
+
params:
|
| 5 |
+
dtype: float32
|
| 6 |
+
- name: band_pass_filter
|
| 7 |
+
params:
|
| 8 |
+
passband:
|
| 9 |
+
- 20000000.0
|
| 10 |
+
- 50000000.0
|
| 11 |
+
- demodulate
|
| 12 |
+
- name: low_pass_filter
|
| 13 |
+
params:
|
| 14 |
+
complex_channels: true
|
| 15 |
+
- name: downsample
|
| 16 |
+
params:
|
| 17 |
+
factor: 32
|
| 18 |
+
- envelope_detect
|
| 19 |
+
- name: normalize
|
| 20 |
+
params:
|
| 21 |
+
output_range:
|
| 22 |
+
- 0.0
|
| 23 |
+
- 1.0
|
| 24 |
+
- log_compress
|
| 25 |
+
# These ops run per-frame (mapped over the batch axis), so axes refer to the
|
| 26 |
+
# per-frame (n_theta, n_rho, 1) array, not the batched tensor.
|
| 27 |
+
- name: keras.ops.squeeze # (n_theta, n_rho, 1) -> (n_theta, n_rho)
|
| 28 |
+
params:
|
| 29 |
+
axis: -1
|
| 30 |
+
- name: keras.ops.transpose # -> (n_rho, n_theta), the layout scan_convert wants
|
| 31 |
+
params:
|
| 32 |
+
axes:
|
| 33 |
+
- 1
|
| 34 |
+
- 0
|
| 35 |
+
- name: scan_convert # polar -> Cartesian; coordinates passed in at run time
|
| 36 |
+
params:
|
| 37 |
+
order: 1
|