docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RenderedObjectInfoGenerator

    A CPU-based pass which computes bounding box and pixel counts per-object from instance segmentation images

    Inheritance
    object
    RenderedObjectInfoGenerator
    Implements
    IGroundTruthGenerator
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Perception.GroundTruth
    Assembly: solution.dll
    Syntax
    public class RenderedObjectInfoGenerator : IGroundTruthGenerator, IDisposable

    Constructors

    Name Description
    RenderedObjectInfoGenerator(LabelingConfiguration)

    Create a new CpuRenderedObjectInfoPass with the given LabelingConfiguration.

    Methods

    Name Description
    Compute(NativeArray<uint>, int, BoundingBoxOrigin, out NativeArray<RenderedObjectInfo>, out NativeArray<uint>, 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.

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    SetupMaterialProperties(MaterialPropertyBlock, Renderer, Labeling, uint)

    Called by GroundTruthLabelSetupSystem when first registered or when a Labeling is created at runtime.

    TryGetLabelEntryFromInstanceId(int, out LabelEntry)

    Attempts to find the label id for the given instance id using the LabelingConfiguration passed into the constructor.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)