Label#

class gm3dh5.protocols.Label(id: int, name: str, color: bytes)#

Bases: object

Label information of a mask.

Parameters:
  • id (int) – Id refers to the mask value of the data set.

  • name (str) – Alias of the label.

  • color (bytes) – Color of the label.

Attributes

Label.id

Id refers to the mask value of the data set.

Label.name

Alias of the label.

Label.color

Color of the label.

Methods