> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/analysis/eye-tracking/scan-paths-and-individual-heatmaps.md).

# Scan Paths and Individual Heatmaps

Show scan paths and individual heatmaps of a respondent's gaze over images or video replays, adjust their visualization settings and export them.

*This article explains how to view Scan Paths based on respondent eye tracking data.*

Scan Paths provide visualization of the gaze path of individual respondents and their eye tracking data - overlaid onto static image or video replays.

* Scan Paths can be found in any [Respondent Replay Window](https://help.imotions.com/lab/analysis/replay-and-analysis-windows.md) for a study or analysis that contains eye tracking data.
* Scan Paths show the visual path for each respondent recording with Fixations (circles) and Saccades (lines).
  * Scan paths result from the selected [Fixation Classifier](https://help.imotions.com/lab/analysis/eye-tracking/fixation-classifiers.md) - in other words, scan paths show fixation-classified gaze data

## Visualization Settings Menu

The **Visualization Settings Menu** can be found in any Replay Window (along the left). These Settings control the Scan Path and/or Heatmap that appears in the Stimulus Panel.

* **Gaze Visualization**
  * **Static Scan Paths** - Overlays all eye tracking data for the stimulus or annotation, showing the entire visual path for the selected time period.
  * **Dynamic Scan Path** - Overlays eye tracking data according to the ‘Gaze trail length’ setting, showing the visual path for that window.
* **Heatmap Visualization** - Overlays eye tracking data from the selected time range.

The **Export menu** can then be used to create export files:

* The Video and Image options create images (.png) or videos (.wmv, .mp4), as they appear in the Replay window ([Video and Image Exports from Replays](https://help.imotions.com/lab/exports/video-audio-and-image-exports/export-images-and-videos-from-replays.md)).

## Scan Path and Heatmap Visualization Settings

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-08c197ce20baea87ae26a6e09a7dd4bb610a8321%2F7f1c20320f_image-C5A0MVY3.webp?alt=media)

### Scan Path Settings (Gaze visualization)

#### Static Scan Paths Options

| Scan Path time range          | Time range options include Stimulus or Annotation                                                                      |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Trail color                   | Choose the color of the trail (saccades)                                                                               |
| Show fixation numbers         | Choose how to visualize the *order* of the fixations                                                                   |
| Indicate fixation duration by | Choose how to visualize the *duration* of the fixations: by the size of the circles, or by color (red-green; blue-red) |

**Adjusting Static Scan Paths**

* Static Scan Paths can be adjusted to specific intervals by creating [Scenes](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/scene-editor.md) that align with the desired interval/scan path.
* Alternatively, you can use a Dynamic Scan Path by navigating to the end of the interval and adjusting the ‘Gaze trail length’. This approach is necessary for static stimulus types (e.g., images, survey slides, or 'gaze mapped images') that cannot be segmented into Scenes.

#### Dynamic Scan Paths Options

| Focus color                   | Choose the color of the circles (fixations)                                                                            |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Trail color                   | Choose the color of the trail (saccades)                                                                               |
| Show fixation numbers         | Choose how to visualize the *order* of the fixations                                                                   |
| Gaze trail length             | Choose how long to visualize the fixations (0 - 10 sec.)                                                               |
| Indicate fixation duration by | Choose how to visualize the *duration* of the fixations: by the size of the circles, or by color (red-green; blue-red) |
| Gaze smoothing filter         | Choose to apply a gaze smoothing filter                                                                                |

**Gaze smoothing filter**

Gaze smoothing filter can be applied to mitigate the effects of signal noise in eye tracking data. This filter only applies to Scan Path visualization (and does not affect data or results).

*Gaze Smoothing Filter Method*

A Hamming window is applied to gaze data such that neighboring samples (gaze data closest in time) are averaged into the visualized/displayed gaze point to provide a smoother scan path. This smoothing filter is applied at time (*t)* along the gaze path:

1. The neighboring gaze points lying in a window of *\[t - 80 ms, t + 80 ms]* around the current points are selected. If missing gaze points are present in this interval, fewer points are considered.
2. Weighted averages are computed for the *x* and *y* coordinates of all points in the window, using a Hamming window of length 160 ms as weights.
3. The result of the weighted average gives the *(x,y)* coordinates of the smoothed point.

### Heatmap Visualization Settings

Heatmaps are available for individual Respondent Replays in iMotions 11.1.6 or newer.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-0578237817f9cec62d80dc3232ffe464e045b96b%2Fcdba76286d_image-J8MNLY4P.webp?alt=media)

| Heatmap time range | Time range options include Stimulus or Annotation                                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Heatmap style      | <p>Heatmap = red-green overlay for significant data<br>Spotlight = highlights areas with significant data, occludes areas with little or no data</p> |
| Base heatmap on    | Gaze points (default) or Fixations; see [Static Heatmaps](https://help.imotions.com/lab/analysis/eye-tracking/heatmaps.md#static-heatmaps)           |

## Export Scan Paths

Scan Paths can be exported from any Replay window with the Export menu as video files (.mp4, .wmv) or image files (.png).

For information about these steps, refer to [Export: Images and Videos from Replays](https://help.imotions.com/lab/exports/video-audio-and-image-exports/export-images-and-videos-from-replays.md)

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-56947fb8f8af0e13792f47072386b7ebfc11ee71%2Fab4afca341_image-IR19G5QC.webp?alt=media)


---

# 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.imotions.com/lab/analysis/eye-tracking/scan-paths-and-individual-heatmaps.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.
