SemanticSegmentation
This node outputs the semantic segmentation.
Installation
To use this Node, you must enable omni.replicator.core
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
exec |
|
Trigger |
|
numSemantics |
|
Number of semantic entities in the semantic arrays |
|
colorize |
|
If true, convert semantic IDs into colors. |
False |
numInstances |
|
Number of instances in the instance arrays |
|
instancePrimPathPtr |
|
Array pointer of numInstances uint64_t containing the prim path tokens for every instance prims |
|
semanticPrimPathPtr |
|
Array pointer of numSemantics uint32_t containing the prim part of the prim path tokens for every semantic prims |
|
semanticLabelTokenPtrs |
|
Array containing for every input semantic filters the corresponding array pointer of numSemantics uint64_t representing the semantic label of the semantic prim |
|
sdIMSemanticTokenMap |
|
Semantic array of token of size numSemantics ‘*’ numSemanticTypes containing the mapping from the semantic entities to the semantic entity path and semantic types |
|
instanceMapPtr |
|
Array pointer of numInstances uint16_t containing the semantic index of the instance prim first semantic prim parent |
|
minInstanceIndex |
|
Instance id of the first instance in the instance arrays |
|
minSemanticIndex |
|
Semantic id of the first instance in the instance arrays |
|
semanticMapPtr |
|
Array pointer of numSemantics uint16_t containing the semantic index of the semantic prim first semantic prim parent |
|
data |
|
Buffer array data |
[] |
bufferSize |
|
Size (in bytes) of the buffer (0 if the input is a texture) |
|
swhFrameNumber |
|
Frame number |
|
semanticTypes |
|
Semantic Types to consider |
[‘class’] |
width |
|
Width |
|
height |
|
Height |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
exec |
|
Trigger |
|
data |
|
Semantic segmentation data |
[] |
idToLabels |
|
Mapping from id (or color, if colorize is set to True) to semantic labels. |
|
swhFrameNumber |
|
Frame number |
|
bufferSize |
|
Size (in bytes) of the buffer (0 if the input is a texture) |
|
height |
|
Shape of the data |
|
width |
|
Shape of the data |
|
_uniqueInstanceIDs |
|
Internal buffer storing unique instance IDs |