struct sophus::ProjectionOrtho

Overview

#include <projection_ortho.h>

struct ProjectionOrtho {
    // typedefs

    using WithRows = Eigen::Matrix<typename TPoints::Scalar, kRows, TPoints::ColsAtCompileTime> ;

    // methods

    template <class TDerived>
    static WithRows<Eigen::DenseBase<TDerived>, 2> proj(Eigen::DenseBase<TDerived> const& points_in_camera);

    template <class TDerived>
    static WithRows<Eigen::DenseBase<TDerived>, 3> unproj(
        Eigen::DenseBase<TDerived> const& points_in_cam_canonical,
        typename TDerived::Scalar extension = static_cast<typename TDerived::Scalar>(0.0)
        );

    template <class TScalar>
    static Eigen::Matrix<TScalar, 2, 3> dxProjX(Eigen::Matrix<TScalar, 3, 1> const&);
};

Detailed Documentation

Methods

template <class TScalar>
static Eigen::Matrix<TScalar, 2, 3> dxProjX(Eigen::Matrix<TScalar, 3, 1> const&)

Returns point derivative of inverse depth point projection:

Dx proj(x) with x = (a,b,psi) being an inverse depth point.