10 #ifndef MRPT_VISION_INTERNAL_STEREO_CALIB_H 11 #define MRPT_VISION_INTERNAL_STEREO_CALIB_H 38 const std::vector<size_t> & _valid_image_pair_indices,
39 const std::vector<mrpt::math::TPoint3D> &_obj_points
60 Eigen::Matrix<double,4,30>
J;
73 #endif // MRPT_VISION_INTERNAL_STEREO_CALIB_H std::vector< TImageStereoCalibData > TCalibrationStereoImageList
A list of images, used in checkerBoardStereoCalibration.
mrpt::aligned_containers< mrpt::poses::CPose3D >::vector_t left_cam_poses
Eigen::Matrix< double, 4, 30 > J
Jacobian. 4=the two predicted pixels; 30=Read below for the meaning of these 30 variables.
const TCalibrationStereoImageList & images
Eigen::Matrix< double, 4, 1 > residual
= predicted_obs - observations
Data associated to each observation in the Lev-Marq.
mrpt::poses::CPose3D right2left_pose
void build_linear_system(const TResidualJacobianList &res_jac, const vector_size_t &var_indxs, Eigen::VectorXd &minus_g, Eigen::MatrixXd &H)
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 > predicted_obs
[u_l v_l u_r v_r]: left/right camera pixels
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
mrpt::math::CArrayDouble< 9 > right_cam_params
void add_lm_increment(const Eigen::VectorXd &eps, const vector_size_t &var_indxs, lm_stat_t &new_lm_stat)
mrpt::math::CArrayDouble< 9 > left_cam_params
std::vector< size_t > vector_size_t
std::vector< mrpt::aligned_containers< TResidJacobElement >::vector_t > TResidualJacobianList
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< TYPE1, Eigen::aligned_allocator< TYPE1 > > vector_t