InstanceSegmentation

This node outputs instance segmentation.

Installation

To use this Node, you must enable omni.replicator.core in the Extension Manager.

Inputs

Name

Type

Description

Default

exec

execution

Trigger

numSemantics

uint

Number of semantic entities in the semantic arrays

instanceMapPtr

uint64

Array pointer of numInstances uint16_t containing the semantic index of the instance prim first semantic prim parent

semanticMapPtr

uint64

Array pointer of numSemantics uint16_t containing the semantic index of the semantic prim first semantic prim parent

colorize

bool

If true, convert semantic IDs into colors.

False

numInstances

uint

Number of instances in the instance arrays

minInstanceIndex

uint

Instance id of the first instance in the instance arrays

minSemanticIndex

uint

Semantic id of the first instance in the instance arrays

semanticPrimPathPtr

uint64

Array pointer of numSemantics uint32_t containing the prim part of the prim path tokens for every semantic prims

semanticLabelTokenPtrs

uint64[]

Array containing for every input semantic filters the corresponding array pointer of numSemantics uint64_t representing the semantic label of the semantic prim

bbox2DTightInfo

uchar[]

Bounding Box 2D Tight Info. Used to determine the visible instance ids in the viewport.

[]

data

uchar[]

Buffer array data

[]

bufferSize

uint

Size (in bytes) of the buffer (0 if the input is a texture)

swhFrameNumber

uint64

Frame number

semanticTypes

token[]

Semantic Types to consider

[‘class’]

width

uint

Width

height

uint

Height

Outputs

Name

Type

Description

Default

exec

execution

Trigger

data

uchar[]

Instance segmentation data

[]

ids

uint[]

Unoccluded semantic u ids (or color, if colorize is set to True).

labels

token[]

Prim path of the prim.

semantics

token[]

Semantic labels that correspeond to the ids.

swhFrameNumber

uint64

Frame number

bufferSize

uint

Size (in bytes) of the buffer (0 if the input is a texture)

height

uint

Shape of the data

width

uint

Shape of the data