Skip to article frontmatterSkip to article content

label_strict Examples

This document contains JSON examples for label_strict metadata layouts.

colors_properties

colors_properties.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
  "zarr_format": 3,
  "node_type": "group",
  "attributes": {
    "ome": {
      "version": "0.6.dev4",
      "multiscales": [
        {
          "coordinateSystems": [
            {
              "name": "physical",
              "axes": [
                {"name": "z", "unit": "micrometer"},
                {"name": "y", "unit": "micrometer"},
                {"name": "x", "unit": "micrometer"}
              ]
            }
          ],
          "datasets": [
            {
              "path": "s0",
              "coordinateTransformations": [
                {
                  "type": "scale",
                  "scale": [0.5, 0.5, 1],
                  "input": {"path": "s0"},
                  "output": {"name": "physical"}
                }
              ]
            }
          ]
        }
      ],
      "image-label": {
        "colors": [
          {
            "label-value": 0,
            "rgba": [0, 0, 128, 128]
          },
          {
            "label-value": 1,
            "rgba": [0, 128, 0, 128]
          }
        ],
        "properties": [
          {
            "label-value": 0,
            "area (pixels)": 1200,
            "class": "intercellular space"
          },
          {
            "label-value": 1,
            "area (pixels)": 1650,
            "class": "cell",
            "cell type": "neuron"
          }
        ],
        "source": {
          "image": "../../"
        }
      }
    }
  }
}