farm-ng-core
sophus::ProjectionOrtho Struct Reference

#include <projection_ortho.h>

Public Types

template<class TPoints , int kRows>
using WithRows = Eigen::Matrix< typename TPoints::Scalar, kRows, TPoints::ColsAtCompileTime >
 

Static Public Member Functions

template<class TDerived >
static auto proj (Eigen::DenseBase< TDerived > const &points_in_camera) -> WithRows< Eigen::DenseBase< TDerived >, 2 >
 
template<class TDerived >
static auto unproj (Eigen::DenseBase< TDerived > const &points_in_cam_canonical, typename TDerived::Scalar extension=static_cast< typename TDerived::Scalar >(0.0)) -> WithRows< Eigen::DenseBase< TDerived >, 3 >
 
template<class TScalar >
static auto dxProjX (Eigen::Matrix< TScalar, 3, 1 > const &) -> Eigen::Matrix< TScalar, 2, 3 >
 Returns point derivative of inverse depth point projection: More...
 

Member Typedef Documentation

◆ WithRows

template<class TPoints , int kRows>
using sophus::ProjectionOrtho::WithRows = Eigen:: Matrix<typename TPoints::Scalar, kRows, TPoints::ColsAtCompileTime>

Member Function Documentation

◆ dxProjX()

template<class TScalar >
static auto sophus::ProjectionOrtho::dxProjX ( Eigen::Matrix< TScalar, 3, 1 > const &  ) -> Eigen::Matrix<TScalar, 2, 3>
inlinestatic

Returns point derivative of inverse depth point projection:

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

◆ proj()

template<class TDerived >
static auto sophus::ProjectionOrtho::proj ( Eigen::DenseBase< TDerived > const &  points_in_camera) -> WithRows<Eigen::DenseBase<TDerived>, 2>
inlinestatic

◆ unproj()

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

The documentation for this struct was generated from the following file: