Create mask image for U-net

I just annotated my images and want to output the image in the format like the image below. Is there a way to do so?

Hi @hhua5600, yes, you can do so in the following manner:

  1. Export your data rows and labels from a project (docs).
  2. View the NDJSON of the labels and locate the dictionary representative of the mask you are interested in. For example, a mask annotation in export v2 will appear as follows:
{
  "feature_id": "clgvcrhmx003m14tt5dlrupws",
  "name": "mask",
  "annotation_kind": "ImageSegmentationMask",
  "classifications": [],
  "mask": {
    "url": "https://api.labelbox.com/api/v1/projects/clgvcreou01yv070j1kw5dblq/annotations/clgvcrhmx003m14tt5dlrupws/mask"
  }
}
  1. Grab the mask URL.

This should allow you to access the segmentation mask data as desired!