> For the complete documentation index, see [llms.txt](https://help.connected.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.connected.illumina.com/dragen-stratamap/illumina-spatial-image-tool/image-processing/define-samples.md).

# Define Samples

<figure><img src="/files/waQZGCmcmOj4r10OiQo7" 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
