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
@@ -201,10 +201,10 @@ object that MUST contain a `version` key, the value of which MUST be a string sp
201
201
### "coordinateSystems" metadata
202
202
(coordinate-systems-md)=
203
203
204
-
A `coordinateSystem` is a JSON object with a `name` field and a `axes` field.
204
+
A coordinate system is a JSON object with a `name` field and a `axes` field.
205
205
Every coordinate system:
206
206
- MUST contain the field `name`.
207
-
The value MUST be a non-empty string that is unique among all entries under `coordinateSystems`.
207
+
The value MUST be a non-empty string that is unique among all entries in a `coordinateSystems` array.
208
208
- MUST contain the field `axes`, whose value is an array of valid `axes` (see below).
209
209
The elements of `axes` correspond to the index of each array dimension and coordinates for points in that coordinate system.
210
210
For the below example, the `x` dimension is the last dimension.
@@ -230,7 +230,7 @@ Coordinate Systems metadata example
230
230
The axes of a coordinate system (see below) give information
231
231
about the types, units, and other properties of the coordinate system's dimensions.
232
232
Axis names may contain semantically meaningful information, but can be arbitrary.
233
-
As a result, two coordinate systems that have identical axes in the same order
233
+
As a result, two coordinate systems that have identical axes in the same order
234
234
may not be "the same" in the sense that measurements at the same point
235
235
refer to different physical entities and therefore should not be analyzed jointly.
236
236
Tasks that require images, annotations, regions of interest, etc.,
@@ -334,7 +334,7 @@ Then `dim_0` has length 4, `dim_1` has length 3, and `dim_2` has length 5.
334
334
The axes and their order align with the shape of the corresponding Zarr array,
335
335
and whose data depends on the byte order used to store chunks.
336
336
As described in the [Zarr array metadata](https://zarr.readthedocs.io/en/stable/spec/v3.html#arrays),
337
-
the last dimension of an array in "C" order are stored contiguously on disk or in-memory when directly loaded.
337
+
the last dimension of an array in "C" order are stored contiguously on disk or in-memory when directly loaded.
338
338
339
339
The name and axes names MAY be customized by including a `arrayCoordinateSystem` field
340
340
in the user-defined attributes of the array whose value is a coordinate system object.
@@ -475,7 +475,7 @@ The following transformations are supported:
475
475
|[`byDimension`](#bydimension-md)|`"transformations":List[Transformation]`.<br>Transformations in the array MUST have<br>`"input_axes": List[number]`, <br> and `"output_axes": List[number]`| A high dimensional transformation using lower dimensional transformations on subsets of dimensions. |
476
476
477
477
Implementations SHOULD prefer to store transformations as a sequence of less expressive transformations where possible
478
-
(e.g., sequence[translation, rotation], instead of affine transformation with translation/rotation).
478
+
(e.g., sequence[translation, rotation], instead of affine transformation with translation/rotation).
479
479
480
480
:::{dropdown} Example
481
481
(spec:example:coordinate_transformation_scale)=
@@ -486,7 +486,7 @@ Implementations SHOULD prefer to store transformations as a sequence of less exp
@@ -1269,18 +1269,18 @@ It is stored in a multiple resolution representation.
1269
1269
Each `multiscales` object MUST contain the field `coordinateSystems`,
1270
1270
whose value is an array containing coordinate system metadata
1271
1271
(see [coordinate systems](#coordinate-systems-md)).
1272
+
The following conditions apply to all coordinate systems inside multiscales metadata:
1273
+
1274
+
- The length of `axes` must be between 2 and 5 and MUST be equal to the dimensionality of the Zarr arrays storing the image data (see `datasets:path`).
1275
+
-`axes` MUST contain 2 or 3 entries of `type:space`
1276
+
-`axes` MAY contain one additional entry of `type:time`
1277
+
-`axes` MAY contain one additional entry of `type:channel` or a null / custom type.
1278
+
-`axes` entries MUST be ordered by `type` where the `time` axis must come first (if present),
1279
+
followed by the `channel` or custom axis (if present) and the axes of type `space`.
1280
+
- If there are three spatial axes where two correspond to the image plane (`yx`)
1281
+
and images are stacked along the other (anisotropic) axis (`z`),
1282
+
the spatial axes SHOULD be ordered as `zyx`.
1272
1283
1273
-
The following MUST hold for all coordinate systems inside multiscales metadata.
1274
-
The length of `axes` must be between 2 and 5
1275
-
and MUST be equal to the dimensionality of the Zarr arrays storing the image data (see `datasets:path`).
1276
-
The `axes` MUST contain 2 or 3 entries of `type:space`
1277
-
and MAY contain one additional entry of `type:time`
1278
-
and MAY contain one additional entry of `type:channel` or a null / custom type.
1279
-
In addition, the entries MUST be ordered by `type` where the `time` axis must come first (if present),
1280
-
followed by the `channel` or custom axis (if present) and the axes of type `space`.
1281
-
If there are three spatial axes where two correspond to the image plane (`yx`)
1282
-
and images are stacked along the other (anisotropic) axis (`z`),
1283
-
the spatial axes SHOULD be ordered as `zyx`.
1284
1284
Each `multiscales` object MUST contain the field `datasets`,
1285
1285
which is an array of objects describing the arrays storing the individual resolution levels.
1286
1286
Each object in `datasets` MUST contain the field `path`,
@@ -1500,7 +1500,7 @@ denoting arbitrary metadata associated with that label.
1500
1500
Label-value objects within the `properties` array do not need to have the same keys.
1501
1501
1502
1502
The value of the `source` key MUST be a JSON object containing information about the original image from which the label image derives.
1503
-
This object MAY include a key `image`, whose value MUST be a string specifying the relative path to a Zarr image group.
1503
+
This object MAY include a key `image`, whose value MUST be a string specifying the relative path to a Zarr image group.
1504
1504
The default value is `../../` since most labeled images are stored in a "labels" group that is nested within the original image group.
1505
1505
1506
1506
@@ -1607,10 +1607,10 @@ whose value MUST be an array of JSON objects specifying all fields of views for
1607
1607
Each image object MUST contain a `path` key
1608
1608
whose value MUST be a string specifying the path to the field of view.
1609
1609
The `path` MUST be case-sensitive, and MUST NOT be a duplicate of any other `path` in the `images` list.
1610
-
The `path` MUST follow [Zarr node name naming conventions](https://github.com/zarr-developers/zarr-specs/blob/main/docs/v3/core/index.rst#node-names) including the recommended limitations of characters to ensure consistency across different storage systems and programming languages.
1611
-
Specifically: The `path` MUST NOT consist only of periods (like `.` or `..`) or start with the reserved prefix `__`;
1612
-
The `path` MUST NOT be an empty string and MUST NOT contain `/` characters;
1613
-
The `path` MUST only use characters in the sets `a-z`, `A-Z`, `0-9`, `-`, `_`, `.`.
1610
+
The `path` MUST follow [Zarr node name naming conventions](https://github.com/zarr-developers/zarr-specs/blob/main/docs/v3/core/index.rst#node-names) including the recommended limitations of characters to ensure consistency across different storage systems and programming languages.
1611
+
Specifically: The `path` MUST NOT consist only of periods (like `.` or `..`) or start with the reserved prefix `__`;
1612
+
The `path` MUST NOT be an empty string and MUST NOT contain `/` characters;
1613
+
The `path` MUST only use characters in the sets `a-z`, `A-Z`, `0-9`, `-`, `_`, `.`.
1614
1614
If multiple acquisitions were performed in the plate,
1615
1615
it MUST contain an `acquisition` key whose value MUST be an integer identifying the acquisition
1616
1616
which MUST match one of the acquisition JSON objects defined in the [plate metadata](#plate-md).
@@ -1787,11 +1787,29 @@ but they should be updated in due course.
1787
1787
1788
1788
See [Tools](https://ngff.openmicroscopy.org/tools/index.html).
1789
1789
1790
+
## License
1791
+
1792
+
This specification is derived from the [Community Specification Template](https://www.w3.org/People/Schepers/unoffical_template.html) provided by W3C,
1793
+
under [the following terms](https://www.w3.org/copyright/software-license-2023/):
1794
+
1795
+
> By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions:
1796
+
> Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications:
1797
+
>
1798
+
> The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
1799
+
> Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included.
1800
+
> Notice of any changes or modifications, through a copyright statement on the new code or document such as:
0 commit comments