Main Page → Motive Documentation → Capture Setup → Calibration
This page provides detailed instructions on camera system calibration.
- 1 Overview
- 2 Preparing and Optimizing the Setup
- 3 Masking
- 4 Wanding
- 5 Calibration Results
- 6 Ground Plane and Origin
- 7 Calibration Files
- 8 Refining Calibration
- 9 Active LED Calibration
- 10 See Also
- 11 Q & A
Like many other measurement systems, calibration is also essential for optical motion capture systems as well. During camera calibration, the system computes position and orientation of each camera and amounts of distortions in captured images. Using calibration data, Motive constructs a 3D capture volume. Specifically, this is done by observing 2D images from multiple synchronized cameras and associating the position of known calibration markers from each camera through triangulation. Note that if there is any change in a camera setup over the course of capture, whole system will need to be recalibrated to accommodate for changes. Moreover, even if setups are not altered, calibration accuracy will naturally deteriorate over time due to ambient factors, such as fluctuation in temperature and other environmental conditions. Thus for accurate results, it is recommended to periodically calibrate the system.
Duo/Trio Tracking Bars: The Duo/Trio tracking bars are self-contained and pre-calibrated prior to shipment; therefore, user calibration is not required. See: Tracking Bar Coordinate System.
General Steps in Calibration
- Prepare and optimize the capture setup.
- From the Camera Preview pane, clear existing masks by clicking .
- Open the Calibration pane, and use Mask Visible to mask extraneous reflections that cannot be removed from capture volume.
- Collect calibration samples: Wanding.
- Calculate and review the calibration results.
- Set the Ground Plane.
By default, Motive will start up on the calibration layout containing necessary panes for the calibration process. This layout can also be accessed by clicking on a calibration layout from the top-right corner , or by using the Ctrl+1 hotkey.
Preparing and Optimizing the Setup
System settings used for calibration should be kept unchanged. If camera settings are altered after the calibration, the system would potentially need to be recalibrated. To avoid such inconveniences, it is important to optimize both hardware and software setup before the calibration. First, cameras need to be appropriately placed and configured to fully cover the capture volume. Secondly, each camera must be mounted securely so that they remain stationary during capture. Lastly, Motive's camera settings used for calibration should ideally remain unchanged throughout the capture. Re-calibration will be required if there is any significant modifications to the settings that influence the data acquisition, such as camera settings, gain settings, and Filter Switcher settings. If these settings are modified, it is recommended the system be recalibrated.
All extraneous reflections or unnecessary markers are ideally removed from the capture volume before calibration. In fact, the system will refuse to calibrate if there are too many reflections other than the calibration wand present in the camera views. However, in certain situations, unwanted reflections or ambient interference could not be removed from the setup. In this case, these irrelevant reflections can be ignored via using the Masking Tool. This tool applies red masks over the extraneous reflections seen from the 2D camera view, and all of the pixels in the masked regions is entirely filtered out. This is very useful when blocking unwanted reflections that could not be removed from the setup. Use the masking tool to remove any extraneous reflections before proceeding to wanding.
The Mask Visible feature in the the Calibration Pane, or in the 2D Camera Preview pane (), automatically detects all of the existing reflections present in the 2D view and masks over them. If desired, masks be manually created by drawing , selecting rectangular regions , or selecting circular regions in the image using the masking tools, or you can also subtract masks by toggling between additive/subtractive masking modes ( add or subtract).
You should be careful when using the masking features because masked pixels are completely filtered from the 2D data. In other words, the data in masked regions will not be collected for computing the 3D data, and excessive use of masking may result in data loss or frequent marker occlusions. Therefore, all removable reflective objects must be taken out or covered before the using the masking tool. After all reflections are removed or masked from the view, proceed onto the wanding process.
|Extraneous reflections||Masking applied|
|Tracked markers in the view||Markers occluded by masking|
The wanding process is the core pipeline that samples calibration data into Motive. A calibration wand is waved in front of the cameras repeatedly, allowing all cameras to see the markers. Through this process, each camera captures sample frames in order to compute their respective position and orientation in the 3D space. There are a number of calibration wands suited for different capture applications.
- Under the OptiWands section, specify the wand that you will be using to calibrate the volume. It is very important to input the matching wand size here. When an incorrect dimension is given to Motive, the calibrated 3D volume will be scaled incorrectly.
- Set the Calibration Type. If you are calibrating a new capture volume, choose Full Calibration.
- Double check the calibration setting. Once confirmed, press Start Wanding to initiate the wanding process.
- Start wanding. Bring your calibration wand into the capture volume and start waving the wand gently across the entire capture volume. Draw figure eight with the wand to collect samples at varying orientations, and cover as much space as possible for sufficient sampling. If you wish to start calibrating inside the volume, cover one of the markers and expose it wherever you wish to start wanding. When at least two cameras detect all the three markers while no other reflections are present in the volume, the wand will be recognized, and Motive will start collecting samples. Wanding trails will be shown in colors on the 2D view. A table displaying the status of the wanding process will show up in the Calibration pane to monitor the progress. For best results, wand the volume evenly and comprehensively throughout the volume, covering both low and high elevations.
- After collecting a sufficient number of samples, press the Calculate button under the Calibration section.
After wanding throughout all areas of the volume, consult the each 2D view from the Camera Preview Pane to evaluate individual camera coverage. Each camera should be thoroughly covered with wand samples. If there are any large gaps, attempt to focus wanding on those to increase coverage. When sufficient amounts of calibration samples are collected by each camera, press Calculate in the Calibration Pane, and Motive will start calculating the calibration for the capture volume. Generally, 2,000 - 5,000 samples are enough. ↑
Prime Series: LED Indicator ring
For Prime series cameras, the LED indicator ring displays the status of the wanding process. As soon as the wanding is initiated, the LED ring will turn dark, and then green lights will fill up around the ring as the camera collects the sample data from the calibration wand. Eventually, the ring will be filled with green light when sufficient amount of samples are collected. A single LED will glow blue if the calibration wand is detected by the camera, and the clock position of the blue light will indicate the respective wand location in the Camera Preview pane.
After sufficient marker samples have been collected, press Calculate to calibrate using collected samples. The time needed for the calibration calculation varies depending on the number of cameras included in the setup as well as the amount of collected samples. Immediately after clicking calculate, the samples window will turn into the solver window. It will display the solver stage at the top, followed by the overall result rating and the overall quality selection. The overall result rating is the lowest rating of any one camera in the volume. The overall quality selection shows the current solver quality.
Calibration details can be reviewed for recorded Takes. Select a Take in the Data Management pane, and related calibration results will be displayed under the Properties pane. This information is available only for Takes recorded in Motive 1.10 and above.
Calibration Result Report
After going through the calculation, a Calibration Result Report will pop up, and detailed information regarding the calibration will be displayed. The Calibration Result is directly related to the mean error, and will update, and the calibration result tiers are (on order from worst to best): Poor, Fair, Good, Great, Excellent, and Exceptional. If the results are acceptable, press Apply to use the result. If not, press cancel and repeat the wanding process. It is recommended to save your calibration file, for later use.
|Overall Reprojection||Displays the overall resulting 2D and 3D reprojection error values from the calibration.|
|Worst Camera||Displays the highest 2D and 3D reprojection error value from the calibration.|
|Triangulation||Triangulation section displays calibration results on residual offset values. Smaller residual error means more precise reconstructions.
|Overall Wand Error||Displays a mean error value of the detected wand length throughout the wanding process.|
|Ray Length||Displays a suggested maximum tracking distance, or a ray length, for each camera.|
After the calculation has completed, you will see cameras displayed in the 3D view pane of Motive. However, the constructed capture volume in Motive will not be aligned with the coordinate plane yet. This is because the ground plane is not set. If calibration results are acceptable, proceed to setting the ground plane.
|Overall Result||Grades the quality of the calibration result.|
|Maximum Error (px)||Displays the maximum reprojection error from the calibration.|
|Minimum Error (px)||Displays the minimum reprojection error from the calibration.|
|Average Error (px)||Displays the average reprojection error from the calibration.|
|Wand Error (mm)||Displays a mean error value of the detected wand length throughout the wanding process.|
|Calculation Time||Displays the total calculation time.|
Ground Plane and Origin
The final step of the calibration process is setting the ground plane and the origin. This is accomplished by placing the calibration square in your volume and telling Motive where the calibration square is. Place the calibration square inside the volume where you want the origin to be located and the ground plane to be leveled to. The position and orientation of the calibration square will be referenced for setting the coordinate system in Motive. Align the calibration square so that it references the desired axis orientation.
The longer leg on the calibration square will indicate the positive z axis, and shorter leg will indicate the direction of the positive x axis. Accordingly, the positive y axis will automatically be directed upward in a right-hand coordinate system. Next step is to use the level indicator on the calibration square to ensure the orientation is horizontal to the ground. If any adjustment is needed, rotate the nob beneath the markers to adjust the balance of the calibration square.
If you wish to adjust position and orientation of the global origin after the capture has been taken, you can apply the capture volume translation and rotation from the Calibration pane. After the modification has been applied, new set of 3D data must be reconstructed from the recorded 2D data.
Note: The coordinate system convention of the calibration square has been updated since Motive 1.7, please refer to Calibration Squares page for changes.
After confirming that the calibration square is properly placed, open the Ground Plane tab from the Calibration Pane. Select the three calibration square markers in the 3D Perspective View. When the markers are selected, press Set Ground Plane to reorient the global coordinate axis in respect to the calibration square. After setting the ground plane, Motive will ask to save the calibration data, CAL. ↑
Duo/Trio Tracking Bars: The global origin of the tracking bars can be adjusted by using a calibration square and the Coordinate System Tools in Motive. For more information, see Tracking Bar Coordinate System page.
The Vertical Offset setting in the Calibration pane is used to compensate for the offset distance between the center of markers on the calibration square and the actual ground. Defining this value takes account of the offset distance and sets the global origin slightly below the markers. Accordingly, this value should correspond to the actual distance between the center of the marker and the lowest tip at the vertex of the calibration square. When a calibration square is detected in Motive, it will recognize the type of the square used and automatically set the offset value. This setting can also be used when you want to place the ground plane at a specific elevation. A positive offset value will place the plane below the markers, and a negative value will place the plane above the markers.
Ground Plane Refinement
Ground Plane Refinement feature is used to improve the leveling of the coordinate plane. To refine the ground plane, place several markers with a known radius on the ground, and adjust the vertical offset value to the corresponding radius. You can then select these markers in Motive and press Refine Ground Plane, and it will refine the leveling of the plane using the position data from each marker. This feature is especially useful when establishing a ground plane for a large volume, because the surface may not be perfectly uniform throughout the plane.
Calibration files can be used to preserve calibration results. The information from the calibration is exported or imported via the CAL file format. Calibration files reduce the effort of calibrating the system every time you open Motive. These can also be stored within the project so that it can be loaded whenever a project is accessed. By default, Motive loads the last calibration file that was created, this can be changed via the Application Settings.
Note that whenever there is a change to the system setup, these calibration files will no longer be relevant and the system will need to be recalibrated. ↑
The continuous calibration feature continuously monitors and refines the camera calibration to its best quality. When enabled, minor distortions to the camera system setup can be adjusted automatically without wanding the volume again. In other words, you can calibrate a camera system only once and you will no longer have to worry about external distortions such as vibrations, thermal expansion on camera mounts, or small displacements on the cameras.
For detailed information, read through the Continuous Calibration page.
Enabling/Disabling Continuous Calibration
The continuous calibration can be enabled under the Reconstruction tab in the Application Settings.
- Continuous calibration is disabled.
- In this mode, the continuous calibration is enabled and Motive is continuously optimizing the camera calibration. This mode will accommodate only the minor changes, such as vibrations, thermal expansions, or minor drifts in positions and orientations of the cameras.
Continuous + Bumped Camera
- This feature also allows Motive to continuously monitor the system calibration. Unlike the standard continuous calibration, this mode can adjust the system calibration to even drastic changes in positions and orientations of cameras. If you have cameras displaced a lot, set this setting to the bumped camera mode and Motive will accommodate for the change and reposition the bumped camera. For maintaining the calibration quality, just use the continuous mode.
Continuous Overhead Grid
- This mode behaves similarly to the Continuous mode. This mode, however, does not require all of the cameras to see the markers to update the calibration, allowing the continuous calibration to be used on overhead grid setups.
When capturing throughout a whole day, temperature fluctuations may degrade calibration quality and you will want to recalibrate the capture volume at different times of the day. However, repeating entire calibration process could be tedious and time-consuming especially with a high camera count setup. In this case, instead of repeating the entire calibration process, you can just record Takes with the wand waves and the calibration square, and use the take to re-calibrate the volume in the post-processing. This offline calibration can save calibration calculation time on the capture day because you can process the recorded wanding take in the post-processing instead. Also, the users can inspect the collected capture data and decide to re-calibrate the recorded Take only when any signs of degraded calibration quality is seen from the captures.
Offline Calibration Steps
1) Capture wanding/ground plane takes. At different times of the day, record wanding Takes that closely resembles the calibration wanding process. Also record corresponding ground plane Takes with calibration square set in the volume for defining the ground plane.
Whenever a system is calibrated, a Calibration Wanding file gets saved and it could be used to reproduce the calibration file through the offline calibration process
2) Load the recorded Wanding Take. If you wish to re-calibrate the cameras for captured Takes during playback, load the wanding take that was recorded around the same time.
3) Motive: Calibration pane. In the Edit mode, press Start Wanding. The wanding samples from recorded 2D data will be loaded.
4) Motive: Calibration pane. Press Calculate, and wait until the calculation process is complete.
5) Motive: Calibration pane. Apply Result and export the calibration file. File tab → Export Camera Calibration.
6) Load the recorded Ground Plane Take.
7) Open the saved calibration file. With the Ground Plane Take loaded in Motive, open the exported calibration file, and the saved camera calibration will be applied to the ground plane take.
8) Motive: Perspective View. From 2D data of the Ground Plane Take, select the calibration square markers.
9) Motive: Calibration pane: Ground Plane. Set the Ground plane.
10) Motive: Perspective View. Switch back to the Live mode. The recorded Take is now re-calibrated.
The partial calibration feature allows you to update the calibration for some selection of cameras in a system. The way this feature works is by updating the position of the selected cameras relative to the already calibrated cameras. This means that you only need to wand in front of the selected cameras as long as there is at least one unselected camera that can also see the wand samples.
This feature is especially helpful for high camera count systems where you only need to adjust a few cameras instead of re-calibrating the whole system. One common way to get into this situation is by bumping into a single camera. Partial calibrations allow you to quickly re-calibrate the single bumped camera that is now out of place. This feature is also useful for those who need to do a calibration without changing the location of the ground plane. The reason the ground plane does not need to be reset is because as long as there is at least one unselected camera Motive can use that camera to retain the position of the ground plane relative to the cameras.
Partial Calibration Steps
- From the Devices pane, select the camera that has been moved or added.
- Open the Calibration Pane.
- Set Calibration Type: In most cases you will want to set this to Full, but if the camera only moved slightly Refine works as well.
- Specify the wand type.
- From the Calibration Pane, click Start Wanding. A pop-up dialogue will appear indicating that only selected cameras are being calibrated.
- Choose Calibrate Selected Cameras from the dialogue window.
- Wave the calibration wand mainly within the view of the selected cameras.
- Click Calculate. At this point, only the selected cameras will have their calibration updated.
- This feature relies on the fact that the unselected cameras are in a good calibration state. If the unselected cameras are out of calibration, then using this feature will return bad calibration.
- Partial calibration does not update the calibration of unselected cameras. However, the calibration report that Motive provides does include all cameras that received samples, selected or unselected.
- The partial calibration process can also be used for adding new cameras onto existing calibration. Use Full calibration type in this case.
Active LED Calibration
The OptiTrack motion capture system is designed to track retro-reflective markers. However, active LED markers can also be tracked with appropriate customization. If you wish to use Active LED markers for capture, the system will ideally need to be calibrated using an active LED wand. Please contact us for more details regarding Active LED tracking. ↑
Q & A