SL_CameraParameters Struct Reference

Structure containing the intrinsic parameters of a camera. More...

Data Fields

float fx
 Focal length in pixels along x axis.
 
float fy
 Focal length in pixels along y axis.
 
float cx
 Optical center along x axis, defined in pixels (usually close to width / 2).
 
float cy
 Optical center along y axis, defined in pixels (usually close to height / 2).
 
double disto [12]
 Distortion factor : [k1, k2, p1, p2, k3, k4, k5, k6, s1, s2, s3, s4]. More...
 
float v_fov
 Vertical field of view, in degrees.
 
float h_fov
 Horizontal field of view, in degrees.
 
float d_fov
 Diagonal field of view, in degrees.
 
struct SL_Resolution image_size
 Size in pixels of the images given by the camera.
 
float focal_length_metric
 Real focal length in millimeters.
 

Detailed Description

Structure containing the intrinsic parameters of a camera.

Field Documentation

◆ disto

double SL_CameraParameters::disto[12]

Distortion factor : [k1, k2, p1, p2, k3, k4, k5, k6, s1, s2, s3, s4].

Radial (k1, k2, k3, k4, k5, k6), Tangential (p1,p2) and Prism (s1, s2, s3, s4) distortion.