Difference between revisions of "Quick Start Guide: Precision Capture"

Line 57: Line 57:
 
====Aim and Focus====
 
====Aim and Focus====
 
Especiallly for precise and close-up captures, cameras aim and focus should be adjusted as perfectly as possible. Aim the cameras towards the center of the capture volume. Optimize the camera focus by zooming into a marker in Motive, and rotating the focus knob on the camera until the smallest marker is captured as clearly as possible with the best image contrast
 
Especiallly for precise and close-up captures, cameras aim and focus should be adjusted as perfectly as possible. Aim the cameras towards the center of the capture volume. Optimize the camera focus by zooming into a marker in Motive, and rotating the focus knob on the camera until the smallest marker is captured as clearly as possible with the best image contrast
 +
 +
 +
==Marker Placement==
 +
[[Image:MVQSG_Optimization4.png|thumb|200 px|Two markers are placed too close to each other and their reflections are getting merged.]]
 +
 +
For close-up captures, markers are often placed closer together than usual. When markers are placed too close to each other, their reflections may merge in the camera’s imager and ruin the capture data. Merged reflections will have an inaccurate centroid locations, or they may even be completely discarded by the circularity filter. There are editing methods to discard or modify the missing data. However, for most reliable results, such marker intrusions should be prevented before the capture by separating the marker placements or by optimizing the camera placements.
  
 
==Temperature==
 
==Temperature==

Revision as of 20:07, 14 January 2016

Warning2.png

THIS PAGE IS UNDER CONSTRUCTION THIS PAGE IS UNDER CONSTRUCTION THIS PAGE IS UNDER CONSTRUCTION THIS PAGE IS UNDER CONSTRUCTION THIS PAGE IS UNDER CONSTRUCTION THIS PAGE IS UNDER CONSTRUCTION THIS PAGE IS UNDER CONSTRUCTION THIS PAGE IS UNDER CONSTRUCTION

Quick Start Guide: Precision Capture is under development. It will be available soon. Thank you for your patience!


Back to the Main PageBack to the Quick Start Guides List


This quick start guide details specific instructions for capturing in a small to medium sized volume for extremely accurate tracking using an OptiTrack motion capture system. Directions for optimizing the capture environment and the system setup along with some important cautions are listed in this page, and lastly, commonly used precision verification methods are also included. For more general information not included in this page, please refer to the Quick Start Guide: Getting Started or corresponding workflow pages. Before going into details on how to optimize the system for precision tracking applications, let's briefly go over the residual value, which is the key reconstruction value important for analyzing and monitoring the precision of tracked markers.


Residual Value

MVQSG Residual1.png MVQSG Residual2.png

The residual value is a offset distance between the converging rays when reconstructing a marker; hence indicating preciseness of the reconstruction. The tolerable residual distance is defined from the Reconstruction pane. If you select one or more markers in the Live mode or from a recorded 2D data, then the mean residual value will be displayed in the status bar located at the bottom of Motive. With a smaller residual value, tracked rays converge more precisely and more accurate 3D reconstruction is achieved. A well-tracked marker will have a sub-millimeter average residual value.


Capture Volume

Setup Environment

Avoid populated area when setting up the system and recording a capture. Clear any obstacles or trip hazards around the capture volume. Physical impart on the setup will distort the calibration quality which could be critical especially when tracking at sub-millimeter accuracy. For best results, routinely recalibrate the capture volume.


Infrared Black Background Objects

MVQSG IRBlack.png 295 px

The motion capture cameras detect reflected infrared light. Thus, having other reflective objects in the volume will alter the results negatively, which could be critical especially for precise tracking applications. If possible, have background objects that are IR black and non-reflective. Capturing in a dark background provides better contrast between bright and dark pixels, which could be less distinguishable in a white background. The following images show a clear image of a marker with good contrast (left) and a less clear marker (right) whose centroid calculation may have been compromised by an extraneous bright pixels from the background.

Camera Placement

Cameras placed in a dome arrangement around a cubic meter volume.
Capturing multiple unique vantages measure more accurate positions on all of the coordinate axis

Proper camera placement techniques can greatly improve tracking results. The following guide highlights important setup instructions for the small volume tracking. For more details on the system hardware setup, read through the Hardware Setup pages.


Mounting Locations

For general tracking applications, it is usually beneficial to place the cameras in a circumnavigating layout creating a ring arrangement above the volume to maximize the size of the capture volume. However, for precise tracking applications, better results will be obtained by placing the cameras closer to the target object (adjusting focus will be required) in a spherical, or a dome, camera arrangement.

