Image Label
ome_zarr_models.v04.image_label.ImageLabel
Bases: BaseGroupv04[ImageLabelAttrs]
An image label dataset.
Represents an image segmentation where each unique pixel value represents a separate segmented object.
Attributes:
| Name | Type | Description |
|---|---|---|
zarr_format |
Literal[2]
|
|
attributes |
ImageLabelAttrs
|
|
members |
Mapping[str, GroupSpec | ArraySpec] | None
|
|
ome_zarr_models.v04.image_label.ImageLabelAttrs
Bases: BaseAttrsv2
Attributes for an image label object.
Attributes:
| Name | Type | Description |
|---|---|---|
image_label |
Label
|
|
multiscales |
list[Multiscale]
|
|
Other types
ome_zarr_models.v04.image_label_types.Color
ome_zarr_models.v04.image_label_types.Label
Bases: LabelBase
Metadata for a single image-label.
Attributes:
| Name | Type | Description |
|---|---|---|
colors |
tuple[Color, ...] | None
|
Colours for showing the labels. |
properties |
tuple[Property, ...] | None
|
Additional properties for each label value. |
source |
Source | None
|
Information about the source data used to create the labels. |
version |
Literal['0.4'] | None
|
Version of the image-label specification. |