Loligo Systems LoliTrack 5 2D Tracking User Guide

June 11, 2024
Loligo Systems

Loligo Systems LoliTrack 5 2D Tracking

INSTALLATION AND RUNNING THE SOFTWARE

  1. Download the latest version of LoliTrack 5 from our website: www.loligosystems.com/downloads Follow the instructions on the screen and then restart the PC.
  2. Connect the blue Keylok license dongle to a USB port on the PC to unlock the full software.
RECORD VIDEO FOR 2D TRACKING
  1. Open Video Recording from the main menu. Choose any of the available cameras for Cam 1 (3). Change frame rate or resolution in the Settings panel, if needed. File frame rate: The software will attempt to record at this frame rate. File resolution: The video will be scaled and saved to this resolution. You can also change the internal camera parameters.
    Press to open the file prompt and start recording.
    Note: A video file from each camera will be saved
    During recording, four parameters are shown at the bottom of the screen:
    ● Recorded time: The length of the recorded file (number of captured frames / file frame rate) · Frame rate: The actual frame rate during recording
    ● Captured frames: The number of captured frames
    ● Skipped frames: The number of skipped frames
2D TRACKING
  1. Open Tracking 2D from the main menu. Click on both and choose a video file. Change the File resolution, if necessary. Click Next to continue (4).

    In the Calibration tab, choose the desired Distance and Time units (5). Specify the Refractive index of the medium that the object is in (typically water or air). In the Parameters section, fill out the parameter fields (L, W, D… etc.). Click on to view illustrations of the camera setup. A blue square with dotted stroke will now appear on the video preview (5.1). Drag anchor points on each green square to the surface defined by L and W (see Setup  ), so that the anchor points mark the corners of the surface (5.2). If the tracked object is not in water, the green square can define the bottom of the chamber

  2. Additional functions:
    ● Hold cursor on video preview and scroll mouse wheel to zoom in/out.
    ● Drag the video preview around by right-clicking and dragging.
     Hold cursor on timeline and scroll mouse wheel to zoom in/out.
     Drag timeline from side to side by right-clicking and dragging.
    Use arrow keys for frame-by-frame control on timeline.

    In the Mask tab, use masking tools in Settings panel (6) to mask out any unwanted areas by

  3. choosing tool and dragging on video preview to create a shape. Adjust the shape using anchor 6 points. Objects in red areas will not be tracked. Every closed, non-masked area defines an arena (i.e. there are 97 arenas in the example (6.1)). Save the mask as a file for later use, if needed. Click OK and Next to continue.

  4. In the Filter tab, you can create a filter that will threshold images into objects (yellow pixels), that you want to track, and irrelevant objects or background. First select filter mode A (color/ contrast) or B (background subtraction):

    A. Threshold objects based on color contrast:
    1.
    Left-click an object in the video preview to indicate color of the object. Shift + left-click to indicate color of the background.
    2. Adjust Minimum/Maximum object size to filter out noise (small pixels) or larger objects.
    B. Threshold objects by subtracting static background pixels:
    1.
    Increase Filter strength to threshold out moving objects.
    2. Adjust Minimum/Maximum object size to filter out unwanted objects.
    3. Adjust Background brightness for improved threshold on bright/dark objects.
    Scroll through video for a visual check of the yellow pixels and change settings, if needed. Click OK to save the filter. Click Next to continue.
    In the Tracking tab, select the best tracking method for your setup (8).

  5. A. Track a single or a few objects with no occlusions (when one object is hidden by another object that passes between it and the observer).

    B. Multiple objects with occlusions.
    C. Multiple arenas with no more than 1 object in each arena.
    Move time cursor to a point on the timeline where all objects are easily identified (no occlusions or object fusing with background) to help start tracking.
    The object midline can be tracked, but it increases tracking time. A Simple midline is good for e.g. fish, while Fine is recommended for worms etc. Choose None if a midline is not needed.
    In the Tracking tab, click Auto select all objects to add all visible objects (yellow pixel clusters) to your object list (9). Alternatively, left-click on each object to add it to the list and right-click to remove. When an object is added to the list, change the color (click color block) and rename 9 it, if needed.
    Track entire video by clicking Start tracking. Alternatively, select an interval (hold shift + drag) on the timeline (9.1) and then click Start tracking to track only this interval. When the tracking is completed, click Next to continue.
    In the Analysis tab, you can add Zones as a video overlay and select Parameters before exporting tracking data to Excel or as a media file (10).
    A. Position settings: Choose the position on the object that the tracking data will be based on. Adjust the Activity-threshold to remove unwanted pixel- noise. Choose the number of frames over which data averaging is performed (Smoothing). Exported midline points determines the resolution of the midline.
    B. View settings: Adjust which parameters are shown as overlay on the video preview.
    C. Arenas and treatments: Edit the names of arenas and treatments, and apply a treatment to a given arena (10.1). The arena names and applied treatments can be saved and applied to a video with an identical setup.

  6. D. Export to Excel: Choose the parameters that will be included in the Excel file for the entire video (or interval, if selected on the timeline). Selecting markers on the fish will include tracking data for the selected positions in the Excel file. Tracking data (the parameters you select in Export parameters) for arenas, zones and treatments can be exported as well.

    E. Export video: Export the entire video (or interval, if selected on timeline) with the overlay shown in the video preview window.
    F. Export image: Export the current frame with the overlay shown in the video preview window. Use the Batch analysis to analyze and export data for multiple videos from the same setup. Every setting in the Calibration, Mask, Filter, Tracking and Analysis for the current video will be applied to the other videos.

  7. Frequency analysis. Use the frequency analyzer to find heart rates, tail beats, ventilations, and other types of frequencies from video recordings. You can also do volume calculations to estimate stroke volume, pumping volume, etc. For details on how to use the frequency analyzer, see our online FAQ and YouTube channel:


    www.loligosystems.com/resources/faq
    www.youtube.com/loligosystems

  8. In the Analysis tab, tracking data for Speed, Acceleration, Distanced moved, Nearest Neighbor Distance (NND), Average Inter-Individual Distance (AIID) and Median Inter-Individual Distance

  9. (MIID) is shown in the graph tabs (upper left). You can export any of the graphs (12) by clicking the Export to Excel icon in the Settings panel. Additionally, you can change the color and style of the plotted data by clicking on the Style icon in the same panel (12.1).

  1. Download the latest version of LoliTrack 5 from our website: www.loligosystems.com/downloads
    1 Follow the instructions on the screen and then restart the PC.

  2. Connect the blue Keylok license dongle to a USB port on the PC to unlock the full software.

