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 Vertex AI v1beta1 API class ImageSegmentationAnnotation.Types.MaskAnnotation.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003eImageSegmentationAnnotation.Types.MaskAnnotation\u003c/code\u003e class within the Vertex AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaskAnnotation\u003c/code\u003e class is designed for mask-based segmentation annotation of images, and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides constructors for creating \u003ccode\u003eMaskAnnotation\u003c/code\u003e objects, including one for cloning from an existing \u003ccode\u003eMaskAnnotation\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eAnnotationSpecColors\u003c/code\u003e, a mapping between color and annotation specification, and \u003ccode\u003eMaskGcsUri\u003c/code\u003e, which specifies the location of the mask image in Google Cloud Storage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version for the \u003ccode\u003eMaskAnnotation\u003c/code\u003e class is \u003ccode\u003e1.0.0-beta21\u003c/code\u003e, with a previous version available at \u003ccode\u003e1.0.0-beta20\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]