All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
CameraIntrinsics Struct Reference

Public Attributes

float focalLengthX { 0.f }
 Focal length x-component. 0.f if not available.
 
float focalLengthY { 0.f }
 Focal length y-component. 0.f if not available.
 
float principalPointX { 0.f }
 Principal point x-component. 0.f if not available.
 
float principalPointY { 0.f }
 Principal point y-component. 0.f if not available.
 
float distortionCoefficients [8] { 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f }
 An 8-element array of distortion coefficients.
 

Detailed Description

Properties required to support the intrinsics for a camera.

Note
These values should be obtained from camera calibration.

Member Data Documentation

◆ distortionCoefficients

float distortionCoefficients[8] { 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f }

An 8-element array of distortion coefficients.

Array should be filled in the following order (r: radial, t:tangential): [r0, r1, t0, t1, r2, r3, r4, r5] Values that are not available should be set to 0.f.