Class ImageSegmentationAnnotation (1.0.0-beta03)

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

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
NameDescription
otherImageSegmentationAnnotation

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
TypeDescription
MapField<String, AnnotationSpec>

ImageBytes

public ByteString ImageBytes { get; set; }

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

Property Value
TypeDescription
ByteString

MimeType

public string MimeType { get; set; }

Image format.

Property Value
TypeDescription
String