21 #ifndef KJB_CPP_G_CAMERA_H
22 #define KJB_CPP_G_CAMERA_H
52 const Vector& homo_camerascreen_coord,
53 const Matrix& camera_matrix
59 const Vector3& homo_camera_coord,
60 const Matrix_d<3,4>& camera_matrix
79 const Vector& homo_screen_coord,
86 const Vector3& homo_screen_coord,
87 const Matrix_d<3,3>& M_inv
106 bool use_slerp =
false);
123 const std::vector<Matrix>& extrinsic,
124 const std::vector<double>& timestamps,
126 bool use_slerp =
false);
Definition for the Matrix class, a thin wrapper on the KJB Matrix struct and its related functionalit...
Vector_d< 3 > Vector3
Definition: g_quaternion.h:37
Vector3 backproject(const Vector3 &homo_screen_coord, const Matrix_d< 3, 4 > &camera_matrix)
Same as backproject(), but using Vector3.
Definition: g_camera.cpp:57
Matrix lerp_extrinsic_camera_matrix(const Matrix &m1, const Matrix &m2, double t, bool use_slerp)
Linearly-interpolate a two extrinsic camera matrices.
Definition: g_camera.cpp:128
Vector backproject_with_m_inv(const Vector &homo_screen_coord, const Matrix &M_inv)
Definition: g_camera.cpp:100
Definition for the Vector class, a thin wrapper on the KJB Vector struct and its related functionalit...