# Single Scan

{% hint style="success" %}
A tutorial video is available at the bottom of the page.
{% endhint %}

Contrary to the Batch Extraction implementation, the single-scan feature extraction provides great flexibility through a drag-and-drop design. This enables users to customize their Radiomics analysis for a specific image. In this mode, users have control over the processing steps and the features to be extracted. Moreover, additional features such as 3D image visualization are available.

The following image summarizes the available resources in the single scan interface:

<figure><img src="/files/QQMSBIIOEDQifCgHnoUb" alt=""><figcaption><p>Single image feature extraction interface</p></figcaption></figure>

Having gained an understanding of the various components of the extraction interface, the following section illustrates the available nodes, highlighting their individual functionalities, inputs, and outputs.

<table><thead><tr><th width="189">Node</th><th width="201">Description</th><th>Input</th><th>Output</th></tr></thead><tbody><tr><td><img src="/files/AKx2HTp5umHyKByheWg0" alt="" data-size="original"></td><td>The input node handles the loading of data into memory, supporting both DICOM files and <a href="https://medimage.readthedocs.io/en/latest/tutorials.html#medimage-class">MEDscan </a>objects. Additionally, it provides 3D visualization of the images.</td><td>None</td><td><a href="https://medimage.readthedocs.io/en/latest/tutorials.html#medimage-class">MEDscan </a>binary object</td></tr><tr><td><img src="/files/qhMWMQ1pRGp9aA5qB2IF" alt="" data-size="original"></td><td>The segmentation node is used to define the regions in which features are calculated. These regions are automatically identified from the loaded scan. More details in <a href="https://arxiv.org/pdf/1612.07003.pdf#section.2.3">IBSI section 2.3</a>.</td><td>Input node (With loaded file)</td><td>Imaging Volume &#x26; Mask</td></tr><tr><td><img src="/files/EqkBPQ3WwQvGT7VG4JXK" alt="" data-size="original"></td><td>The interpolation node is used to interpolate to isotropic voxel spacing. Many features require interpolation prior to their extraction. More detail in <a href="https://arxiv.org/pdf/1612.07003.pdf#section.2.4">IBSI section 2.4</a>.</td><td>Imaging Volume &#x26; Mask</td><td>Interpolated Imaging Volume &#x26; Mask</td></tr><tr><td><img src="/files/4X0fw70d4m8ZFzaWUQJQ" alt="" data-size="original"></td><td>The re-segmentation process is performed to exclude voxels from a previously segmented ROI, and is performed after interpolation. More details in <a href="https://arxiv.org/pdf/1612.07003.pdf#section.2.5">IBSI section 2.5</a>.</td><td>Binary Mask</td><td>Segmented Binary Mask</td></tr><tr><td><img src="/files/JAd2dRUz1SzMnmdGEOL5" alt="" data-size="original"></td><td>ROI extraction node replaces voxels outside the ROI by a placeholder value, often <em>NaN</em>. More details in <a href="https://arxiv.org/pdf/1612.07003.pdf#section.2.6">IBSI section 2.6</a>.</td><td>Imaging Volume</td><td>Imaging Volume</td></tr><tr><td><img src="/files/bISOrnblRvRXl9dXQdRr" alt="" data-size="original"></td><td>Filtering is conducted after image interpolation. A set of linear filters is available for use. More details in <a href="https://arxiv.org/pdf/2006.05470.pdf">IBSI-2</a>.</td><td>Imaging Volume</td><td>Filtered Imaging Volume</td></tr><tr><td><img src="/files/nVYYaZRGpL2yqSLq9uO8" alt="" data-size="original"></td><td>Discretization or quantization of image intensities inside the ROI is required for the calculation of texture features. More details in <a href="https://arxiv.org/pdf/1612.07003.pdf#section.2.7">IBSI section 2.7</a>.</td><td>Imaging Volume with ROI voxels only</td><td>Discretized Imaging Volume with ROI voxels only</td></tr><tr><td><img src="/files/3MUbWk0J2RYgzEEHpcRx" alt="" data-size="original"></td><td>Feature calculation is the final processing step. Upon clicking, a page will appear, allowing you to select the features for extraction.</td><td>The input depends on features type. Usually Imaging volume and ROI mask.</td><td>Features dictionary</td></tr></tbody></table>

To select the features to extract, click on the extraction node, a page will appear (see figure below) and you will be able to select feature families and features to extract for your analysis.

<figure><img src="/files/XuB5OPyBYKWWlefpR3Ma" alt=""><figcaption><p>Page to select features to extract</p></figcaption></figure>

### Tutorial video <a href="#tutorial-video" id="tutorial-video"></a>

{% embed url="<https://www.youtube.com/watch?ab_channel=MEDomicsLab&v=BDFuzRM1fes>" %}


---

# 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://medomicslab.gitbook.io/mediml-app-docs/radiomics/feature-extraction/single-scan.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.
