Label¶
voxel.Label(name, color=None)
¶
A single entry of a LabelLookup, describing one label value.
The integer value itself is the key in the enclosing LabelLookup, so it is
not stored on the label.
Parameters:
-
name(str) –The human-readable name of the label.
-
color(Tensor or list or tuple, default:None) –An RGB color with three elements in the range [0, 1]. If None, the label has no color.