Camera Calibration
Overview
ZED cameras undergo an extensive and rigorous multi-step factory calibration process to ensure accurate camera parameter estimation. This calibration defines key characteristics such as focal length, field of view, and stereo alignment, which are essential for various computer vision and imaging applications.
This applies to both stereo cameras (ZED, ZED Mini, ZED 2, ZED 2i, ZED X, ZED X Mini, ZED X Nano) and monocular cameras (ZED X One), which are factory-calibrated for their intrinsic parameters.
The ZED and ZED 2 cameras are out of production and may no longer be supported by newer versions of the ZED SDK.
The following parameters can be retrieved for each eye and resolution:
- Focal length:
fx,fy. - Principal points:
cx,cy. - Lens distortion:
k1,k2,k3,p1,p2. - Horizontal, vertical and diagonal field of view.
- Stereo calibration: rotation and translation between left and right eye (stereo cameras only).
Stereo Cameras
Stereo cameras expose the intrinsic parameters of both the left and right eye, as well as the stereo transform (rotation and translation) between them, which is required for depth computation.
Using the API
Camera parameters are available in CalibrationParameters. They can be retrieved using getCameraInformation().
If self-calibration is enabled, calibration parameters can be re-estimated and refined by the ZED SDK at startup. Updated parameters will be available in CalibrationParameters.
Monocular Cameras
Monocular cameras, such as the ZED X One, have a single lens and are factory-calibrated for their intrinsic parameters only (focal length, principal point, lens distortion and field of view). As they have a single optical sensor, no stereo transform is provided.
When using a monocular camera through the sl::CameraOne class, calibration parameters are available in a single CameraParameters object (instead of the CalibrationParameters used for stereo cameras). They can be retrieved using getCameraInformation().
Two ZED X One cameras can be rigidly paired to build a Virtual Stereo Vision system. In that case, an additional extrinsic calibration is mandatory to compute the relative position and orientation of the two cameras before depth can be estimated.
Recalibrating your camera
While the factory calibration is typically more accurate than user calibrations, you may need to recalibrate your camera in specific situations, such as when placing glass in front of the lens, when operating underwater, or after a strong impact or exposure to extreme temperatures.
- ZED Calibration tool: a GUI tool shipped with the ZED SDK to fine-tune the intrinsic and extrinsic parameters of a stereo ZED camera. This tool only works with stereo cameras and cannot be used to calibrate a monocular ZED X One camera.
- ZED OpenCV Calibration tool: an open-source, OpenCV-based tool to perform a guided checkerboard calibration of ZED stereo cameras and custom stereo rigs (e.g. a dual ZED X One Virtual Stereo system), generating calibration files compatible with the ZED SDK.
To manually calibrate a monocular ZED X One camera used in particular conditions (e.g. underwater, behind glass) or fitted with custom lenses, you must use the ZED OpenCV Calibration packages or a standard OpenCV calibration process, as the ZED Calibration tool does not support monocular cameras.

