Skip to article frontmatterSkip to article content

OME-NGFF labelled image schema

Title: OME-NGFF labelled image schema

Typeobject
RequiredNo
Additional propertiesAny type allowed

Description: JSON from OME-NGFF .zattrs

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- image-labelNoobjectNo--

1. Property OME-NGFF labelled image schema > image-label

Typeobject
RequiredNo
Additional propertiesAny type allowed
PropertyPatternTypeDeprecatedDefinitionTitle/Description
- colorsNoarray of objectNo-The colors for this label image
- propertiesNoarray of objectNo-The properties for this label image
- sourceNoobjectNo-The source of this label image
- versionNoenum (of string)No-The version of the specification

1.1. Property OME-NGFF labelled image schema > image-label > colors

Typearray of object
RequiredNo

Description: The colors for this label image

Array restrictions
Min items1
Max itemsN/A
Items unicityTrue
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
colors items-

1.1.1. OME-NGFF labelled image schema > image-label > colors > colors items

Typeobject
RequiredNo
Additional propertiesAny type allowed
PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ label-valueNonumberNo-The value of the label
- rgbaNoarray of integerNo-The RGBA color stored as an array of four integers between 0 and 255
1.1.1.1. Property OME-NGFF labelled image schema > image-label > colors > colors items > label-value
Typenumber
RequiredYes

Description: The value of the label

1.1.1.2. Property OME-NGFF labelled image schema > image-label > colors > colors items > rgba
Typearray of integer
RequiredNo

Description: The RGBA color stored as an array of four integers between 0 and 255

Array restrictions
Min items4
Max items4
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
rgba items-
1.1.1.2.1. OME-NGFF labelled image schema > image-label > colors > colors items > rgba > rgba items
Typeinteger
RequiredNo
Restrictions
Minimum≥ 0
Maximum≤ 255

1.2. Property OME-NGFF labelled image schema > image-label > properties

Typearray of object
RequiredNo

Description: The properties for this label image

Array restrictions
Min items1
Max itemsN/A
Items unicityTrue
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
properties items-

1.2.1. OME-NGFF labelled image schema > image-label > properties > properties items

Typeobject
RequiredNo
Additional propertiesAny type allowed
PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ label-valueNointegerNo-The pixel value for this label
1.2.1.1. Property OME-NGFF labelled image schema > image-label > properties > properties items > label-value
Typeinteger
RequiredYes

Description: The pixel value for this label

1.3. Property OME-NGFF labelled image schema > image-label > source

Typeobject
RequiredNo
Additional propertiesAny type allowed

Description: The source of this label image

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- imageNostringNo--

1.3.1. Property OME-NGFF labelled image schema > image-label > source > image

Typestring
RequiredNo

1.4. Property OME-NGFF labelled image schema > image-label > version

Typeenum (of string)
RequiredNo

Description: The version of the specification

Must be one of:


Generated using json-schema-for-humans on 2026-01-13 at 13:42:05 +0000