15 #include <Eigen/Dense> 28 std::vector<mrpt::poses::CPose3D>
38 const std::vector<size_t>& _valid_image_pair_indices,
39 const std::vector<mrpt::math::TPoint3D>& _obj_points)
75 bool use_robust_kernel,
double kernel_param);
81 const std::vector<size_t>& var_indxs,
lm_stat_t& new_lm_stat);
A compile-time fixed-size numeric matrix container.
std::vector< std::vector< TResidJacobElement > > TResidualJacobianList
Eigen::Matrix< double, 4, 1 > predicted_obs
[u_l v_l u_r v_r]: left/right camera pixels
const TCalibrationStereoImageList & images
Data associated to each observation in the Lev-Marq.
mrpt::poses::CPose3D right2left_pose
void add_lm_increment(const mrpt::math::CVectorDynamic< double > &eps, const std::vector< size_t > &var_indxs, lm_stat_t &new_lm_stat)
std::vector< mrpt::poses::CPose3D > left_cam_poses
Classes for computer vision, detectors, features, etc.
const std::vector< mrpt::math::TPoint3D > & obj_points
double recompute_errors_and_Jacobians(const lm_stat_t &lm_stat, TResidualJacobianList &res_jac, bool use_robust_kernel, double kernel_param)
const std::vector< size_t > & valid_image_pair_indices
Eigen::Matrix< double, 4, 1 > residual
= predicted_obs - observations
Eigen::Matrix< double, 4, 30 > J
Jacobian.
mrpt::math::CVectorFixedDouble< 9 > right_cam_params
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
lm_stat_t(const TCalibrationStereoImageList &_images, const std::vector< size_t > &_valid_image_pair_indices, const std::vector< mrpt::math::TPoint3D > &_obj_points)
std::vector< TImageStereoCalibData > TCalibrationStereoImageList
A list of images, used in checkerBoardStereoCalibration.
mrpt::math::CVectorFixedDouble< 9 > left_cam_params
[fx fy cx cy k1 k2 k3 t1 t2]
void build_linear_system(const TResidualJacobianList &res_jac, const std::vector< size_t > &var_indxs, mrpt::math::CVectorDynamic< double > &minus_g, mrpt::math::CMatrixDouble &H)