# Image Segmentation

## Setup the Dataset

Navigate to [udt.dev](https://udt.dev) and click "New File"

![Click "New File" on udt.dev](/files/-MI11H2GNT530d7n2r1Q)

Then select the Image Segmentation button from the `Setup > Data Type` page.

![](/files/-MI5yZO_K24uUxEykcwf)

You can configure the Image Segmentation to create the right interface for your dataset. Use the `Setup > Preview` button to see your interface against either an example image or a sample from your dataset.

![Image Segmentation with Bounding Box Classification](/files/-MI62IzcaVvt6pVMSitu)

#### Configuring Regions and Labels

The Image Segmentation interface allows different types of regions, the options for regions are:

* bounding-box
* polygon
* point

Each region can any number of labels, which can be configured under "Available Labels"

![](/files/-MI619VeDw1PxdldrLTz)

## Import Data

You can use any of the following methods to import image data. If you're just getting started, you can quickly create a dataset using the COCO Images method!

* [Import COCO Dialog](/importing-data/coco-images.md)
* [Import from Google Drive](/importing-data/import-from-google-drive.md)
* [Import from AWS S3 Bucket](/importing-data/import-from-aws-s3-bucket.md)
* [Import from List of URLs](/importing-data/import-file-urls.md)
* [Import from CSV or JSON](/importing-data/import-from-csv-or-json.md)
* [Upload or Open Directory](/importing-data/upload-or-open-directories.md)

## Label your Data!

Use the `Label` tab to label your data. Look at the [Collaborative Labeling Guide](/collaborative-labeling.md) to label with others.

## Export and Use

You can download your data using the download icon at the top.

![Download your data in CSV or JSON format to use the annotations](/files/-MIC16UN_c6e0nF3J9QH)

You can use the [Universal Data Tool Converter](https://universaldatatool.com/convert) to convert UDT files into PNG masks, or other formats that are helpful for machine learning datasets.

![It's very common to convert into PNGs](/files/-MIC289RAzqgyoTZQ1u4)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.universaldatatool.com/building-and-labeling-datasets/image-segmentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
