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.,
@@ -426,7 +426,7 @@ The following transformations are supported:
426
426
|[`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. |
427
427
428
428
Implementations SHOULD prefer to store transformations as a sequence of less expressive transformations where possible
429
-
(e.g., sequence[translation, rotation], instead of affine transformation with translation/rotation).
429
+
(e.g., sequence[translation, rotation], instead of affine transformation with translation/rotation).
430
430
431
431
:::{dropdown} Example
432
432
(spec:example:coordinate_transformation_scale)=
@@ -437,7 +437,7 @@ Implementations SHOULD prefer to store transformations as a sequence of less exp
@@ -1315,18 +1315,18 @@ It is stored in a multiple resolution representation.
1315
1315
Each `multiscales` object MUST contain the field `coordinateSystems`,
1316
1316
whose value is an array containing coordinate system metadata
1317
1317
(see [coordinate systems](#coordinate-systems-md)).
1318
+
The following conditions apply to all coordinate systems inside multiscales metadata:
1319
+
1320
+
- 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`).
1321
+
-`axes` MUST contain 2 or 3 entries of `type:space`
1322
+
-`axes` MAY contain one additional entry of `type:time`
1323
+
-`axes` MAY contain one additional entry of `type:channel` or a null / custom type.
1324
+
-`axes` entries MUST be ordered by `type` where the `time` axis must come first (if present),
1325
+
followed by the `channel` or custom axis (if present) and the axes of type `space`.
1326
+
- If there are three spatial axes where two correspond to the image plane (`yx`)
1327
+
and images are stacked along the other (anisotropic) axis (`z`),
1328
+
the spatial axes SHOULD be ordered as `zyx`.
1318
1329
1319
-
The following MUST hold for all coordinate systems inside multiscales metadata.
1320
-
The length of `axes` must be between 2 and 5
1321
-
and MUST be equal to the dimensionality of the Zarr arrays storing the image data (see `datasets:path`).
1322
-
The `axes` MUST contain 2 or 3 entries of `type:space`
1323
-
and MAY contain one additional entry of `type:time`
1324
-
and MAY contain one additional entry of `type:channel` or a null / custom type.
1325
-
In addition, the entries MUST be ordered by `type` where the `time` axis must come first (if present),
1326
-
followed by the `channel` or custom axis (if present) and the axes of type `space`.
1327
-
If there are three spatial axes where two correspond to the image plane (`yx`)
1328
-
and images are stacked along the other (anisotropic) axis (`z`),
1329
-
the spatial axes SHOULD be ordered as `zyx`.
1330
1330
Each `multiscales` object MUST contain the field `datasets`,
1331
1331
which is an array of objects describing the arrays storing the individual resolution levels.
1332
1332
Each object in `datasets` MUST contain the field `path`,
@@ -1342,7 +1342,7 @@ that maps Zarr array coordinates for this resolution level to the "intrinsic" co
1342
1342
The transformation is defined according to [transformations metadata](#trafo-types-md).
1343
1343
The transformation MUST take as input points in the array coordinate system
1344
1344
corresponding to the Zarr array at location `path`.
1345
-
The value of `input` MUST equal the value of `path`,
1345
+
The value of `input` MUST equal the value of `path`,
1346
1346
implementations should always treat the value of `input` as if it were equal to the value of `path`.
1347
1347
The value of the transformation’s `output` coordinate system MUST be the same for every dataset in a single multiscales.
1348
1348
This coordinate system (the "intrinsic" coordinate system) will generally be a representation of the image in its native physical coordinate system.
@@ -1365,8 +1365,9 @@ If applications require additional transformations,
1365
1365
each `multiscales` object MAY contain the field `coordinateTransformations`,
1366
1366
describing transformations that are applied to all resolution levels in the same manner.
1367
1367
The value of `input` MUST equal the name of the "intrinsic" coordinate system.
1368
-
The value of `output` MUST be the name of the output coordinate System
1369
-
which is different from the "intrinsic" coordinate system.
1368
+
The value of `output` MUST be the name of a coordinate system
1369
+
which is different from the "intrinsic" coordinate system
1370
+
and which is defined in the `coordinateSystems` field of the `multiscales` metadata.
1370
1371
1371
1372
Each `multiscales` object SHOULD contain the field `name`.
1372
1373
@@ -1511,7 +1512,7 @@ denoting arbitrary metadata associated with that label.
1511
1512
Label-value objects within the `properties` array do not need to have the same keys.
1512
1513
1513
1514
The value of the `source` key MUST be a JSON object containing information about the original image from which the label image derives.
1514
-
This object MAY include a key `image`, whose value MUST be a string specifying the relative path to a Zarr image group.
1515
+
This object MAY include a key `image`, whose value MUST be a string specifying the relative path to a Zarr image group.
1515
1516
The default value is `../../` since most labeled images are stored in a "labels" group that is nested within the original image group.
1516
1517
1517
1518
@@ -1618,10 +1619,10 @@ whose value MUST be an array of JSON objects specifying all fields of views for
1618
1619
Each image object MUST contain a `path` key
1619
1620
whose value MUST be a string specifying the path to the field of view.
1620
1621
The `path` MUST be case-sensitive, and MUST NOT be a duplicate of any other `path` in the `images` list.
1621
-
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.
1622
-
Specifically: The `path` MUST NOT consist only of periods (like `.` or `..`) or start with the reserved prefix `__`;
1623
-
The `path` MUST NOT be an empty string and MUST NOT contain `/` characters;
1624
-
The `path` MUST only use characters in the sets `a-z`, `A-Z`, `0-9`, `-`, `_`, `.`.
1622
+
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.
1623
+
Specifically: The `path` MUST NOT consist only of periods (like `.` or `..`) or start with the reserved prefix `__`;
1624
+
The `path` MUST NOT be an empty string and MUST NOT contain `/` characters;
1625
+
The `path` MUST only use characters in the sets `a-z`, `A-Z`, `0-9`, `-`, `_`, `.`.
1625
1626
If multiple acquisitions were performed in the plate,
1626
1627
it MUST contain an `acquisition` key whose value MUST be an integer identifying the acquisition
1627
1628
which MUST match one of the acquisition JSON objects defined in the [plate metadata](#plate-md).
@@ -1798,11 +1799,29 @@ but they should be updated in due course.
1798
1799
1799
1800
See [Tools](https://ngff.openmicroscopy.org/tools/index.html).
1800
1801
1802
+
## License
1803
+
1804
+
This specification is derived from the [Community Specification Template](https://www.w3.org/People/Schepers/unoffical_template.html) provided by W3C,
1805
+
under [the following terms](https://www.w3.org/copyright/software-license-2023/):
1806
+
1807
+
> 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:
1808
+
> 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:
1809
+
>
1810
+
> The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
1811
+
> Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included.
1812
+
> Notice of any changes or modifications, through a copyright statement on the new code or document such as:
0 commit comments