Type Alias: SemanticSegmentationResult<L>
SemanticSegmentationResult<
L> =object
Defined in: extensions/cv/tasks/semanticSegmentation.ts:66
Result structure representing the output of a semantic segmentation task.
Type Parameters
L
L extends PropertyKey
Properties
buffer
readonlybuffer:ImageBuffer
Defined in: extensions/cv/tasks/semanticSegmentation.ts:68
Generated output RGBA image buffer containing the colored segmentation mask.
colormap?
readonlyoptionalcolormap:ColorMap<L>
Defined in: extensions/cv/tasks/semanticSegmentation.ts:70
Applied color map mapping each class label to its RGBA tuple.