> For the complete documentation index, see [llms.txt](https://help.bioinsight.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.bioinsight.illumina.com/dragen-stratamap/illumina-stratamap-image-tool/image-processing/define-samples.md).

# Define Samples

The Define samples screen is the third step in the image processing workflow. This screen is used to identify sample locations within each image and assign sample IDs.

<figure><img src="https://1666731890-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4oykwIlB6GxNkWm6RFlS%2Fuploads%2Fgit-blob-83944034798d9214e98db2cf9a32f48959d00fb9%2FScreenshot%202026-04-29%20at%209.45.22%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Image Preview

Select an image file name from the list to show it. The right side of the screen displays a preview of the selected image.

**Image Preview Tools**

The toolbar on the right side of the image preview provides:

* Zoom in
* Zoom out
* Reset view
* Undo

#### Single Sample Images

For images containing only one sample, leave the **Multiple samples** toggle off. The software assumes the entire image area contains the sample.

Give the sample a name, then select the next image file to continue naming samples.

#### Multiple Sample Images

For images containing more than one sample:

1. Enable the **Multiple samples** toggle.
2. Adjust the selection regions in the image preview to indicate the general area of each sample.
3. Include significant white space around each tissue section. This buffer space assists with image registration.
4. Name each sample. The numbers on the rectangles correspond to the spaces for naming the samples.

{% hint style="info" %}
Use the rectangles to define the general area where each sample is located, not the precise tissue boundaries. Tissue selection will happen in a later step.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.bioinsight.illumina.com/dragen-stratamap/illumina-stratamap-image-tool/image-processing/define-samples.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
