Class RenderedObjectInfoGenerator
A CPU-based pass which computes bounding box and pixel counts per-object from instance segmentation images
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth
Assembly: solution.dll
Syntax
public class RenderedObjectInfoGenerator
Methods
Name | Description |
---|---|
Compute(NativeArray<uint>, int, BoundingBoxOrigin, out NativeArray<RenderedObjectInfo>, Allocator) | Compute RenderedObjectInfo for each visible object in the given instance segmentation image. InstanceSegmentationRawData should be the raw data from a texture filled by InstanceSegmentationUrpPass or InstanceSegmentationPass using the same LabelingConfiguration that was passed into this object. |