Class ImageSegmentationAnnotation
Image segmentation annotation.
Inheritance
System.Object
ImageSegmentationAnnotation
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DataLabeling.V1Beta1
Assembly: Google.Cloud.DataLabeling.V1Beta1.dll
Syntax
public sealed class ImageSegmentationAnnotation : IMessage<ImageSegmentationAnnotation>, IEquatable<ImageSegmentationAnnotation>, IDeepCloneable<ImageSegmentationAnnotation>, IBufferMessage, IMessage
Constructors
ImageSegmentationAnnotation()
Declaration
public ImageSegmentationAnnotation()
ImageSegmentationAnnotation(ImageSegmentationAnnotation)
Declaration
public ImageSegmentationAnnotation(ImageSegmentationAnnotation other)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageSegmentationAnnotation | other |
Properties
AnnotationColors
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.
Declaration
public MapField<string, AnnotationSpec> AnnotationColors { get; }
Property Value
| Type | Description |
|---|---|
| MapField<System.String, AnnotationSpec> |
ImageBytes
A byte string of a full image's color map.
Declaration
public ByteString ImageBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| ByteString |
MimeType
Image format.
Declaration
public string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |