Macquarie Motion Capture

download Macquarie Motion Capture

of 5

Transcript of Macquarie Motion Capture

  • 8/12/2019 Macquarie Motion Capture

    1/5

    Macquarie Motion Capture Manual

    Understanding Vicon Nexus

    Home

    Intro6 Steps

    1. System Prep

    2. Subjects

    3. Capture

    4. Gap Filling

    5. Output

    6. Analysis

    Terminology

    System Specs

    About & Contact

    Cleaning Up Your Data

    This page deals with issues of missing and messy data. In an ideal capture session, your captured trials will be

    reconstructed perfectly, with no gaps or missing markers. In reality, markers disappear with some frequency.

    How often this occurs will depend on a multitude of factors. At the most basic level, data quality is dependent

    upon: the number and placement of motion cameras, speed of subject movement, and frequency of marker

    occlusion.

    Gap filling and data cleaning are the bane of motion capture operators. It is far quicker to spend 20 minutes

    optimising the capture volume before a session starts, than it is to spend hours, days, or even months cleaningup bad data. To optimise your system requires an understanding of how it works. Thus, this section concludes

    with a few Tips on Getting Clean Data.

    There are five general types of data issues: 1) markers disappearing momentarily, 2) markers becoming

    unlabeled (gray), and then becoming labeled again (yellow/coloured), 3) markers being incorrectly labeled after

    disappearing momentarily, 4) markers disappearing and then reappearing only to stay unlabeled, and 5) markers

    moving erratically at times. The first section, Gap Filling, will address the issues 1 and 2. The second section,

    Missing Data, will address issues 3 and 4. We have no solution to the 5thissue.

    Gap Filling

    This section covers the first two types of missing data. For this section, a new capture trial was conducted, with

    the explicit aim of creating messy data.

    The trial should be loaded and reconstructed.1.

    The first step in data cleaning is to examine the entire trial by eye, and mentally identify the various

    problems. Click the play button on the Time Bar.

    2.

    Nexus does a reasonable job of automatically identifying data issues, and will often pick up small gaps

    imperceivable to humans when the trial is replayed at normal speed. Under the Tools pane, click the

    Label/Edit button, and examine the Gap Filling section. Figure 1illustrates the Gap Filling section of the

    Label/Edit pane for our messy data. This section lists instances of missing data. The Trajectory column tells

    us which marker went missing, while the #Gaps column tells us how many times during that trial that

    marker went missing.

    3.

    Left-click on one of the marker names (Intermediate in Figure 1). The Time Bar will automatically jump to

    the first instance where a marker gap occurred. The blue squiggly lines don't relate to missing data, but are

    instead a history line of marker motion throughout the trial.

    4.

    Notice when we click on different marker names in the Gap Filling list, the information in the Range

    textboxes below this changes. The range numbers indicate the number of frames before and after the

    5.

  • 8/12/2019 Macquarie Motion Capture

    2/5

    current frame where the marker has gone missing. In Figure 1, the marker went missing 1 frame before the

    current frame, and continued to be missing for 2 more frames. Thus, Nexus jumps to the middle of the gap,

    not the first frame. For example, if you had a marker missing for 201 frames, you would see -100, 100. If it

    went missing for 20 frames, you would see -9, 10. By taking the absolute value of these, adding them

    together, and adding 1, you know how many frames the marker went missing for. In the first gap instance

    for the Intermediate marker, the gap was 4 frames (1 + 2 + 1).

    It is at this point that the art of motion capture comes into play. The size of the gap will depend on what gapfilling algorithm you use, how the result will look, and whether an alternate method will be needed. There

    are however two general approaches: 1) small gaps should be filled with the Spline Fill algorithm. 2) large

    gaps should be filled with the Pattern Fill algorithm.

    6.

    The spline fillmethod is an automatic method, which essentially extrapolates the missing trajectory based

    on the last known, and first reappearing coordinates. This method will be the primary form of gap filling you

    will use, and can generally be used for gap instances of around

  • 8/12/2019 Macquarie Motion Capture

    3/5

    Figure 2. Pattern Fill algorithm is used for larger gaps.

    Missing DataThis section covers the third and fourth type of missing data. The third is when after a gap, markers are labelled

    incorrectly. The fourth is when a marker goes missing, and then comes back as gray. Nexus will not report the

    first issue (as is has done the labelling), and often the gap in the fourth case. Instead, you will identify these

    issues when you first play the reconstructed trial from the Time Bar.

    We know of only two solutions which can be applied to these issues. The first is neat, the second is not.1.

    The first solution involves manually relabelling the marker(s) in question.2.

    First, go to the place in the Time Bar where the gap issue has occurred. Under Tools pane, click the

    Label/Edit icon button. Under the Manual Labeling section, the set of template markers is listed. Click the

    first marker name. The mouse will turn into a cross hair. Select the appropriate marker, going through the

    entire list. When done, replay the entire trial.

    3.

    If this operation is successful, Nexus will have relabelled the marker without unlabelling/mislabelling the

    same marker elsewhere in the trial.

    4.

    If the operation is successful, save the trial. If it is not, undo the operation.5.

    The second solution involves fixing the outputted data file after the rest of the gaps have been filled.6.

    Sometimes Nexus is unable to automatically relabel a marker due to an error in marker reporting. Thisoccurs because for a split second, Nexus thinks that two unique markers exist at very similar points in

    space. The data file for this instance is illustrated in Figure 3(we will cover data files later in Analysis). A copy

    of this filecan be found in the resources directory, which accompanies this manual.

    7.

    The data lists five markers: Metacarpal, Proximal, Intermediate, Distal, and *1. Notice how marker *1 has no

    data points up until frame 657. At this exact frame, Distal has its last frame. Thus, Nexus is reporting the

    same marker in two distinct locations. We fix this issue by simply cutting the remaining data points from *1

    marker, and pasting them into the Distal gap. This solution works because we can see what has happened.

    However, in more complex templates, with multiple markers disappearing, this solution may not work.

    8.

  • 8/12/2019 Macquarie Motion Capture

    4/5

    Figure 3. Data file when manual relabelling fails.

    Tips on Getting Clean Data

    As mentioned at the beginning of this section, the quality of captured data is largely dependent upon three

    things: cameras, subject speed, and marker occlusion. We will address each of these areas separately

    respectively.

    Camera Numbers and Placement

    The most important factor in obtaining clean data is the motion capture cameras. How many cameras you have,

    and their placement with respect to the motion being observed, will determine the quality of your data. The

    simplest method to increase data quality is to buy more cameras. However, given the cost of motion systems,

    such a strategy is not always feasible. Thus, if you have limited cameras, how you place the cameras in relation to

    the motion being captured is vital.

    In order for a marker to be visualised, it must be viewable by at least two cameras. However, this minimum

    requirement is often insufficient. In such an environment, markers will frequently disappear due to: occlusion,

    quick movements, or system errors. Thus, it is advisable to have markers viewable by three or more cameras if

    possible. In the Macquarie setup, which began with facial analysis, four cameras were placed in a tight array,

    spaced 2m from the subject. This setup produced high-quality data. You may consider using a similar

    arrangement if examining a localised body part.

    Processor Settings and Subject Speed

    Vicon is designed to capture a whole range of movement, from the very slow (turtle) to the very quick (golf

    swing). Because of this, Nexus has a variety of settings which allow trade-offs between data quality and subject

    speed. These settings can be found under the Resources pane, System tab, clicking on the Local Vicon System

    tree node, in the properties subpane. Specifically: marker movement speed, label model rigidity, and

    quality/speed. If your model is slow moving, with relatively fixed markers, you will want to set these values low. A

    description of these and settings can be found in Managing Local Vicon Systemof the Vicon system manual.

    Subject Tips

    Occlusion is the single biggest problem of marker-based motion capture systems. It is because of this issue that

    large, multi-camera setups are needed. When considering the size of typical markers (3mm, 1cm), the smallest

    crease in clothing, fold of skin, shape of the body (e.g., lip curl), or loose hair, is enough to cause occlusion, and

    therefore missing data. There however a number of simple steps you can take to minimise these and other

    issues.

    If capturing the body, ask subjects to wear tight fitting, minimal clothes (e.g., micra). Markers also stick

    better to skin than to clothing. Also, the model will be far more rigid (clothing is loose and dynamic, but skin

    is fixed to the body).

    1.

  • 8/12/2019 Macquarie Motion Capture

    5/5

    Ask subjects to tie their hair back.2.

    If capturing facial data, ask female subjects to minimise the amount of make-up, and ask male subjects to

    shave. These issues effect how well markers will stick to the face. If a marker falls off for any reason, you will

    need to recalibrate the subject.

    3.

    Consider the shape of your subjects body, and vary marker placement accordingly. For example, if subject's

    lower lip has a pronounced curl, place the marker a lower to avoid occlusion by the lip. This will oftenhappen if the subject tilts their head down momentarily.

    4.

    Ask subjects to remove all jewelry and shiny objects.5.

    Ask subjects to minimise non-related movements during the capture (e.g., licking lips, scrunching up their

    nose). This will reduce the frequency of movement spikes in the data.

    6.

    This Section:

    Cleaning Up Your Data

    Gap FillingMissing Data

    Tips on Getting Clean Data

    Written by Steven R. Livingstone. Designed by Free CSS Templates, Thanks to Dubai Villas