CalibrationParameters Class Reference

Class containing intrinsic and extrinsic parameters of the camera (translation and rotation). More...

Functions

float get_camera_baseline (self)
 Returns the baseline of the camera in the sl.UNIT defined in sl.InitParameters.coordinate_units.
 
CameraParameters left_cam (self)
 Intrinsic sl.CameraParameters of the left camera.
 
CameraParameters right_cam (self)
 Intrinsic sl.CameraParameters of the right camera.
 
Transform stereo_transform (self)
 Left to right camera transform, expressed in user coordinate system and unit (defined by sl.InitParameters.coordinate_system).
 

Detailed Description

Class containing intrinsic and extrinsic parameters of the camera (translation and rotation).

That information about the camera will be returned by sl.Camera.get_camera_information().

Note
The calibration/rectification process, called during sl.Camera.open(), is using the raw parameters defined in the SNXXX.conf file, where XXX is the serial number of the camera.
Those values may be adjusted or not by the self-calibration to get a proper image alignment.
After sl.Camera.open() is done (with or without self-calibration activated), most of the stereo parameters (except baseline of course) should be 0 or very close to 0.
It means that images after rectification process (given by sl.Camera.retrieve_image()) are aligned as if they were taken by a "perfect" stereo camera, defined by the new sl.CalibrationParameters.
Warning
CalibrationParameters are returned in sl.COORDINATE_SYSTEM.IMAGE, they are not impacted by the sl.InitParameters.coordinate_system.