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)
67 Eigen::Matrix<double, 4, 30>
J;
71 std::vector<mrpt::aligned_std_vector<TResidJacobElement>>;
76 bool use_robust_kernel,
double kernel_param);
79 Eigen::VectorXd& minus_g, Eigen::MatrixXd& H);
81 const Eigen::VectorXd&
eps,
const std::vector<size_t>& var_indxs,
84 #endif // MRPT_VISION_INTERNAL_STEREO_CALIB_H mrpt::aligned_std_vector< mrpt::poses::CPose3D > left_cam_poses
CArrayNumeric is an array for numeric types supporting several mathematical operations (actually...
Eigen::Matrix< double, 4, 1 > predicted_obs
[u_l v_l u_r v_r]: left/right camera pixels
std::vector< T, mrpt::aligned_allocator_cpp11< T > > aligned_std_vector
const TCalibrationStereoImageList & images
Data associated to each observation in the Lev-Marq.
mrpt::poses::CPose3D right2left_pose
void build_linear_system(const TResidualJacobianList &res_jac, const std::vector< size_t > &var_indxs, Eigen::VectorXd &minus_g, Eigen::MatrixXd &H)
Classes for computer vision, detectors, features, etc.
const std::vector< mrpt::math::TPoint3D > & obj_points
std::vector< mrpt::aligned_std_vector< TResidJacobElement > > TResidualJacobianList
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.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
mrpt::math::CArrayDouble< 9 > right_cam_params
mrpt::math::CArrayDouble< 9 > left_cam_params
void add_lm_increment(const Eigen::VectorXd &eps, const std::vector< size_t > &var_indxs, lm_stat_t &new_lm_stat)
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.