Data Labeling v1beta1 API - Class ImageSegmentationAnnotation (2.0.0-beta04)

public sealed class ImageSegmentationAnnotation : IMessage<ImageSegmentationAnnotation>, IEquatable<ImageSegmentationAnnotation>, IDeepCloneable<ImageSegmentationAnnotation>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Labeling v1beta1 API class ImageSegmentationAnnotation.

Image segmentation annotation.

Inheritance

object > ImageSegmentationAnnotation

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

ImageSegmentationAnnotation()

public ImageSegmentationAnnotation()

ImageSegmentationAnnotation(ImageSegmentationAnnotation)

public ImageSegmentationAnnotation(ImageSegmentationAnnotation other)
Parameter
Name Description
other ImageSegmentationAnnotation

Properties

AnnotationColors

public MapField<string, AnnotationSpec> AnnotationColors { get; }

The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.

Property Value
Type Description
MapFieldstringAnnotationSpec

ImageBytes

public ByteString ImageBytes { get; set; }

A byte string of a full image's color map.

Property Value
Type Description
ByteString

MimeType

public string MimeType { get; set; }

Image format.

Property Value
Type Description
string