docs.unity3d.com
    Show / Hide Table of Contents

    Class InstanceSegmentationAnnotation

    The instance segmentation image recorded for a capture. This includes the data that associates a pixel color to an object.

    Inheritance
    Object
    DataModelElement
    Annotation
    InstanceSegmentationAnnotation
    Inherited Members
    Annotation.m_Definition
    Annotation.annotationId
    Annotation.modelType
    Annotation.description
    Annotation.sensorId
    Annotation.IsValid()
    DataModelElement.id
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public class InstanceSegmentationAnnotation : Annotation, IMessageProducer

    Properties

    buffer

    Declaration
    public byte[] buffer { get; set; }
    Property Value
    Type Description
    Byte[]

    dimension

    Declaration
    public Vector2 dimension { get; set; }
    Property Value
    Type Description
    Vector2

    imageFormat

    Declaration
    public ImageEncodingFormat imageFormat { get; set; }
    Property Value
    Type Description
    ImageEncodingFormat

    instances

    This instance to pixel map

    Declaration
    public List<InstanceSegmentationEntry> instances { get; set; }
    Property Value
    Type Description
    List<InstanceSegmentationEntry>

    Methods

    ToMessage(IMessageBuilder)

    Convert contents int a message.

    Declaration
    public override void ToMessage(IMessageBuilder builder)
    Parameters
    Type Name Description
    IMessageBuilder builder

    The message builder that will convert the class's contents into a message

    Overrides
    Annotation.ToMessage(IMessageBuilder)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023