Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 2.09 KB

segmentation_image.md

File metadata and controls

45 lines (31 loc) · 2.09 KB
title
SegmentationImage

An image made up of integer class-ids.

The shape of the TensorData must be mappable to an HxW tensor. Each pixel corresponds to a class-id that will be mapped to a color based on annotation context.

In the case of floating point images, the label will be looked up based on rounding to the nearest integer value.

Leading and trailing unit-dimensions are ignored, so that 1x640x480x1 is treated as a 640x480 image.

Components

Required: TensorData

Optional: DrawOrder

Shown in

API reference links

Example

Simple segmentation image

snippet: archetypes/segmentation_image_simple