Captured 2D images are used to locate the 2D positions of the markers from the each camera's perspective, but the data on the remaining dimension, in and out of the screen, can only be obtained through the reconstruction from multiple cameras in the setup. Accordingly, placing cameras right above the volume, looking down onto the tracked objected, will provide unique vantages and provide more precise and accurate positional data on all of the three coordinate axis.

Mount Securely

CameraMount Manfrotto.png Mount Clamp2.png

For most accurate results, cameras should be securely fastened onto a truss system or an extremely rigid object. For sub-millimeter tracking applications, any slight deformation or fluctuation to the mount structures may affect the result. Small size truss system is ideal for the setup. Take extreme caution when using speed rails mounted onto a wall, because building may fluctuate greatly especially on hot days.

Focus and Aiming

FnA InFocus.png

For more information on adjusting the camera aiming and focus, please read through the Aiming and Focusing workflow page.

F-stop

Increase the f-stop to a higher number (smaller aperture) to gain a larger depth of field. Increased depth of field will make greater portion of the capture volume in-focus and will make measurements more consistent throughout the volume.

Aim and Focus

Especiallly for precise and close-up captures, cameras aim and focus should be adjusted as perfectly as possible. Aim the cameras towards the center of the capture volume. Optimize the camera focus by zooming into a marker in Motive, and rotating the focus knob on the camera until the smallest marker is captured as clearly as possible with the best image contrast


Marker Placement

Two markers are placed too close to each other and their reflections are getting merged.

For close-up captures, markers are often placed closer together than usual. When markers are placed too close to each other, their reflections may merge in the camera’s imager and ruin the capture data. Merged reflections will have an inaccurate centroid locations, or they may even be completely discarded by the circularity filter. There are editing methods to discard or modify the missing data. However, for most reliable results, such marker intrusions should be prevented before the capture by separating the marker placements or by optimizing the camera placements.

Temperature

Temperature of the processor board and the ringlight board displayed in the camera info.

In a mocap system, camera mount structures and other hardware setup components may be affected by temperature fluctuations. Refer to linear thermal expansion coefficient tables to find out what materials are susceptible to temperature changes. For example, iron has relatively high thermal expansion coefficient, and therefore, you have to be careful when mounting cameras onto iron mounting structures. For best accuracy, take the temperature fluctuation into an account both when selecting the mount structures and before collecting data and routinely recalibrate the capture volume.

Ambient Temperature

An ideal setup is to have temperature controlled capture volume, but if that is not possible there are few considerations to keep in mind.

  • Place the truss or tripods on a rigid surface such as concrete (avoid carpet). Mounting to the walls with something like speed rail can be dangerous as well because many buildings may fluctuate with changing outside temperature. This is especially noticeable on hot days and will significantly affect your results.
  • Aluminum has a particularly high coefficients of linear thermal expansion. So one should be wary when using aluminum based truss.

If these situations are unavoidable, then the solution is to consistently monitor the average residual value for how well your rays converge to individual markers.

Camera Heat

The cameras will heat up with extended use, and change in internal hardware temperature may also affect the capture data. For this reason, avoid capturing and/or calibrating right after powering the system. Tests have found that the cameras need to be warmed up in Live mode for about an hour until it reaches a stable temperature. For Ethernet camera models, camera temperatures can be monitored from the Camera Preview (2D) pane in Motive (Camera Preview (2D) pane > Eye Icon > Camera Info).

Vibrations

Avoid any vibrations or movements of the setup while taking precision measurements. Especially for measuring at sub-millimeters, even a minimal shift can affect the recordings. In particular, watch out for the following:

  • Never touch the truss or mounting device for the cameras.
  • Make sure your capture area is away from heavy foot traffic and that people aren’t walking around while capture is taking place.
  • Closing doors, even those on the other side of the, may be noticeable during recording.

Re-calibrate the capture volume if your average residual values start to deviate or the capture data starts looking strange.


Motive Settings

The following sections cover some key configuration settings which may need to be optimized for the micron volume tracking.

Cameras Pane Settings

At this point, you should’ve already adjusted the focus for each camera. For obt To open the cameras pane, click the camera icon at the top of Motive. The following list describes the

  • Set the Gain setting to 1: Low (Short Range) for all cameras. Higher gain settings will amplify noise in the image.
  • Set the system frame rate (FPS) to its maximum value. If you wish to use slower frame rate, use the maximum frame rate during calibration and turn it down for the actual recording.
  • Do not bother changing the Threshold (THR) or LED values. Keep them at their default values THR = 200 and LED = 15. The Values EXP and LED are linked so change only the EXP setting for brighter images. If you turn the EXP higher than 250, make sure to wand extra slow to avoid blurred markers.

