---
title: "Fill gaps manually"
canonical: "https://help.vicon.com/space/ShogunPost121/1253737862/Fill%20gaps%20manually"
format: markdown
---
You can fill gaps manually using the **Marker Editing** panel, normally in conjunction with the **Data Health** view and/or a **Graph** view. The **Marker Editing** panel contains all the tools necessary to fill gaps, alter trajectory keys and filter your data.

For example, you might first notice a gap from the display on the time bar Issues map, then note which marker is affected in the **3D Scene** view:

> ![Missing marker displayed in the time bar and 3D Scene view of Vicon Shogun Post.](media://3cd50b66-da6a-4acf-b286-0fcba56f8a2f)

1. To quickly gap-fill the selected marker, on the time bar double-click to move the current time indicator to the relevant frame.  
The affected marker is automatically highlighted in the **3D Scene** view (you can right-click and drag to zoom in further to check the marker).
2. To open a **Data Health** view and a **Graph** view, as well as a **3D Scene** view, split the screen by selecting the Three Views Split Left button > Macro (inline-media-image)

 at the top of the Shogun Post window and change the views in the new panes.
3. If the **Marker Editing** panel is not already open, on the **Processing** tab on the ribbon, selecting **Marker Editing**.
4. In the **Data Health** view, find the relevant marker's line, which shows a gray rectangle that represents the gap.
5. In the **Data Health** view, double-click to select the range of the gap.
6. In the **Marker Editing** panel, expand the **Fill Gaps** section. In the **Fill Using Interpolation** area, select **Selected Ranges** (to fill only the current selection), and then select **Fill Using Interpolation**.
  This looks at the keys on either side of the gap and fills it by interpolating between them. It works well for small gaps.
7. In the **3D Scene** view and **Graph** view, check that your fill has given the required result.
8. If the fill does not give an appropriate result, you can click Undo on the quick access toolbar > Macro (inline-media-image)

, and try other gap-filling options in the **Marker Editing** panel (see [Options for manual gap filling](#GapFillOptions)).

> Macro (scroll-pagebreak)

 > Macro (anchor)



### Options for manual gap filling

The appropriate option to use depends on the type of gap that you want to fill.

> Macro (toc)

##### Short gaps

1. Manually select a short gap by double-clicking in a **Graph** view or **Data Health** view, and in the **Marker Editing** panel, expand the **Fill Gaps** section and select **Fill Using Interpolation**.  
This looks at data before and after the gap and uses a spline fill to interpolate between them.
2. Check that the result looks reasonable in a **3D Scene** view and **Graph** view.

##### Sequence of short gaps

1. For a sequence of small gaps with a smooth line running through the gap in the **Graph** view, ALT+drag to select the affected data.
2. In the **Fill Using Interpolation** area, select **Selected Ranges**, and then click **Fill Using Interpolation**.

#### Non-linear motion

For non-linear motion, for example, where rotational movement is involved, as interpolation does not account for this kind of motion, a different approach is needed. If a missing marker is part of set of markers that are rigid (ie, remain in the same relation to each other, for example, a pelvis), you can use three or more markers in the rigid object (three in addition to the marker that has the gap is recommended) to help fill in the data for the missing marker.

1. To select the range of the gap, double-click in a **Graph** view or **Data Health** view, then select (CTRL+click) the three other markers in the rigid object.
2. In the **Marker Editing** panel, expand the **Fill Gaps** section.
3. In the **Fill Rigid** area, select **Selected Ranges** and select **Fill Rigid**.   
The pattern of the present markers is copied onto the missing marker.
4. As usual, check in the **Graph** view and in a **3D Scene** view that the fill looks sensible.

Other rigid objects you can use in a default marker set include hands, forearm, upper arm, shoulders, thorax, and head.

#### Non-linear motion where rigid fill is impossible

In cases where the motion is non-linear, but a rigid fill is not possible due to all the related markers being absent, you can use the **Fill Using Constraints** option. This uses the labeling or solving skeleton to produce the fill. It requires a skeleton be present, the skeleton to be constrained by markers, and enough markers to have data that the solve is fairly good. The marker being filled must be constrained to the skeleton because it is the constraint offset that is used to determine where the marker should be during the fill.

Before using this type of fill, check that the bones and missing markers (by default displayed in red in the **3D Scene** view), are in sensible locations.