> 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/tissue-target-test/select-tissue.md).

# Select Tissue

In the `Tissue selection` page, the areas of interest on the tissue image are defined using a tissue image `mask`. A tissue mask is generated automatically and can be modified using the provided mask editing tool. Alternatively, a tissue mask can be imported if created using a third-party tool.

## Auto-Generated Mask

Auto-generated masks are produced for all samples. By default, these masks are hidden until the user clicks the `Apply Mask` icon ![](/files/rKLewXQyXyfgZE4NS8Rq) on the mask editor toolbar.

If the auto-generated masks are unsatisfactory, users can modify them using the built-in mask editor with the `Add` ![](/files/OQctupX2o17Uv9rPRPJE) and `Delete` ![](/files/DPyL6QnYjblsyWH2JAKb) brushes.

## Page Layout

<figure><img src="/files/k9NuEnFKbn6LDl7z4Yh9" alt=""><figcaption></figcaption></figure>

The `Tissue selection` page consists of two panels:

1. Left panel: displays the list of samples.
2. Right panel: displays the mask editor.

### Samples List

This panel shows the list of samples and their information, including:

1. Sample ID
2. Status: reviewed or not
3. Mask buffer setting

Clicking a row shows the selected sample. Clicking the `Apply Mask` icon ![](/files/rKLewXQyXyfgZE4NS8Rq) on the right panel shows the auto-generated tissue mask.

<figure><img src="/files/dpartVqyOjOQ4MsyYtFS" alt=""><figcaption><p>Review of Tissue Mask</p></figcaption></figure>

#### Reviewing a Sample

Initially, all samples will have the `Reviewed` status turned off. When a user confirms that the mask for a specific sample is satisfactory—whether using an auto-generated mask or an externally generated mask—the sample can be marked as `Reviewed`. **This status is final**, and no further changes will be allowed (the entire row will be disabled) unless you return to the previous step and reload the image.

#### Mask Buffer Setting

`Tissue mask buffer` extends the boundaries of the selected areas of interest on a mask. You can select a Small (20 μm), Medium (40 μm), or Large (60 μm) buffer boundary. After the buffer is set and the sample is marked Reviewed, Illumina Spatial Image Tool automatically enlarges these areas by the defined margin around the current tissue mask. See the medium buffer example screenshot below.

<figure><img src="/files/A2BK2ZIto02TCngghxSG" alt=""><figcaption><p>Reviewed Tissue mask with Medium buffer</p></figcaption></figure>

### Mask Editor

On the right panel is the mask editor, where the user can make modifications to the mask for the active sample. On its right-hand side are toolbar icons that the user can click to perform certain functions.

| Icon                                                                                                 | Description                 | Remarks                                                                                                              |
| ---------------------------------------------------------------------------------------------------- | --------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| <img src="/files/qe3L3RYXLcQPJ0ZIJWvt" alt="" data-size="original">                                  | Zoom in                     |                                                                                                                      |
| <img src="/files/iuETtnQZ6a5rXkHEsZ9p" alt="" data-size="original">                                  | Zoom out                    |                                                                                                                      |
| <img src="/files/Ls7jrZlec6zNTS4zWkUE" alt="" data-size="original">                                  | Pan mode                    |                                                                                                                      |
| <img src="/files/IVblQ8XENmrbRohUT3XK" alt="" data-size="original"> ![](/files/eKMv4JY8oDgHC0yhO2vB) | Apply/Unapply mask          | Display the effect of applying the mask to the tissue image.                                                         |
| <img src="/files/T0i4yb4ohnByXNC0nziu" alt="" data-size="original">                                  | "Add" brush                 | Brush for adding area of interest. The brush is a circle shape. Selected regions will show as a blue overlay.        |
| <img src="/files/Hqi2XQgbHSbHnbiLF4X9" alt="" data-size="original">                                  | "Delete" brush              | Brush for subtracting from area of interest. The brush is a circle shape.                                            |
| <img src="/files/Rw8vHnApsxTX549WcxvF" alt="" data-size="original">                                  | Download image              | Downloads the tissue image to create a mask using a third-party tool.                                                |
| <img src="/files/UGB1IFVzrzEM4WFU5SFc" alt="" data-size="original">                                  | Upload external mask        | Uploads a mask generated by a third-party tool into the mask editor, replacing the auto-generated mask.              |
| <img src="/files/jEWUCtmOT43Pqcp7cXYE" alt="" data-size="original">                                  | Delete/remove external mask | Removes the previously uploaded external mask and replaces it with the auto-generated mask.                          |
| <img src="/files/aPgKqrcXUbRKGbaIdjZS" alt="" data-size="original">                                  | Reset                       | Revert all changes back to the original state, as if the `Tissue selection` page was just loaded for the first time. |

These icons are enabled and disabled dynamically, depending on the state of the active/current sample. For example, when the current sample is in the `Reviewed` state, most of the icons will be disabled.

#### Brush Tool

When the Brush Tool is selected, the existing mask shows as blue, and regions can be added to the tissue area to be analyzed via the circle stamp.

<figure><img src="/files/2CKjZrIFEO1s8bsJgBvZ" alt=""><figcaption><p>See circle brush stamps added on the right</p></figcaption></figure>

### After checking Reviewed for all samples, click Next step to proceed.


---

# 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/tissue-target-test/select-tissue.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.
