Cloud AI Platform v1beta1 API - Class ImageSegmentationAnnotation.Types.MaskAnnotation (1.0.0-beta03)

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

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ImageSegmentationAnnotation.Types.MaskAnnotation.

The mask based segmentation annotation.

Inheritance

object > ImageSegmentationAnnotation.Types.MaskAnnotation

Namespace

Google.Cloud.AIPlatform.V1Beta1.Schema

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

MaskAnnotation()

public MaskAnnotation()

MaskAnnotation(MaskAnnotation)

public MaskAnnotation(ImageSegmentationAnnotation.Types.MaskAnnotation other)
Parameter
Name Description
other ImageSegmentationAnnotationTypesMaskAnnotation

Properties

AnnotationSpecColors

public RepeatedField<AnnotationSpecColor> AnnotationSpecColors { get; }

The mapping between color and AnnotationSpec for this Annotation.

Property Value
Type Description
RepeatedFieldAnnotationSpecColor

MaskGcsUri

public string MaskGcsUri { get; set; }

Google Cloud Storage URI that points to the mask image. The image must be in PNG format. It must have the same size as the DataItem's image. Each pixel in the image mask represents the AnnotationSpec which the pixel in the image DataItem belong to. Each color is mapped to one AnnotationSpec based on annotation_spec_colors.

Property Value
Type Description
string