Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -110,6 +110,37 @@ After extraction, the dataset can be accessed using libraries supporting OME-Zar
|
|
| 110 |
* `ome-zarr-py`
|
| 111 |
* `dask`
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
## Intended Use
|
| 114 |
|
| 115 |
VoDaSuRe is designed for:
|
|
@@ -120,7 +151,7 @@ VoDaSuRe is designed for:
|
|
| 120 |
|
| 121 |
## Dataset Creation
|
| 122 |
|
| 123 |
-
The dataset was created
|
| 124 |
|
| 125 |
Further details are available in the associated paper and project page.
|
| 126 |
|
|
|
|
| 110 |
* `ome-zarr-py`
|
| 111 |
* `dask`
|
| 112 |
|
| 113 |
+
### Example: Loading sample slices using zarr
|
| 114 |
+
|
| 115 |
+
Below is a minimal example demonstrating how to load and access slices from a single sample.
|
| 116 |
+
|
| 117 |
+
```python
|
| 118 |
+
import zarr
|
| 119 |
+
|
| 120 |
+
# Open a sample from the training split
|
| 121 |
+
z = zarr.open("ome/train/Bamboo_A_bin1x1_ome_1.zarr", mode="r")
|
| 122 |
+
|
| 123 |
+
# Visualize zarr store
|
| 124 |
+
print(z.tree())
|
| 125 |
+
|
| 126 |
+
# High-resolution slice
|
| 127 |
+
img_hr = z["HR/0"][1000, :, :]
|
| 128 |
+
|
| 129 |
+
# Registered low-resolution slice (4x resolution difference)
|
| 130 |
+
img_reg = z["REG/0"][250, :, :]
|
| 131 |
+
|
| 132 |
+
# Unregistered low-resolution slice
|
| 133 |
+
img_lr = z["LR/0"][1000, :, :]
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
### Notes
|
| 137 |
+
|
| 138 |
+
* Volumes are stored in (D, H, W) format, with the first dimension (`D`) corresponding to the slice index
|
| 139 |
+
* Resolution scales for each scan are available via levels 0-3 (`HR/1`, `HR/2`, etc.)
|
| 140 |
+
|
| 141 |
+
⚠️ Be careful with loading full volumes, as this may exceed system memory
|
| 142 |
+
|
| 143 |
+
|
| 144 |
## Intended Use
|
| 145 |
|
| 146 |
VoDaSuRe is designed for:
|
|
|
|
| 151 |
|
| 152 |
## Dataset Creation
|
| 153 |
|
| 154 |
+
The dataset was created by paired high- and low-resolution volumetric acquisition using Lab-CT.
|
| 155 |
|
| 156 |
Further details are available in the associated paper and project page.
|
| 157 |
|