RECORD VIDEOS FOR 3D TRACKING
  1. For accurate 3D tracking in LoliTrack 5, the two cameras must be set up similar to the illustrations
    specified in step 5, see .


    Open Video Recording from the main menu. Choose two of the available cameras for Cam 1 and Cam 2 (3). Change frame rate or resolution in the Settings panel for each camera, if needed. File frame rate: The software will attempt to record at this frame rate. File resolution:
    The video will be scaled and saved to this resolution. You can also change the internal camera parameters.
    Click on the Synchronized tab to preview both cameras (3.1).
    Press    to open the file prompt and start synchronized recording. Note: A video file from each camera will be saved.
    During recording, four parameters are shown at the bottom of the screen:
    ● Recorded time: The length of the recorded file (number of captured frames / file frame rate)
    ● Frame rate: The actual frame rate during recording
    ● Captured frames: The number of captured frames
    ● Skipped frames: The number of skipped frames
3D TRACKING
  1. Open Tracking 3D from the main menu. Click on both    and cing 2D from the main menu. Click on hoose a video file for each.
    Change the File resolution, if necessary. Note: 3D tracking is only available for a single object. Click Next to continue.
    In the Calibration tab, choose the desired Distance and Time units (5). Specify the Refractive index of the medium that the object is in (typically water or air). In the Parameters section, fill out the parameter fields (L, W, D… etc.). Click on  to view illustrations of the camera setup. A blue square with dotted stroke will now appear on the video preview (5.1). Drag anchor points on each green square to the surface defined by L and W (see Setup ), so that the anchor points mark the corners of the surface (5.2). If the tracked object is not in water, the green square can define the bottom of the chamber

  2. Click Auto calibrate. The blue square should now start to approximate the shape of the green square (5.3). As the auto calibration process is an approximation, the progression status will move towards 100 % completion (5.3). It is acceptable to stop the auto calibration process, once the status is in the yellow or green area. If the progression status does not enter the yellow or green area, either change the parameters or verify that the blue square is actually on the surface. Click OK to save the calibration. Click Next to continue.




    Additional functions:
     Hold cursor on video preview and scroll mouse wheel to zoom in/out.
     Drag the video preview around by right-clicking and dragging.
     Hold cursor on timeline and scroll mouse wheel to zoom in/out.
     Drag timeline from side to side by right-clicking and dragging.
     Use arrow keys for frame-by-frame control on timeline.

  3. In the Mask tab, select a masking tool (6) for each camera to mask out any pixels/areas that should not be processed by the software. Use mouse cursor to drag out masking shapes/ patterns on the video preview. Adjust the size and shape using anchor points. Areas marked with red color will not be tracked/analyzed. Click OK to save mask and Next to continue.

  4. In the Filter tab, change settings to create a filter for each camera that will threshold images into objects (yellow pixels), that you want to track, and irrelevant objects or background. First select filter mode A (color/contrast) or B (background subtraction):

    A. Threshold objects based on color contrast:
    1. Left-click an object in the video preview to indicate color of the object. Shift + left-click to indicate color of the background.
    2. Adjust Minimum/Maximum object size to filter out noise (small pixels) or larger objects.
    B. Threshold objects by subtracting static background pixels:
    1. Increase Filter strength to threshold out moving objects.
    2. Adjust Minimum/Maximum object size to filter out unwanted objects.
    3. Adjust Background brightness for improved threshold on bright/dark objects.
    Scroll through video for a visual check of the yellow pixels and change settings, if needed. Click OK to save the filter. Click Next to continue.

  5. In the Tracking tab, click Start tracking to track entire video. Alternatively, select an interval (hold shift + drag) on the timeline (8) and then click Start tracking to track only this interval. When the tracking is completed, click Next to continue.

  6. In the Analysis tab, you can view the 3D tracking and export tracking data to Excel, as a 3D model or as a media file (9).

    A. Export image: Export the current frame with the overlay shown in the video preview window.
    B. Export video: Export a 10 seconds video with the overlay shown in the video preview window. In the exported video, the camera will circle once around the 3D model, while the 3D position marker will move along the tracked positions in the selected interval on the timeline. To preview the exported video, click on Orbit in the 3D tools (9.1).

    C.. Export to Excel: Export the tracked data to an Excel file for the entire video (or interval, if selected on the timeline).
    D. Export 3D model: Export a 3D model as either a .glb, .obj, .stl, .u3d file.
    .glb Can be viewed in most 3D apps on Windows, incl. Word, Excel and PowerPoint.
    .obj Standard 3D image format.
    .stl 3D image format widely used in 3D printing and modelling interfaces.
    .u3d Standard 3D image format. Can be inserted and viewed in PDFs.

  7. In the Analysis tab, tracking data for Speed, Acceleration and Distanced moved is shown in the graph tabs (upper left). You can export any of the graphs (10) by clicking the Export to Excel icon in the Settings panel. Additionally, you can change the color and style of the plotted data by clicking on the Style icon in the same panel (10.1).


Documents / Resources

| Loligo Systems LoliTrack 5 2D Tracking [pdf] User Guide
LoliTrack 5 2D Tracking, LoliTrack 5, 2D Tracking, Tracking
---|---

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals