public sealed class ImageSegmentationAnnotation : IMessage<ImageSegmentationAnnotation>, IEquatable<ImageSegmentationAnnotation>, IDeepCloneable<ImageSegmentationAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ImageSegmentationAnnotation.
Annotation details specific to image segmentation.
Implements
IMessageImageSegmentationAnnotation, IEquatableImageSegmentationAnnotation, IDeepCloneableImageSegmentationAnnotation, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.SchemaAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
ImageSegmentationAnnotation()
public ImageSegmentationAnnotation()
ImageSegmentationAnnotation(ImageSegmentationAnnotation)
public ImageSegmentationAnnotation(ImageSegmentationAnnotation other)
Parameter | |
---|---|
Name | Description |
other |
ImageSegmentationAnnotation |
Properties
AnnotationCase
public ImageSegmentationAnnotation.AnnotationOneofCase AnnotationCase { get; }
Property Value | |
---|---|
Type | Description |
ImageSegmentationAnnotationAnnotationOneofCase |
MaskAnnotation
public ImageSegmentationAnnotation.Types.MaskAnnotation MaskAnnotation { get; set; }
Mask based segmentation annotation. Only one mask annotation can exist for one image.
Property Value | |
---|---|
Type | Description |
ImageSegmentationAnnotationTypesMaskAnnotation |
PolygonAnnotation
public ImageSegmentationAnnotation.Types.PolygonAnnotation PolygonAnnotation { get; set; }
Polygon annotation.
Property Value | |
---|---|
Type | Description |
ImageSegmentationAnnotationTypesPolygonAnnotation |
PolylineAnnotation
public ImageSegmentationAnnotation.Types.PolylineAnnotation PolylineAnnotation { get; set; }
Polyline annotation.
Property Value | |
---|---|
Type | Description |
ImageSegmentationAnnotationTypesPolylineAnnotation |