37 float k1, k2, p1, p2, k3, k4, k5, k6, metric_radius;
73 const struct t_camera_model_params *dist,
const float x,
const float y,
float *out_x,
float *out_y,
float *out_z);
82 const struct t_camera_model_params *dist,
const float x,
const float y,
float *out_x,
float *out_y,
float *out_z);
t_camera_distortion_model
The distortion model this camera calibration falls under.
Definition t_tracking.h:63
Floating point parameters for T_DISTORTION_FISHEYE_KB4.
Definition t_camera_models.h:26
Floating point parameters for T_DISTORTION_OPENCV_RADTAN_8, also including metric_radius.
Definition t_camera_models.h:36
Essential calibration data for a single camera, or single lens/sensor of a stereo camera.
Definition t_tracking.h:236
Floating point calibration data for a single calibrated camera.
Definition t_camera_models.h:47
void t_camera_models_undistort(const struct t_camera_model_params *dist, const float x, const float y, float *out_x, float *out_y)
Takes a distorted 2D point through x and y and computes the undistorted point into out_x and out_y.
bool t_camera_models_project(const struct t_camera_model_params *dist, const float x, const float y, const float z, float *out_x, float *out_y)
Takes a 3D point through x, y, and z, projects it into image space, and returns the result through ou...
bool t_camera_models_unproject(const struct t_camera_model_params *dist, const float x, const float y, float *out_x, float *out_y, float *out_z)
Takes a 2D image-space point through x and y, unprojects it to a normalized 3D direction,...
bool t_camera_models_unproject_and_flip(const struct t_camera_model_params *dist, const float x, const float y, float *out_x, float *out_y, float *out_z)
Takes a 2D image-space point through x and y, unprojects it to a normalized 3D direction,...
bool t_camera_models_flip_and_project(const struct t_camera_model_params *dist, const float x, const float y, const float z, float *out_x, float *out_y)
Takes a 3D point through x, y, and z, flips its Y and Z values (performing a coordinate space transfo...
void t_camera_model_params_from_t_camera_calibration(const struct t_camera_calibration *cc, struct t_camera_model_params *out_params)
Takes a t_camera_calibration through cc, and returns a t_camera_model_params that shadows cc 's param...