licornea_tools
Namespaces | Typedefs | Functions
eigen.h File Reference
#include "common.h"
#include <Eigen/Core>
#include <Eigen/Eigen>
#include <opencv2/core/eigen.hpp>

Go to the source code of this file.

Namespaces

 tlz
 

Typedefs

using tlz::Eigen_matXX = Eigen::Matrix< real, Eigen::Dynamic, Eigen::Dynamic >
 
template<std::size_t Cols>
using tlz::Eigen_matXn = Eigen::Matrix< real, Eigen::Dynamic, Cols >
 
template<std::size_t Rows>
using tlz::Eigen_matnX = Eigen::Matrix< real, Rows, Eigen::Dynamic >
 
template<std::size_t Rows, std::size_t Cols>
using tlz::Eigen_mat = Eigen::Matrix< real, Rows, Cols >
 
using tlz::Eigen_mat33 = Eigen_mat< 3, 3 >
 
using tlz::Eigen_mat22 = Eigen_mat< 2, 2 >
 
using tlz::Eigen_vecX = Eigen::Matrix< real, Eigen::Dynamic, 1 >
 
template<std::size_t Rows>
using tlz::Eigen_vec = Eigen::Matrix< real, Rows, 1 >
 
using tlz::Eigen_vec3 = Eigen_vec< 3 >
 
using tlz::Eigen_vec2 = Eigen_vec< 2 >
 

Functions

template<int Rows, int Cols>
Eigen_mat< Rows, Cols > tlz::to_eigen_mat (const cv::Matx< real, Rows, Cols > &cv_mat)
 
template<int Rows>
Eigen_vec< Rows > tlz::to_eigen (const cv::Vec< real, Rows > &cv_vec)
 
template<std::size_t Rows, std::size_t Cols>
cv::Matx< real, Rows, Cols > tlz::from_eigen_mat (const Eigen_mat< Rows, Cols > &eigen_mat)
 
template<int Rows>
cv::Vec< real, Rows > tlz::from_eigen (const Eigen_vec< Rows > &eigen_vec)