image_invalid Examples#

This document contains JSON examples for image_invalid metadata layouts.

no_multiscales#

1{
2    "@type": "ngff:Image",
3    "multiscales": []
4}

no_datasets#

 1{
 2    "@type": "ngff:Image",
 3    "multiscales": [
 4        {
 5            "version": "0.3",
 6            "name": "example",
 7            "datasets": [],
 8            "axes": [
 9                "z",
10                "y",
11                "x"
12            ]
13        }
14    ]
15}

invalid_channels_window#

 1{
 2    "@type": "ngff:Image",
 3    "multiscales": [
 4        {
 5            "version": "0.3",
 6            "name": "example",
 7            "datasets": [
 8                {
 9                    "path": "path/to/0"
10                }
11            ],
12            "axes": [
13                "z",
14                "y",
15                "x"
16            ]
17        }
18    ],
19    "omero": {
20        "channels": [
21            {
22                "active": true,
23                "coefficient": 1.0,
24                "color": "ff0000",
25                "family": "linear",
26                "label": "1234",
27                "window": {
28                    "end": "100",
29                    "max": 2555.0,
30                    "min": 5.0,
31                    "start": 0.0
32                }
33            }
34        ]
35    }
36}

invalid_version#

 1{
 2    "@type": "ngff:Image",
 3    "multiscales": [
 4        {
 5            "version": "invalid",
 6            "name": "example",
 7            "datasets": [
 8                {
 9                    "path": "path/to/0"
10                },
11                {
12                    "path": "1"
13                },
14                {
15                    "path": "2"
16                }
17            ],
18            "axes": [
19                "z",
20                "y",
21                "x"
22            ]
23        }
24    ]
25}

invalid_channels_color#

 1{
 2    "@type": "ngff:Image",
 3    "multiscales": [
 4        {
 5            "version": "0.3",
 6            "name": "example",
 7            "datasets": [
 8                {
 9                    "path": "path/to/0"
10                }
11            ],
12            "axes": [
13                "z",
14                "y",
15                "x"
16            ]
17        }
18    ],
19    "omero": {
20        "channels": [
21            {
22                "active": true,
23                "coefficient": 1.0,
24                "color": 255,
25                "family": "linear",
26                "label": "1234",
27                "window": {
28                    "end": 1765.0,
29                    "max": 2555.0,
30                    "min": 5.0,
31                    "start": 0.0
32                }
33            }
34        ]
35    }
36}

missing_axes#

 1{
 2    "@type": "ngff:Image",
 3    "multiscales": [
 4        {
 5            "version": "0.3",
 6            "name": "example",
 7            "datasets": [
 8                {
 9                    "path": "path/to/0"
10                }
11            ]
12        }
13    ]
14}

missing_datasets#

 1{
 2    "@type": "ngff:Image",
 3    "multiscales": [
 4        {
 5            "version": "0.3",
 6            "name": "example",
 7            "axes": [
 8                "z",
 9                "y",
10                "x"
11            ]
12        }
13    ]
14}

invalid_axes_order#

 1{
 2    "@id": "#my-image",
 3    "@type": "ngff:Image",
 4    "multiscales": [
 5        {
 6            "@id": "#my-pyramid",
 7            "version": "0.3",
 8            "name": "example",
 9            "datasets": [
10                {
11                    "@id": "#my-full-resolution",
12                    "path": "path/to/0"
13                }
14            ],
15            "axes": [
16                "y",
17                "t",
18                "c"
19            ]
20        }
21    ]
22}

no_axes#

 1{
 2    "@type": "ngff:Image",
 3    "multiscales": [
 4        {
 5            "version": "0.3",
 6            "name": "example",
 7            "datasets": [
 8                {
 9                    "path": "path/to/0"
10                }
11            ],
12            "axes": []
13        }
14    ]
15}

missing_path#

 1{
 2    "@type": "ngff:Image",
 3    "multiscales": [
 4        {
 5            "version": "0.3",
 6            "name": "example",
 7            "datasets": [
 8                {
 9                    "foo": "path/to/0"
10                },
11                {
12                    "path": "1"
13                }
14            ],
15            "axes": [
16                "z",
17                "y",
18                "x"
19            ]
20        }
21    ]
22}

invalid_axes_count#

 1{
 2    "@id": "#my-image",
 3    "@type": "ngff:Image",
 4    "multiscales": [
 5        {
 6            "@id": "#my-pyramid",
 7            "version": "0.3",
 8            "name": "example",
 9            "datasets": [
10                {
11                    "@id": "#my-full-resolution",
12                    "path": "path/to/0"
13                }
14            ],
15            "axes": [
16                "y"
17            ]
18        }
19    ]
20}

invalid_axes#

 1{
 2    "@id": "#my-image",
 3    "@type": "ngff:Image",
 4    "multiscales": [
 5        {
 6            "@id": "#my-pyramid",
 7            "version": "0.3",
 8            "name": "example",
 9            "datasets": [
10                {
11                    "@id": "#my-full-resolution",
12                    "path": "path/to/0"
13                }
14            ],
15            "axes": [
16                "z",
17                "y",
18                "ct"
19            ]
20        }
21    ]
22}

invalid_path#

 1{
 2    "@type": "ngff:Image",
 3    "multiscales": [
 4        {
 5            "version": "0.3",
 6            "name": "example",
 7            "datasets": [
 8                {
 9                    "path": "path/to/0"
10                },
11                {
12                    "path": 0
13                }
14            ],
15            "axes": [
16                "z",
17                "y",
18                "x"
19            ]
20        }
21    ]
22}