Skip to main content
Version: 0.10.0

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

readonly buffer: ImageBuffer

Defined in: extensions/cv/tasks/semanticSegmentation.ts:68

Generated output RGBA image buffer containing the colored segmentation mask.


colormap?

readonly optional colormap: ColorMap<L>

Defined in: extensions/cv/tasks/semanticSegmentation.ts:70

Applied color map mapping each class label to its RGBA tuple.