Labeling


Main PageMotive DocumentationLabeling

Page Scope

This page provides basic description of marker labels and instructions on labeling workflow in Motive.


Labeling: Basic Concept[edit]


Labeled markers of a rigid body asset in Motive.

Marker Label[edit]

Marker labels are basically software name tags that are assigned to trajectories of reconstructed markers so that they can be referenced for tracking individual markers, rigid bodies, or skeletons. Motive distinguishes labeled marker trajectories from other 3D reconstructions within a capture using the assigned labels. Labeled trajectories can be exported individually, or used (solved) altogether to compute positions and orientations of the tracked assets. Thus, in general, all of the target 3D markers need to be labeled in Motive. There are two methods for labeling markers in Motive: auto-labeling and manual labeling. Both labeling methods will be covered in this page.

Monitoring Labels[edit]

Motive provides several views for identifying and resolving labeled or unlabeled trajectories:
  • From the 3D perspective viewport. Marker Labels must be enabled for viewing under the visual aids (Viewport16.png) options.
  • The Labeling pane lists out the marker labels for each of the involved labels and indicates their corresponding percentage completeness.
  • The scrubber in the Graph View pane gets highlighted in red for frames where the selected markers are unlabeled.
  • The Tracks View in the Graph View pane gives a list of labels and their continuity in a captured Take.
  • Using the Graph View pane to view unlabeled trajectory gaps on labeled marker.
  • Using the Labeling pane to correct the unlabeled marker trajectories.
  • Labeling Methods[edit]


    There are two main approaches for labeling markers in Motive:

    • Auto-label: Automatically label sets of rigid body markers and skeleton markers using corresponding asset definitions.
    • Manual Label: Manually labeling individual markers using the Labeling pane.


    When tracking rigid bodies and skeletons, Motive can automatically label associated markers both in real-time and post-processing. The auto-labeler uses active asset definitions to search for related markers and labels them with pre-defined names throughout each frame of 3D data. Using the auto-labeler, it wouldn't be necessary to individually assign marker labels for trackable assets.

    There are times, however, when it is necessary to manually label a section or all of a trajectory, either because the markers of a rigid body or a skeleton were misidentified (or unidentified) during capture or because individual markers need to be manually labeled. In these cases, the Labeling Pane in Motive is used to perform manual labeling of individual trajectories. Manual labeling workflow is supported only for post-processing of a capture when a Take file (TAK) has been loaded with 3D data as its playback type. In case of 2D data only capture, the Take must be Reconstructed first in order to assign, or edit, the marker labels in its 3D data. This manual labeling process is typically referred to as post processing of recorded mocap data along with the process of editing reconstructed marker data. For more details on editing 3D data, see more in the Data Editing page.

    • Auto-labeled rigid body markers.
    • Auto-labeled skeleton markers.

    Auto-label[edit]


    Auto-labeling a Take

    Rigid body and skeleton asset definitions contain information of marker placements on corresponding assets. This is recorded when the assets are first created, and the auto-labeling pipeline in Motive uses them to label a set of reconstructed 3D trajectories that resemble marker arrangements of active assets. Once all of the markers on active assets are successfully labeled, corresponding rigid bodies and skeletons get modeled in the 3D viewport.

    Auto-labeling Steps[edit]

    From Data Management pane[edit]

    1. Select Takes from the Data Management pane
    2. Right-click to bring up the context menu
    3. Click either auto-label or reconstruct and auto-label to process selected Takes. The combined reconstruct and auto-label will create a new set of 3D data and auto-label the markers from it.
    4. This will label all the markers that matches the corresponding asset definition.

    From Labeling pane[edit]

    1. Open a Take that you wish to auto-label.
    2. Open the Labeling pane
    3. Use the Auto-label button (Label AutoLabel 20.png) to run the auto-label pipeline.
    4. This will label all the markers that matches the corresponding asset definition.

    Auto-labeler Settings[edit]

    The settings for the auto-labeling engine are defined in the Auto-labeler section of the Reconstruction pane. The auto-labeler parameters can be modified during post-processing pipelines, and they can be optimized for stable labeling of markers throughout the Take.
    • Rigid body marker ID’s in 2D data. the rigid body asset is live-solved.
    • In 3D data, rigid body markers are labeled and the corresponding asset is modeled.

    Warning2.png

    Note: Be careful when reconstructing a Take again either by Reconstruct or Reconstruct and Auto-label, because it will overwrite the 3D data and any post-processing edits on trajectories and marker labels will be discarded. Also, for Takes involving skeleton assets, the recorded skeleton marker labels, which were intact during the live capture, may be discarded, and reconstructed markers may not be auto-labeled again if the skeletons are never in well-trackable poses throughout the captured Take. This is another reason why you want to start a capture with a calibration pose (e.g. T-pose).

    MarkerSets[edit]


    Labeling using marker set. This video uses Motive 1.10. Creation of the MarkerSet may be slightly different.

    The MarkerSet is a type of assets in Motive. It is the most fundamental method of grouping related markers, and this can be used to manually label individual markers in post-processing of captured data using the Labeling pane. Note that MarkerSets are used for manual labeling only. For automatic labeling during live mode, a Rigid Body asset or a Skeleton asset is necessary.

    Since creating rigid bodies, or skeletons, groups the markers in each set and automatically labels them, MarkerSets are not commonly used in the processing workflow. However, they are still useful for marker-specific tracking applications or when the marker labeling is done in pipelines other than auto-labeling. Also, marker sets are useful when organizing and reassigning the labels.

    Create MarkerSet[edit]

    To create a MarkerSet, click the IconAdd.png icon under the Assets pane and select New Marker Set.
    • Creating a MarkerSet from Assets pane

    Adding Labels[edit]

    Once a MarkerSet asset is created, its list of labels can be managed using the Markersets pane. First of all, markerset assets must be selected in Motive and the corresponding asset will be listed on the markerset pane. Then, new marker labels can be added by clicking the IconAdd.png Icon. If you wish to create multiple marker labels at once, they can added by typing in the labels or copying and pasting a list of labels (a carriage-return delimited) from the windows clipboard onto the pane as shown in the image below..(Press Ctrl+V in the Marker List window).
    MarkersetPane AddLabels.png


    Labeling Pane[edit]


    Labeling Tutorial 2. Manual Labeling in Motive. This video is based on older version of Motive. There maybe a few differences in Motive 2.0, but the general workflow still remains the same.
    Use the Labeling Pane to quickly label markers

    The Labeling pane is used to assign, remove, and edit marker labels in the 3D data. The Tracks View under the Graph View pane can be used in conjunction with the Labeling pane to monitor which markers and gaps are associated. The Labeling pane is also used to examine the number of occluded gaps in each label, and it can be used along with the Editing Tools for complete post-processing.

    Using the Labeling pane, you can assign marker labels for each asset (MarkerSet, Rigid Body, and Skeleton) via the QuickLabel Mode Label QuickLabelMode.png. The Labeling Pane also shows a list of labels involved in the Take and their corresponding percent completeness values. The percent completeness values indicate frame percentages of a Take for which the trajectory has been labeled. If the trajectory has no gaps (100% complete), no number will be shown. You can use this pane together with the Graph View pane to quickly locate gaps in a trajectory.

    For a given frame, all labels are color-coded. For each frame of 3D data, assigned marker labels are shown in white, labels without reconstructions are shown in red, and unlabeled reconstructions are shown in orange; similar to how they are presented in the 3D View.

    See the Labeling Pane page for detailed explanation on each option.

    QuickLabel Mode[edit]

    The QuickLabel mode allows you to tag labels with single-clicks in the view pane, and it is a handy way to reassign or modify marker labels throughout the capture. When the QuickLabel mode is toggled, the mouse cursor switches to a finger icon with the selected label name attached next to it. Also, when the display label option is enabled in the perspective view, all of assigned marker labels will be displayed next to each marker in the 3D viewport, as shown in the image below. Select the marker set you wish to label, and tag the appropriate labels to each marker throughout the capture.

    When assigning labels using the Quick Label Mode, the labeling scope is configured from the labeling range settings. You can restrict the labeling operation to apply from the current frame backward, current frame forward, or both depending on the trajectory. You may also restrict labeling operations to apply the selected label to all frames in the Take, to a selected frame range, or to a trajectory 'fragment' enclosed by gaps or spikes. The fragment/spike setting is used by default and this best identifies mislabeled frame ranges and assigns marker labels. See the Labeling pane page for details on each feature.

    Labeling using the QuickLabel Mode[edit]

    Re-labeling skeleton markers using the QuickLabel Mode.
    1. Under the drop-down menu in the Labeling pane, select an asset you wish to label.
    2. All of the involved markers will be displayed under the columns.
    3. From the label list, select unlabeled or mislabeled markers.
    4. Inspect the behavior of the selected trajectory and decide whether you want to apply the selected label for frames before the current frame Label ApplyBefore.png or frames after the current frame Label ApplyAfter.png by toggling each icon. If you wish to assign selected label to a trajectory of entire capture, enable both of them.
    5. Switch to QuickLabeling Mode Label QuickLabelMode.png (Hotkey: D).
    6. In the Perspective View pane. Assign the selected label to a marker reconstruction. If the Increment Selection Label Increment 20.png is enabled, label selection in the Labeling pane will automatically advance each time you assign them.
    7. After assigning all labels, switch back to normal Select Mode Label PointerMode.png.

    General Labeling Steps[edit]


    The following section provides the general labeling steps in Motive. Note that the labeling workflow is flexible and alternative approaches to the steps listed in this section could also be used. Utilize the auto-labeling pipelines in combination with the Labeling pane to best reconstruct and label the 3D data of your capture.

    Info2.png

    Labeling Tips


    • Use the Graph View pane to monitor occlusion gaps and labeling errors as you post-process capture Takes
    • When using the Labeling pane, choose the most appropriate labeling setting (all, selected, spike, or fragment) to efficiently label selected trajectories. See more from the Labeling pane page.
    • When working with skeleton assets, label the hip segment first. The hip segment is the main parent segment, top of the segments hierarchy, where all other child segments are associated to. Manually assigning hip markers sometimes help the auto-labeler to label the entire asset.
    • Show/Hide skeleton visibility View ShowHideSKL.png in the perspective view to have a better view on the markers when assigning marker labels.
    • Toggle skeleton selectability Viewport14.png in the perspective view to use the skeleton as a visual aid without it getting in the way of marker data.
    • Show/Hide skeleton sticks and marker colors under the visual aids Viewport16.png in the perspective view options for intuitive identification of labeled markers as you tag through skeleton markers.

    Using Combined Reconstruction and Auto-label Pipeline[edit]

    Step 1. In the Data Management pane, Reconstruct and auto-label the take with all of the desired assets enabled.

    Step 2. In the Graph View pane, examine the trajectories and navigate to the frame where labeling errors are frequent.

    Step 3. Open the Labeling pane.

    Step 4. Select an asset that you wish to label.

    Step 5. From the label columns, Click on a marker label that you wish to re-assign.

    Step 6. Inspect behavior of a selected trajectory and its labeling errors and set the appropriate labeling settings (allowable gap size, maximum spike and applied frame ranges).

    Step 7. Switch to the QuickLabel mode (Hotkey: D).

    Step 8. On the Perspective View, assign the labels onto the corresponding marker reconstructions by clicking on them.

    Step 9. When all markers have been labeled, switch back to the Select Mode.

    Using Standalone Reconstruction Pipeline and Auto-label Pipeline Separately[edit]

    Step 1. Start with 2D data of a captured Take with model assets (skeletons and rigid bodies).

    Step 2. Reconstruct and Auto-Label, or just Reconstruct, the Take with all of the desired assets enabled under the Assets pane. If you use reconstruct only, you can skip step 3 and 5 for the first iteration.

    Step 3. Examine the reconstructed 3D data, and inspect the frame range where markers are mislabeled.

    Step 4. Using the Labeling pane, manually fix/assign marker labels, paying attention to your label settings (direction, max gap, max spike, selected duration).

    Step 5. Unlabel all trajectories you want to re-auto-label.

    Step 6. Auto-Label the Take again. Only the unlabeled markers will get re-labeled, and all existing labels will be kept the same.

    Step 7. Re-examine the marker labels. If some of the labels are still not assigned correctly from any of the frames, repeat the steps 3-6 until complete.

    Labeling Error Fix[edit]

    Labeling an unlabeled marker.

    The general process for resolving labeling error is:

    1. Identify the trajectory with the labeling error.
    2. Determine if the error is a swap, an occlusion, or unlabeled.
    3. Resolve the error with the correct tool.
    • Swap: Use the Swap Fix tool ( Edit Tools ) or just re-assign each label ( Labeling Panel ).
      • When manually labeling markers to fix swaps, set appropriate settings for the labeling direction, max spike, and selected range settings.
    • Occlusion: Use the Gap Fill tool ( Edit Tools ).
    • Unlabeled: Manually label an unlabeled trajectory with the correct label ( Labeling Panel ).

    For more data editing options, read through the Data Editing page.

    Sample Scenarios and Tutorial Videos[edit]


    Info2.png

    Following tutorials use Motive 1.10. On Motive 2.0., Data pane and Assets pane is used instead of the Project pane.

    Sample Scenario 1 :: All Good[edit]

    Labeling Tutorial 1. How to check marker labels in Motive

    When recorded 3D data have been labeled properly and entirely throughout the Take, you will not need to edit marker labels. If you don't have 3D data recorded, you can reconstruct and auto-label the Take to obtain 3D data and label all of the skeleton and rigid body markers. If all of the markers are well reconstructed and there are no significant occlusions, auto-labeled 3D data may be acceptable right away. In this case, you can proceed without post-processing of marker labels.

    1. Recorded 3D data has no gaps in the labels, or the Reconstruct and Auto-label works perfectly the first time without additional post-processing.
    2. Examine the Take(s). Check the Labeling pane, or the tracks view, to make sure no occlusion exists within the capture, and all markers are consistently labeled.
    3. Done.

    Sample Scenario 2 :: Labeling errors in the middle of a Take[edit]

    When skeleton markers are mislabeled only within specific frame ranges of a Take, you will have to manually re-label the markers. This may occur when a subject performs dynamic movements or come into contact with another object during the recorded Take. After correcting the mislabeled markers, you can also use the auto-labeler to assign remaining missing labels.

    1. Start with recorded 3D data or Reconstruct and auto-label the Take to obtain newly labeled 3D data.
    2. Inspect the Take to pick out the frame ranges with bad tracking.
    3. If markers are mislabeled during majority of the capture, unlabel all markers from the entire capture by right-clicking on the Take in Data Management pane and click Delete Marker Labels. You can do this on selected frame ranges as well.
    4. Scrub the timeline to a frame just before the bad tracking frame range.
    5. Using the Labeling pane, manually label the skeleton. Depending on the severity of the mislabels, you can either label the entire skeleton or just the key segments starting from the hip.
    6. Scrub the timeline to a frame after the bad tracking frame range.
    7. Manually label the same skeleton.
    8. Auto-label the Take.
    9. Check the frames again and correct any remaining mislabels using the Labeling pane.

    Sample Scenario 3 :: Skeletons never acquire perfectly throughout a Take[edit]

    Labeling Tutorial 3. Auto-label.

    For Take(s) where skeletons are never perfectly tracked and the markers are consistently mislabeled, you will need to manually assign the correct labels for the skeleton asset(s). Situations like this could happen when the skeleton(s) are never in an easily trackable pose throughout the Take (e.g. captures where the actors are rolling on the ground). It is usually recommended that all skeleton ‘’Takes’’’ start and end with T-pose in order to easily distinguish the skeleton markers. This also helps the skeleton solver to correctly auto-label the associated markers; however, in some cases, only specific section of a Take needs be trimmed out, or including the calibration poses might not be possible. Manually assigning labels can help the auto-labeler to correctly label markers and have skeletons acquire properly in a Take. You will get best results if you manually label the entire skeleton, but doing so can be time-consuming. You can also label only the mislabeled segment or the key segment (hip bone) and run the auto-labeler to see if it correctly assigns the labels with the small help.

    1. Start with recorded 3D data or Reconstruct the Take.
    2. At a certain point of the Take (usually at a frame where you can best identify the pose of the skeleton), use the Labeling pane to manually assign the marker labels for skeletons that are not labeling correctly. Depending on the severity of the mislabels, you can either label the entire skeleton or only the key segments starting from the hip.
    3. After manually assigning the labels, auto-label the Take. Make sure the corresponding assets are enabled in the Assets pane.
    4. Check to see if all markers are correctly assigned throughout the take. If not, re-label or unlabel, any mislabeled markers and run auto-label again if needed.

    Sample Scenario 4 :: Mislabeling/unlabeling of a marker due to occlusions[edit]

    Marker occlusions can be critical to the auto-labeling process. After having a gap for multiple frames, occluded markers can be unlabeled entirely, or nearby reconstructions can be mistakenly recognized as the occluded marker and result in labeling swaps or mislabels. Skeleton and rigid body asset definitions may accommodate labeling for such occlusions, but in some cases, labeling errors may persist throughout the Take. The following steps can be used to re-assign the labels in this case.

    If tracked markers are relatively stationary during the occluded frames, you may want to increase the Maximum Marker Label Gap value under the Auto-Labeler settings in the Reconstruction pane to allow the occluded marker to maintain its label after auto-labeling the Take. However, note that adjusting this setting will not be useful if the marker is moving dynamically beyond the Prediction Radius (mm) settings during occlusion.

    1. Start with recorded 3D data or Reconstruct and auto-label the Take
    2. Examine through the Take, and go to a frame where markers are mislabeled right after an occlusion.
    3. In the Labeling pane, disable the Increment Label Selection Label Increment 20.png option, and select a marker set and a label that is frequently occluded.
    4. In the Labeling pane, disable the Apply Labels to Previous Frames Label ApplyBefore.png option, and leave only the Apply Labels to Upcoming Frames Label ApplyAfter.png option enabled.
    5. Using the Quick Label Mode, correct the labeling errors.
    6. Move onto next occluded frames. When the marker reappears, correct the labels.
    7. After correcting the labels, Auto-label the Take again.
    8. Use the Fill Gaps tool in the Editing tools to interpolate the occluded trajectories.



    Back: Data Types

    Next: Data Editing