For the micron volume capture, it is not always necessary to set the camera exposure to its lowest value, but instead, the exposure setting should be configured so that the reconstruction is most stable. To test this, zoom into a marker and examine the jitters while changing the exposure setting. Use the exposure value that give the most stable reconstruction. Later sections will cover how to check the reconstruction and tracking quality. For now, set this number as low as possible while maintaining the tracking without losing the contrast. (you want them to look like white circles).

Reconstruction Settings

To open the cameras pane click View > Reconstruction Settings the top of Motive. Read through the Reconstruction page for specific details. For the micron volume tracking, important reconstruction settings and the appropriate values are listed below:

Setting Value Description
Residual (mm) <2.00 Allowable residual value should be set smaller for the micron volume tracking, because any offset above 2.00 mm residual value will be considered as inaccurate.
Minimum Rays >= 3 When more rays converge within allowable residual offset, reconstructed marker will have more accurate position.
Minimum threshold pixels >= 4
Circularity >= 0.6


Calibration

The following calibration instructions are specific to precise captures. For more general information, refer to the Calibration page.

Wands

For calibration, we recommend using a Micron Series wand, either the CWM-250 or CWM-125. These wands are made of invar alloy, very rigid and insensitive to temperature, and they are designed for providing precise and constant calibration measurements. At the bottom of the wand head, there is a label tag which shows a factory-calibrated wand length with sub-millimeter accuracy. For best results, input this information into Motive. In the Calibration pane, select Micron Series under the OptiWand dropdown menu, and define the exact length in the wand length section.


MVQSG Wandlabel.png MVQSG WandCalib.png


The CW-500 wand is designed for large to medium capture volumes, but it is not suited for calibrating the micron volume. Not only it has longer reference dimension, but also the wand is made with aluminum, which makes it more vulnerable to thermal expansions. In order to calibrate the volume with best accuracy, the distance between the wand markers must maintain accurate and constant. During the wanding process, Motive assumes the defined wand length, and any distortions would cause the calibrated capture volume to be scaled slightly differently, which can be significant when capturing precise measurements.

Note: Never touch the marker on the CWM-250 or CWM-125 since any changes can affect the calibration and overall data.

Calibration Checkpoints

  • Wand slowly. Waving the wand around quickly at high exposures will blur the markers and distort the centroids reducing the quality of your calibrations.
  • Try not to occlude any of the calibration markers while wanding. Occluding markers will reduce the quality of the calibration.
  • A variety of unique samples is needed in order to achieve a good calibration. For example, if you wand only in horizontal orientation, the calibration may fail. So make sure to wand in a three dimensional volume, put the wand in a variety of orientations, and wand the edges of the volume as well.
  • Wanding the edges of the volume helps improve the lens distortion calculations, but it may also lead to a slightly worse calibration report. This is because the calibration engine creates the report using the collected wanding samples, and the samples collected near the edge of the volume will have more errors which could affect the overall result.
  • The amount of acceptable error is a complicated subject because the calibration can only use its own samples for validation. Acceptable mean error varies based on your volume size, number of cameras, and desired accuracy. The key metrics to keep an eye on are the Mean 3D Error for the Overall Reprojection and the Wand Error. For our testing we only used calibrations with the Mean 3D Error less than 0.080 mm and the Wand Error less than 0.030 mm. Again, the acceptable numbers are subjective, but generally lower numbers are better.
  • Re-emphasizing from previous sections, use a Micron Series wand if possible, and NEVER touch or bump the markers on the micron wand.


Reconstruction Verification

The following sections covers methods that can be used to check the tracking accuracy and to better optimize the reconstructions settings in Motive.

Verification Method 1

First, go into the perspective pane > select a marker, then go to the Camera Preview Pane > Eye Button > Marker Centroids = True. Make sure your cameras are in object mode, then zoom into the selected marker. The marker will have two crosshairs on it; one white and one yellow. The amount of offset between the crosshairs will give you an idea of how closely the view of that camera (white) aligns with the reconstructed position (yellow). Switching between the grayscale mode and the object mode will make the errors more distinguishable. The below image is an example of a poor calibration. A good calibration should have the yellow and white lines closely aligning over each other.

MVQSG Optimization1.png

Verification Method 2

The calibration quality can also be analyzed through checking the convergence of the tracked rays into a marker. This is not as precise as the first method, but the tracked rays can be used to check calibration quality of multiple cameras at once. First of all, make sure tracked rays are visible; Perspective View pane > Eye button > Tracked Rays. Then, open the perspective view pane and select a marker. Zoom all the way into the marker (you may need to zoom into the sphere), and you will be able to see the tracking rays (green) converging into the center of the marker. A good calibration should have all the rays converging into approximately one point, as shown in the following image.


MVQSG Optimization2.png