Aivia Software
Track display
Tracks are objects that are linked over time; tracks contain information about an object's positions throughout its lifetime. Track objects can be generated by applying one of the tracking recipes available in Aivia. Tracks have four (4) different types of overlays that can be toggled individually.
This page covers display options that are specific to tracks. General information on displaying object sets can be found on the Object Settings page.
Interface
An example of how object groups that are of the track type appear in the Object Set Settings panel is shown below.
The option to select a rendering mode in the View column is only available for tracks with 3D objects. 2D tracks also do not have the Alpha column.
On this page:
Overlay types
There are four (4) overlays for track display:
Objects, which can be outlines in 2D or meshes in 3D
Tracks, which indicate the current and previous positions of the tracked objects in the form of lines
Anchors, which show the positions (centroids) of the objects on the current and, optionally, previous frames
Trends, which show the general headings of tracks between specified points in time
Each overlay has different settings that can be adjusted and toggled independently. Below are examples of the different types of track overlays (click on an image to expand it).
Overlay | Objects | Tracks | Anchors | Trends | Combined |
|---|---|---|---|---|---|
2D | |||||
3D |
Object display
Tracks in Aivia are associated with objects that are related in time. Objects can be either outlines (in 2D) or meshes (in 3D). Objects are visible only in their respective views, depending on whether the dataset is 2D or 3D. Below are examples of how objects are displayed (along with tracks and anchors) for 2D and 3D datasets.
Objects in 2D | Objects in 3D |
Rendering modes
If you have 3D objects tracked over time, you can specify the rendering mode for the object meshes in 3D View by clicking on the icon in the View column for the object group and then selecting the mode from the menu that opens. There are three (3) rendering modes for meshes:
Rendering Mode | Icon | Description |
|---|---|---|
Solid Surface | Renders meshes as solid, closed surfaces | |
Wireframe | Renders meshes as sets of connected line segments | |
Points | Renders meshes as point clouds |
Once a new rendering mode is selected, the displayed object sets are refreshed automatically to reflect the new selection.
Depending on your hardware, the size of the image, and the rendering mode chosen, it may take Aivia up to several minutes to fully render the display with the specified settings.
A comparison between the three (3) rendering-mode displays is shown below (click on an image to enlarge it).
Solid Surface | Wireframe | Points |
Rendering-mode options |
Track display
A track is a line representation of an object's position over time. As you progress to the next time point, a short segment is appended to the display, indicating the movement of the object from its previous position to its new position on the current frame. Options for track display are given in the table below.
Name | Icon | Description |
|---|---|---|
Set Track Length | Specifies the number of frames to display with the track overlay; a longer track length may result in reduced performance | |
Set Overlay Radius | Specifies the width of the track display | |
Show/Hide Track Labels | Shows/Hides track labels in Main View (2D) |
You can drag the Set Track Length slider or use the adjacent textbox to adjust the maximum number of frames included in the track display.
When you click on the Set Overlay Radius icon, a slider and textbox pop up underneath the icon. You can use the slider, textbox, or up and down arrows to adjust the radius. Press Enter to confirm changes made in the textbox. It make take a short amount of time for the track display to update, depending on the number of tracks that are visible on the image.
Anchor display
Anchors show the position of the tracked object's centroid. The anchor display is updated each time when you progress to another time point. There are two (2) adjustments that are available for anchor display:
Name | Icon | Description |
|---|---|---|
Set Overlay Radius | Specifies the radius of the anchor display | |
Select Anchor Display Mode | Specifies the display style of the anchor overlay |
Same as the tracks display, you can adjust the radiusof the anchor circle (2D) or sphere (3D) by clicking on the Set Overlay Radius icon and using the sliders to specify a value.
In the View column, there are two (2) options for anchor displays:
Name | Icon | Description | Example (Click to enlarge) |
|---|---|---|---|
Current (Default) | Shows an anchor only for the current track position | ||
All | Shows all anchors on the displayed portion of the track |
Trend display
Trends show the general directions the tracks travel. Trends are displayed as arrows pointing from the initial position to the terminal position (depending on trend display mode). Trends are updated when you progress to the next time point. There are two (2) adjustments that are available for trend display:
Name | Icon | Description |
|---|---|---|
Set Overlay Radius | Specifies the width of the trend arrow | |
Set Trend Display Mode | Specifies the trend display mode |
Same as the tracks display, you can adjust the size and thickness of the trend arrow by clicking on the Set Overlay Radius icon and using the sliders to specify a value.
In the View column, there are three (3) options for trend displays:
Name | Icon | Description | Example (click to enlarge) |
|---|---|---|---|
Full Track (Default) | Shows the trend from the track's initial position to its terminal position | ||
First To Current | Shows the trend from the track's initial position to its current position | ||
Only Visible | Shows the trend from the track's position at the earliest displayed time point to its current position |
Coloring options
You can specify the coloring mode for each track overlay separately. The coloring scheme for an overlay can be specified by clicking on the icon in the Color column for the overlay. The coloring options for track overlay displays are summarized in the table below:
Coloring Mode | Objects | Tracks | Anchors | Trends |
|---|---|---|---|---|
Solid Color | ||||
Color By Label | (2D) (3D) | |||
Color By Object Type | ||||
Color By Name | ||||
Color By Measurement | ||||
Color By Class | ||||
Color By Cell |
Track Smoothing
How to use:
Load a time-series image with tracks present in it. The
Objectspanel should auto-populate with the tracks in the image and the track options should be visible at the bottom of theObjectspanelFor the purpose of this tutorial, we are going to set the
Tracks > Lengthto the maximum length of the timeseries, and move the visualization window to the last timepoint in the series to better see the tracks. Currently our viewer is set in 2D mode, but the same instructions will also apply for the 3D mode.In the
Track Settingswindow at the bottom of theObjectspanel, there is an option calledSmooth Track:When
Smooth Trackis set toNone, the window will display the unmodified tracks.To change the smoothing mode, click on the dropdown menu and select one of three options (Simple Moving Average, Exponential Moving Average, Gaussian Filter):
What do the smoothing modes mean?
- Simple Moving Average (SMA): Averages cell positions evenly over the chosen window. Good for removing small jitters while keeping the overall path.
- Exponential Moving Average (EMA): Weights recent positions more strongly than older ones. This makes the track follow recent changes more closely while still filtering out noise.
- Gaussian Filter: Applies a bell-shaped weighting around each point, giving a very smooth and natural-looking trajectory. Best for making tracks look continuous and presentation-ready.
More details on the best use case for each option is presented in the table later in this document.
Upon selecting a mode, the tracks should automatically smooth on the rendered image.
To toggle quickly between the smoothed and the raw tracks, press the eye icon next to
Smooth TrackTo adjust the strength of the smoothing, click on the dot next to the drop down menu to expose the
Window Sizeslider:
TheWindow Sizesets how many time points are averaged together when smoothing the track.A small window size = gentle smoothing. The track will still show quick wiggles and short-term changes in cell movement.
A large window size = strong smoothing. The track will look much smoother and straighter, but small, rapid movements will be “ironed out.”
In practice, think of it like adjusting the focus on a microscope:A tighter focus (small window) shows more fine detail, including noise.
A looser focus (large window) blurs the details, leaving only the bigger overall trend.
These instructions also apply to
3D Viewand3D Plane Viewfor 3D images.
Use Cases
Filter Type | Best Use Cases | Trade-offs |
|---|---|---|
Simple Moving Average (SMA) |
|
|
Exponential Moving Average (EMA) |
|
|
Gaussian Filter |
|
|
TLDR:
Use SMA for basic trend recognition.
Use EMA when emphasizing recent motion direction.
Use Gaussian for the cleanest visualization (beautification, presentation).
Image credits
Hernan Garcia, University of California - Berkeley, Berkeley CA
Stegmaier J, Mikut R. Fuzzy-based propagation of prior knowledge to improve large-scale image analysis pipelines. PLoS One. 2017 Nov 2; 12(11):e0187535. https://doi.org/10.1371/journal.pone.0187535
Related articles