3D Camera Calibration

3D Camera Calibration

What is 3D Camera Calibration?
3D Cameras are optical instruments. They can measure the depth of each pixel through a variety of methods (Stereo, Structured Light, LiDAR, ...). Each of these methods is founded on basic physical modeling of the sensing situation. For example if we want to measure depth through Stereo, we have to know exactly how far our cameras are spaced apart and what their relative orientation is. All the knowledge of this internal camera state we call the "internal model".
However, sometimes the physical reality slightly differs from our internal model, which leads to systematic measurement errors.
3D Camera Calibration is the process of changing the internal model so that it aligns again with the physical reality, with the goal of minimizing systematic measurement errors.

The most common systematic measurement errors are:
  1. Distortions in the depth map. I.e. the 3D image of a flat wall is not completely flat. The flat wall appears slightly curved or wavy.
  2. Scale errors: All things are measured too close or too far away.
  3. Field-of-View errors. The imaged scene is slightly warped. Angles between surfaces are different depending on the camera orientation angle. Measurements in the XY plane are off.
  4. Tilting: The image of a flat wall that is faced orthogonally appears tilted / at an angle.

How does DotProduct perform 3D Camera Calibration?
DotProduct has developed proprietary calibration technology to minimize systematic measurement error to a degree that goes beyond what the factory calibration and/or manufacturer tools provide.
DotProduct's calibration procedure depends on the camera model used.
  1. Intel RealSense D400 series:
    1. The camera is checked for existing measurement errors in various conditions
    2. RealSense "Dynamic Calibration" is carried out if necessary to take care of gross errors. New internal model is stored on-camera.
    3. DotProduct's calibration tools are used to refine the internal model and to address any remaining systematic measurement errors. Results are stored in a calibration file that can be used within Dot3D.
  2. Primesense / DPI-10 / DPI-8
    1. DotProduct's calibration tools are used to determine the internal model and to address any remaining systematic measurement errors. Results are stored in a calibration file that can be used within Dot3D.

How does DotProduct's calibration differ from other calibration tools?
DotProduct's calibration methods are specific to each camera model to achieve a maximum of accuracy. Beyond the typical calibration parameters (intrinsics, extrinsics), DotProduct's calibration can recover additional parameters of a camera's internal state that can be used to minimize systematic measurement errors.

Also, in contrast to regular / factory calibration the result of DotProduct's calibration cannot be stored on-camera. Instead the results are stored in a file that can be loaded within the Dot3D software.

Depending on the distance to the target, using DotProduct's internal calibration we are able to achieve typical Z errors of 0.2% - 0.8% and XY errors of 0.1% to 1.2%, vs. typical Z errors of 1% to 2.5% and XY errors of 0.5% to 3% when using only factory calibration (numbers refer to measurements from a single camera viewpoint and for ranges up to 3.5 meters).

In addition DotProduct's internal calibration significantly reduces local surface bending / Z-distortion.

How to perform 3D Camera Calibration for Intel RealSense D400-series cameras?
Intel RealSense offers two calibration methods for D400-series cameras to provide a baseline of accuracy and to get damaged or otherwise out-of-calibration cameras back into shape.
The two methods are "Self-calibration" and "Dynamic Calibration". The Self-Calibration method itself has several components. For most cases DotProduct recommends the Dynamic Calibration method.
Here is a high-level overview:
  1. Self-Calibration (available in RealSense Viewer)
    1. "On-Chip Calibration"
      1. Intrinsics
      2. Extrinsics
    2. "Tare Calibration"
  2. Dynamic Calibration (separate app, using a physical / printed target)
The Self-Calibration is available through the RealSense Viewer. More information about Self-Calibration is available here:

The Dynamic Calibration is a separate app. The latest version, as well as more information can be found here:

Even though the Dynamic Calibration takes a bit more time to carry out and requires a printed target, we found that it is quite reliable and relatively easy to do. We are likely going to post a video tutorial about this in the future.

The Self-Calibration on the other hand is extremely easy to perform. However, for certain measurement / depth errors and/or cameras that are more than slightly out of shape we found that it is not able to calibrate as reliably as the Dynamic Calibration.

We therefore recommend the "Dynamic Calibration" method.

For a maximum of accuracy we always recommend a calibration by DotProduct using our internal tools as described above.


    • Related Articles

    • How to Load Your Camera Calibration File into Dot3D

      If you have any calibration files (provided with purchase from DotProduct) associated with your depth camera(s), please follow the following steps to activate: 1. Add the calibration file(s) to the Calibrations folder on your device after installing ...
    • What are the Calibration and Configuration File Options in the Sensor Settings Dialog?

      A: Calibration File: A file that contains information about an individual camera as a result of a DotProduct-proprietary individual camera calibration process. Assigning a matching calibration file before scanning is mandatory for Primesense / Xtion ...
    • Pros / Cons and scanning Best Practices for Intel RealSense D415 and D435

      The Intel RealSense D455, D415, and D435 (as well as D435i) sensors are a great choice for scanning outdoors and/or in sunlight. However, as with all sensors, they have both advantages and limitations. Following best practices is highly recommended ...
    • Dot3D Won't Connect to my Intel RealSense Camera

      Q: Dot3D does not recognize my Intel RealSense Camera or won't connect to it or wont allow me to start scanning with my RealSense camera. How can this be fixed? A1: Windows & Android: Make sure your computer or phone/tablet has a USB-3 compatible ...
    • Intel RealSense Firmware Update Procedure

      Please follow the steps below to update your Intel RealSense camera to the latest available firmware from a Windows PC. It is recommended you check for available updates regularly, especially if you are running into any performance/connection issues ...