concordia: sync data card and pipeline grid parameters with GitHub
Browse filesSyncs the concordia (SynthUS-FSA) card and pipeline on the Hub with the reviewed state on GitHub (open-h/OpenH-RF).
`pipeline.yaml` gains the `parameters` block the reference images were made with: a 45 x 40 mm field of view starting 10 mm from the transducer face, a 610 x 542 grid so pixels are isotropic at ~74 um (the stored `data/image` grid is 542 x 384 and anisotropic, so rendering it as square pixels stretches the phantom vertically), `f_number: 1.75` and a -60 dB dynamic range. Without these, zea falls back to an aperture-wide, full-depth default grid at `f_number: 1.0`, which does not reproduce the card's figures.
Adds the figures the card shows: `assets/classes.png`, one B-mode per phantom class, and `assets/reference_capture.png`, the per-capture validation figure that overlays label, reconstruction and scatterer cloud on shared mm axes. The card previously pointed at an `examples/` folder that is not published; it now points at `assets/`. `assets/main.png` is the release image and is not embedded in the card.
The card also gains a title, the class montage, and the `zea process` one-liner that renders `data/image_0005.hdf5` straight from the Hub.
Files changed: 5.
```
+ concordia/assets/classes.png
+ concordia/assets/main.png
+ concordia/assets/reference_capture.png
~ concordia/README.md
~ concordia/pipeline.yaml
```
- concordia/README.md +19 -2
- concordia/assets/classes.png +3 -0
- concordia/assets/main.png +3 -0
- concordia/assets/reference_capture.png +3 -0
- concordia/pipeline.yaml +21 -0
|
@@ -16,6 +16,24 @@ size_categories:
|
|
| 16 |
- 1K<n<10K
|
| 17 |
---
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
## Dataset Description
|
| 20 |
|
| 21 |
SynthUS-FSA is a fully synthetic corpus of pre-beamformed full-synthetic-aperture (FSA)
|
|
@@ -259,8 +277,7 @@ reconstruction on physical mm axes next to the capture's class-specific label
|
|
| 259 |
`data/diverse_source_image` for diverse, none for point-target — and the
|
| 260 |
`data/scatterers` cloud coloured by |amplitude|, all on shared equal-aspect mm
|
| 261 |
axes, confirming the label, reconstruction, and scatterer field are spatially
|
| 262 |
-
registered. `
|
| 263 |
-
each of the five classes.
|
| 264 |
|
| 265 |
## Known Issues
|
| 266 |
|
|
|
|
| 16 |
- 1K<n<10K
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# SynthUS-FSA
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
|
| 23 |
+
The five phantom classes, each reconstructed from `data/raw_data`:
|
| 24 |
+
`image_0005`, `image_0470`, `image_0640`, `image_1100`, `image_1808`.
|
| 25 |
+
|
| 26 |
+
`zea` renders any capture straight from the Hub with the
|
| 27 |
+
`pipeline.yaml` in this folder. Try it out with the following command:
|
| 28 |
+
|
| 29 |
+
```bash
|
| 30 |
+
zea process \
|
| 31 |
+
--dataset hf://nvidia/OpenH-RF/concordia/data/image_0005.hdf5 \
|
| 32 |
+
--config hf://nvidia/OpenH-RF/concordia/pipeline.yaml \
|
| 33 |
+
--n-frames 1 \
|
| 34 |
+
--save-as png
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
## Dataset Description
|
| 38 |
|
| 39 |
SynthUS-FSA is a fully synthetic corpus of pre-beamformed full-synthetic-aperture (FSA)
|
|
|
|
| 277 |
`data/diverse_source_image` for diverse, none for point-target — and the
|
| 278 |
`data/scatterers` cloud coloured by |amplitude|, all on shared equal-aspect mm
|
| 279 |
axes, confirming the label, reconstruction, and scatterer field are spatially
|
| 280 |
+
registered. [`assets/reference_capture.png`](assets/reference_capture.png) is one such figure.
|
|
|
|
| 281 |
|
| 282 |
## Known Issues
|
| 283 |
|
|
Git LFS Details
|
|
Git LFS Details
|
|
Git LFS Details
|
|
@@ -1,3 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
pipeline:
|
| 2 |
operations:
|
| 3 |
- name: keras.ops.cast
|
|
|
|
| 1 |
+
parameters:
|
| 2 |
+
# Imaging FOV: 45 mm lateral x 40 mm axial, starting 10 mm from the
|
| 3 |
+
# transducer face. This is a reconstruction-time choice, not part of the zea
|
| 4 |
+
# scan spec, so without it zea falls back to an aperture-wide, full-depth
|
| 5 |
+
# default grid.
|
| 6 |
+
xlims:
|
| 7 |
+
- -0.0225
|
| 8 |
+
- 0.0225
|
| 9 |
+
zlims:
|
| 10 |
+
- 0.01
|
| 11 |
+
- 0.05
|
| 12 |
+
# Isotropic pixels (~74 um both ways). data/image is stored on a 542 x 384
|
| 13 |
+
# anisotropic grid; rendering that grid as square pixels stretches the
|
| 14 |
+
# phantom vertically.
|
| 15 |
+
grid_size_x: 610
|
| 16 |
+
grid_size_z: 542
|
| 17 |
+
# zea's default is 1.0, which is not what produced the reference images.
|
| 18 |
+
f_number: 1.75
|
| 19 |
+
dynamic_range:
|
| 20 |
+
- -60
|
| 21 |
+
- 0
|
| 22 |
pipeline:
|
| 23 |
operations:
|
| 24 |
- name: keras.ops.cast
|