10 #ifndef MRPT_VISION_INTERNAL_STEREO_CALIB_H 11 #define MRPT_VISION_INTERNAL_STEREO_CALIB_H 40 const std::vector<size_t>& _valid_image_pair_indices,
41 const std::vector<mrpt::math::TPoint3D>& _obj_points)
69 Eigen::Matrix<double, 4, 30>
J;
72 typedef std::vector<mrpt::aligned_containers<TResidJacobElement>::vector_t>
78 bool use_robust_kernel,
double kernel_param);
81 Eigen::VectorXd& minus_g, Eigen::MatrixXd& H);
88 #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, 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.
std::vector< mrpt::aligned_containers< TResidJacobElement >::vector_t > TResidualJacobianList
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 > residual
= predicted_obs - observations
Eigen::Matrix< double, 4, 30 > J
Jacobian.
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
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