CameraParameters Struct Reference

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

Attributes

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

Detailed Description

Structure containing the intrinsic parameters of a camera.

Note
For more info, read about the ZED SDK C++ struct it mirrors: CameraParameters

Variables

◆ fx

float fx

Focal length in pixels along x axis.

◆ fy

float fy

Focal length in pixels along y axis.

◆ cx

float cx

Optical center along x axis, defined in pixels (usually close to width / 2).

◆ cy

float cy

Optical center along y axis, defined in pixels (usually close to height / 2).

◆ disto

double [] disto

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.

◆ vFOV

float vFOV

Vertical field of view, in degrees.

Referenced by Camera.GetFOV().

◆ hFOV

float hFOV

Horizontal field of view, in degrees.

◆ dFOV

float dFOV

Diagonal field of view, in degrees.

◆ resolution

Resolution resolution

Size in pixels of the images given by the camera.

◆ focalLengthMetric

float focalLengthMetric

Real focal length in millimeters.