View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation (google_api_ai_platform v0.13.0)
The mask based segmentation annotation.
Attributes
-
annotationSpecColors
(type:list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaAnnotationSpecColor.t)
, default:nil
) - The mapping between color and AnnotationSpec for this Annotation. -
maskGcsUri
(type:String.t
, default:nil
) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation{ annotationSpecColors: [ GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaAnnotationSpecColor.t() ] | nil, maskGcsUri: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.