BioImageTools / ome-zarr-models-py

Prototype for a common minimal-dependencies Python implementation of the NGFF data model
https://ome-zarr-models-py.readthedocs.io/en/latest/
9 stars 1 forks source link

3.3. "coordinateTransformations" metadata #32

Open dstansby opened 1 day ago

dstansby commented 1 day ago

"coordinateTransformations" describe a series of transformations that map between two coordinate spaces (defined by "axes"). For example, to map a discrete data space of an array to the corresponding physical space. It is a list of dictionaries. Each entry describes a single transformation and MUST contain the field "type". The value of "type" MUST be one of the elements of the type column in the table below. Additional fields for the entry depend on "type" and are defined by the column fields.

identity   identity transformation, is the default transformation and is typically not explicitly defined
one of: "translation":List[float], "path":str translation vector, stored either as a list of floats ("translation") or as binary data at a location in this container (path). The length of vector defines number of dimensions. \
one of: "scale":List[float], "path":str scale vector, stored either as a list of floats (scale) or as binary data at a location in this container (path). The length of vector defines number of dimensions. \

https://ngff.openmicroscopy.org/0.4/index.html#trafo-md

The transformations in the list are applied sequentially and in order.