multiscales_strict Examples#
This document contains JSON examples for multiscales_strict metadata layouts.
multiscales_example#
1{
2 "multiscales": [
3 {
4 "version": "0.4",
5 "name": "example",
6 "axes": [
7 {"name": "t", "type": "time", "unit": "millisecond"},
8 {"name": "c", "type": "channel"},
9 {"name": "z", "type": "space", "unit": "micrometer"},
10 {"name": "y", "type": "space", "unit": "micrometer"},
11 {"name": "x", "type": "space", "unit": "micrometer"}
12 ],
13 "datasets": [
14 {
15 "path": "0",
16 "coordinateTransformations": [{
17 // the voxel size for the first scale level (0.5 micrometer)
18 "type": "scale",
19 "scale": [1.0, 1.0, 0.5, 0.5, 0.5]
20 }]
21 },
22 {
23 "path": "1",
24 "coordinateTransformations": [{
25 // the voxel size for the second scale level (downscaled by a factor of 2 -> 1 micrometer)
26 "type": "scale",
27 "scale": [1.0, 1.0, 1.0, 1.0, 1.0]
28 }]
29 },
30 {
31 "path": "2",
32 "coordinateTransformations": [{
33 // the voxel size for the third scale level (downscaled by a factor of 4 -> 2 micrometer)
34 "type": "scale",
35 "scale": [1.0, 1.0, 2.0, 2.0, 2.0]
36 }]
37 }
38 ],
39 "coordinateTransformations": [{
40 // the time unit (0.1 milliseconds), which is the same for each scale level
41 "type": "scale",
42 "scale": [0.1, 1.0, 1.0, 1.0, 1.0]
43 }],
44 "type": "gaussian",
45 "metadata": {
46 "description": "the fields in metadata depend on the downscaling implementation. Here, the parameters passed to the skimage function are given",
47 "method": "skimage.transform.pyramid_gaussian",
48 "version": "0.16.1",
49 "args": "[true]",
50 "kwargs": {"multichannel": true}
51 }
52 }
53 ]
54}
multiscales_transformations#
1{
2 "multiscales": [
3 {
4 "axes": [
5 {
6 "name": "y",
7 "type": "space",
8 "unit": "micrometer"
9 },
10 {
11 "name": "x",
12 "type": "space",
13 "unit": "micrometer"
14 }
15 ],
16 "datasets": [
17 {
18 "path": "0",
19 "coordinateTransformations": [
20 {
21 "scale": [
22 1,
23 1
24 ],
25 "type": "scale"
26 }
27 ]
28 }
29 ],
30 "coordinateTransformations": [
31 {
32 "scale": [
33 10,
34 10
35 ],
36 "type": "scale"
37 }
38 ],
39 "version": "0.4",
40 "name": "image_with_coordinateTransformations",
41 "type": "foo",
42 "metadata": {
43 "key": "value"
44 }
45 }
46 ]
47}