Type Alias: ColorMap<L>
ColorMap<
L> =Record<L, [number,number,number,number]>
Defined in: extensions/cv/tasks/semanticSegmentation.ts:60
Maps each class label to its assigned RGBA color.
Type Parameters
L
L extends PropertyKey
ColorMap<
L> =Record<L, [number,number,number,number]>
Defined in: extensions/cv/tasks/semanticSegmentation.ts:60
Maps each class label to its assigned RGBA color.
L extends PropertyKey