scene Examples#

This document contains JSON examples for scene metadata layouts.

scene_registration#

 1{
 2  "zarr_format": 3,
 3  "node_type": "group",
 4  "attributes": {
 5    "ome": {
 6      "version": "0.6.dev3",
 7      "scene": {
 8        "coordinateTransformations": [
 9          {
10            "type": "bijection",
11            "input": {"path": "JRC2018F", "name": "physical"},
12            "output": {"path": "FCWB", "name": "physical"},
13            "forward": {
14              "type": "sequence",
15              "name": "JRC2018F to FCWB",
16              "transformations": [
17                {
18                  "type": "displacements",
19                  "path": "coordinateTransformations/dfield",
20                  "interpolation": "linear"
21                },
22                {
23                  "type": "affine",
24                  "affine": [
25                    [
26                      0.549687,
27                      -0.0138092,
28                      0.000127526,
29                      2.9986
30                    ],
31                    [
32                      0.0893289,
33                      1.04339,
34                      -0.000121014,
35                      -6.39702
36                    ],
37                    [
38                      0.00779285,
39                      0.00299018,
40                      0.907875,
41                      -3.77146
42                    ]
43                  ]
44                }
45              ]
46            },
47            "inverse": {
48              "type": "sequence",
49              "name": "FCWB to JRC2018F",
50              "transformations": [
51                {
52                  "type": "affine",
53                  "affine": [
54                    [
55                      1.8153162032371448,
56                      0.024026315573955494,
57                      -0.00025178851007148946,
58                      -5.290659956068192
59                    ],
60                    [
61                      -0.1554184181171034,
62                      0.9563570184920926,
63                      0.00014930742384645888,
64                      6.584435749976974
65                    ],
66                    [
67                      -0.015070089856986017,
68                      -0.003356093187801388,
69                      1.1014748899286995,
70                      4.177888664571422
71                    ]
72                  ]
73                },
74                {
75                  "type": "displacements",
76                  "path": "coordinateTransformations/invdfield",
77                  "interpolation": "linear",
78                  "name": ""
79                }
80              ]
81            }
82          }
83        ]
84      }
85    }
86  }
87}

scene_stitching#

 1{
 2  "zarr_format": 3,
 3  "node_type": "group",
 4  "attributes": {
 5    "ome": {
 6      "version": "0.6.dev3",
 7      "scene": {
 8        "coordinateTransformations": [
 9          {
10            "type": "translation",
11            "output": "world",
12            "input": {"path": "tile_0", "name": "physical"},
13            "translation": [
14              0,
15              0
16            ],
17            "name": "tile_0_mm to world"
18          },
19          {
20            "type": "translation",
21            "output": "world",
22            "input": {"path": "tile_1", "name": "physical"},
23            "translation": [
24              0,
25              348
26            ],
27            "name": "tile_1_mm to world"
28          },
29          {
30            "type": "translation",
31            "output": "world",
32            "input": {"path": "tile_2", "name": "physical"},
33            "translation": [
34              276,
35              0
36            ],
37            "name": "tile_2_mm to world"
38          },
39          {
40            "type": "translation",
41            "output": "world",
42            "input": {"path": "tile_3", "name": "physical"},
43            "translation": [
44              276,
45              348
46            ],
47            "name": "tile_3_mm to world"
48          }
49        ],
50        "coordinateSystems": [
51          {
52            "name": "world",
53            "axes": [
54              {
55                "type": "space",
56                "name": "x",
57                "unit": "micrometer",
58                "discrete": false
59              },
60              {
61                "type": "space",
62                "name": "y",
63                "unit": "micrometer",
64                "discrete": false
65              }
66            ]
67          }
68        ]
69      }
70    }
71  }
72}