You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.md
+28-29Lines changed: 28 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Examples of transitional metadata include custom additions by implementations th
45
45
Some of the JSON examples in this document include comments.
46
46
However, these are only for clarity purposes and comments MUST NOT be included in JSON objects.
47
47
48
-
# Storage format
48
+
##Storage format
49
49
50
50
OME-Zarr is implemented using the Zarr format as defined by the
51
51
[version 3 of the Zarr specification](https://zarr-specs.readthedocs.io/en/latest/v3/core/v3.0.html).
@@ -56,7 +56,7 @@ An overview of the layout of an OME-Zarr fileset should make understanding the f
56
56
The hierarchy is represented here as it would appear locally
57
57
but could equally be stored on a web server to be accessed via HTTP or in object storage like S3 or GCS.
58
58
59
-
## Images
59
+
###Images
60
60
61
61
The following layout describes the expected Zarr hierarchy for images with multiple levels of resolutions and optionally associated labels.
62
62
Note that the number of dimensions is variable between 2 and 5 and that axis names are arbitrary, see [multiscales metadata](#multiscales-md) for details.
@@ -100,7 +100,7 @@ Note that the number of dimensions is variable between 2 and 5 and that axis nam
100
100
└── ... # are supported.
101
101
```
102
102
103
-
## High-content screening
103
+
###High-content screening
104
104
105
105
The following specification defines the hierarchy for a high-content screening
106
106
dataset. Three groups MUST be defined above the images:
@@ -136,7 +136,7 @@ A well group SHOULD NOT be present if there are no images in the well.
136
136
└── ... # Other rows
137
137
```
138
138
139
-
# OME-Zarr Metadata
139
+
##OME-Zarr Metadata
140
140
(metadata)=
141
141
142
142
The "OME-Zarr Metadata" contains metadata keys as specified below for discovering certain types of data, especially images.
@@ -310,7 +310,7 @@ The continuous rectangle of the pixel is given
310
310
by the half-open interval `[-0.5, 0.5) x [-0.5, 0.5)` (i.e., -0.5 is included, +0.5 is excluded).
311
311
See chapter 4 and figure 4.1 of the ITK Software Guide.
312
312
313
-
## bioformats2raw.layout
313
+
###bioformats2raw.layout
314
314
315
315
(bf2raw)=
316
316
@@ -322,7 +322,7 @@ In order to capture that information within an OME-Zarr dataset, `bioformats2raw
322
322
The bioformats2raw layout has been added to v0.4 as a transitional specification to specify filesets that already exist in the wild.
323
323
An upcoming NGFF specification will replace this layout with explicit metadata.
324
324
325
-
### Layout
325
+
####Layout
326
326
327
327
(bf2raw-layout)=
328
328
@@ -339,7 +339,7 @@ series.ome.zarr # One converted fileset from bioformats2raw
339
339
└── ...
340
340
```
341
341
342
-
### bf2raw-attributes
342
+
####bf2raw-attributes
343
343
(bf2raw-attributes-md)=
344
344
345
345
The OME-Zarr Metadata in the top-level `zarr.json` file must contain the `bioformats2raw.layout` key:
@@ -362,8 +362,7 @@ The OME-Zarr Metadata in the `zarr.json` file within the OME group may contain t
362
362
:language: json
363
363
```
364
364
365
-
### Details
366
-
365
+
#### Details
367
366
(bf2raw-details)=
368
367
369
368
Conforming groups:
@@ -393,7 +392,7 @@ Conforming readers:
393
392
- MAY choose to show all images within the collection or offer the user a choice of images, as with <dfnexport="true"><abbrtitle="High-content screening">HCS</abbr></dfn> plates;
394
393
- MAY ignore other groups or arrays under the root of the hierarchy.
395
394
396
-
## "coordinateTransformations" metadata
395
+
###"coordinateTransformations" metadata
397
396
(coord-trafo-md)=
398
397
399
398
"coordinateTransformations" describe the mapping between two coordinate systems (defined by [coordinateSystems](#coordinate-systems-md)).
@@ -676,7 +675,7 @@ because it is computed with the matrix-vector multiplication:
676
675
677
676
::::
678
677
679
-
### Transformation types
678
+
####Transformation types
680
679
(trafo-types-md)=
681
680
682
681
Input and output dimensionality may be determined by the coordinate system referred to by the `input` and `output` fields, respectively.
@@ -685,7 +684,7 @@ otherwise it is given by the length of `axes` for the coordinate system with the
685
684
If the value of `output` is an array, its shape gives the output dimension,
686
685
otherwise it is given by the length of `axes` for the coordinate system with the name of the `output`.
687
686
688
-
#### identity
687
+
#####identity
689
688
(identity-md)=
690
689
691
690
`identity` transformations map input coordinates to output coordinates without modification.
@@ -712,7 +711,7 @@ y = j
712
711
713
712
::::
714
713
715
-
#### mapAxis
714
+
#####mapAxis
716
715
(mapAxis-md)=
717
716
718
717
`mapAxis` transformations describe axis permutations as a transpose vector of integers.
@@ -774,7 +773,7 @@ z = b
774
773
```
775
774
::::
776
775
777
-
#### translation
776
+
#####translation
778
777
(translation-md)=
779
778
780
779
`translation` transformations are special cases of affine transformations.
@@ -809,7 +808,7 @@ y = j - 1.42
809
808
```
810
809
::::
811
810
812
-
#### scale
811
+
#####scale
813
812
(scale-md)=
814
813
815
814
`scale` transformations are special cases of affine transformations.
@@ -858,7 +857,7 @@ these axes are typically not transformed, but must be represented in the scale p
858
857
```
859
858
::::
860
859
861
-
#### affine
860
+
#####affine
862
861
(affine-md)=
863
862
864
863
`affine`s are [matrix transformations](#matrix-trafo-md) from N-dimensional inputs to M-dimensional outputs.
@@ -951,7 +950,7 @@ these axes are typically not transformed, but must be represented in the transfo
951
950
:language: json
952
951
```
953
952
954
-
#### rotation
953
+
#####rotation
955
954
(rotation-md)=
956
955
957
956
`rotation`s are [matrix transformations](#matrix-trafo-md) that are special cases of affine transformations.
@@ -990,7 +989,7 @@ y = 1*i + 0*j
990
989
```
991
990
::::
992
991
993
-
#### inverseOf
992
+
#####inverseOf
994
993
(inverseOf-md)=
995
994
996
995
An `inverseOf` transformation contains another transformation (often non-linear),
@@ -1021,7 +1020,7 @@ a choice that many users and developers find intuitive.
1021
1020
```
1022
1021
::::
1023
1022
1024
-
#### sequence
1023
+
#####sequence
1025
1024
(sequence-md)=
1026
1025
1027
1026
A `sequence` transformation consists of an ordered array of coordinate transformations,
@@ -1072,7 +1071,7 @@ y = (j + 0.9) * 3
1072
1071
and is invertible.
1073
1072
::::
1074
1073
1075
-
#### coordinates and displacements
1074
+
#####coordinates and displacements
1076
1075
(coordinates-displacements-md)=
1077
1076
1078
1077
`coordinates` and `displacements` transformations store coordinates or displacements in an array
@@ -1286,7 +1285,7 @@ I.e. the y-displacement is first, because the y-axis is the first element of the
1286
1285
1287
1286
::::
1288
1287
1289
-
#### byDimension
1288
+
#####byDimension
1290
1289
(byDimension-md)=
1291
1290
1292
1291
`byDimension` transformations build a high dimensional transformation
@@ -1354,7 +1353,7 @@ Another **invalid** `byDimension` transform:
1354
1353
This transformation is invalid because the output axis `x` appears in more than one transformation in the `transformations` list.
1355
1354
::::
1356
1355
1357
-
#### bijection
1356
+
#####bijection
1358
1357
(bijection-md)=
1359
1358
1360
1359
A bijection transformation is an invertible transformation in
@@ -1390,7 +1389,7 @@ the input and output of the `forward` and `inverse` transformations are understo
1390
1389
```
1391
1390
::::
1392
1391
1393
-
## "multiscales" metadata
1392
+
###"multiscales" metadata
1394
1393
(multiscales-md)=
1395
1394
1396
1395
Metadata about an image can be found under the `multiscales` key in the group-level OME-Zarr Metadata.
@@ -1491,7 +1490,7 @@ if not datasets:
1491
1490
datasets = [x["path"] for x in multiscales[0]["datasets"]]
1492
1491
```
1493
1492
1494
-
## "omero" metadata (transitional)
1493
+
###"omero" metadata (transitional)
1495
1494
(omero-md)=
1496
1495
1497
1496
[=Transitional=] information specific to the channels of an image and how to render it can be found under the "omero" key in the group-level metadata:
@@ -1536,7 +1535,7 @@ which are the minimum and maximum values of the window, respectively.
1536
1535
It MUST also contain the fields "start" and "end",
1537
1536
which are the start and end values of the window, respectively.
1538
1537
1539
-
## "labels" metadata
1538
+
###"labels" metadata
1540
1539
(labels-md)=
1541
1540
1542
1541
In OME-Zarr, Zarr arrays representing pixel-annotation data are stored in a group called "labels".
@@ -1618,7 +1617,7 @@ Pixels with a 1 in the Zarr array, which correspond to cellular space, will be d
1618
1617
````
1619
1618
1620
1619
1621
-
## "plate" metadata
1620
+
###"plate" metadata
1622
1621
(plate-md)=
1623
1622
1624
1623
For high-content screening datasets,
@@ -1703,7 +1702,7 @@ containing one field of view per acquisition.
1703
1702
```
1704
1703
````
1705
1704
1706
-
## "well" metadata
1705
+
###"well" metadata
1707
1706
(well-md)=
1708
1707
1709
1708
For high-content screening datasets,
@@ -1738,14 +1737,14 @@ The first field is part of the first acquisition, and the second field is part o
1738
1737
```
1739
1738
````
1740
1739
1741
-
# Specification naming style
1740
+
##Specification naming style
1742
1741
(naming-style)=
1743
1742
1744
1743
Multi-word keys in this specification should use the `camelCase` style.
1745
1744
NB: some parts of the specification don't obey this convention as they were added before this was adopted,
1746
1745
but they should be updated in due course.
1747
1746
1748
-
# Implementations
1747
+
##Implementations
1749
1748
(implementations-md)=
1750
1749
1751
1750
See [Tools](https://ngff.openmicroscopy.org/tools/index.html).
0 commit comments