File between_factor_orthographic_camera_cal.h¶
-
namespace sym
Functions
-
template<typename Scalar>
void BetweenFactorOrthographicCameraCal(const sym::OrthographicCameraCal<Scalar> &a, const sym::OrthographicCameraCal<Scalar> &b, const sym::OrthographicCameraCal<Scalar> &a_T_b, const Eigen::Matrix<Scalar, 4, 4> &sqrt_info, const Scalar epsilon, Eigen::Matrix<Scalar, 4, 1> *const res = nullptr, Eigen::Matrix<Scalar, 4, 8> *const jacobian = nullptr, Eigen::Matrix<Scalar, 8, 8> *const hessian = nullptr, Eigen::Matrix<Scalar, 8, 1> *const rhs = nullptr)¶ Residual that penalizes the difference between between(a, b) and a_T_b.
In vector space terms that would be: (b - a) - a_T_b
In lie group terms: local_coordinates(a_T_b, between(a, b)) to_tangent(compose(inverse(a_T_b), compose(inverse(a), b)))
Args: sqrt_info: Square root information matrix to whiten residual. This can be computed from a covariance matrix as the cholesky decomposition of the inverse. In the case of a diagonal it will contain 1/sigma values. Must match the tangent dim. jacobian: (4x8) jacobian of res wrt args a (4), b (4) hessian: (8x8) Gauss-Newton hessian for args a (4), b (4) rhs: (8x1) Gauss-Newton rhs for args a (4), b (4)
-
template<typename Scalar>