public sealed class ImageSegmentationAnnotation : IMessage<ImageSegmentationAnnotation>, IEquatable<ImageSegmentationAnnotation>, IDeepCloneable<ImageSegmentationAnnotation>, IBufferMessage, IMessage
Image segmentation annotation.
Implements
IMessage<ImageSegmentationAnnotation>, IEquatable<ImageSegmentationAnnotation>, IDeepCloneable<ImageSegmentationAnnotation>, IBufferMessage, IMessageNamespace
Google.Cloud.DataLabeling.V1Beta1Assembly
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 |
MapField<String, AnnotationSpec> |
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 |