Solar
Public Member Functions | Static Public Member Functions | List of all members
SolAR::MODULES::OPENCV::SolAROpenCVHelper Class Reference

A toolbox to convert OpenCV structures to SolAR structures and respectively. More...

#include <SolAROpenCVHelper.h>

Public Member Functions

template<class T , int Rows, int Cols>
FrameworkReturnCode convertCVMatToSolar (const cv::Mat &openCVMat, datastructure::Matrix< T, Rows, Cols > &solarMat)
 

Static Public Member Functions

template<class T , int Rows, int Cols>
static FrameworkReturnCode convertCVMatToSolar (const cv::Mat &openCVMat, datastructure::Matrix< T, Rows, Cols, 1 > &solarMat)
 
template<class T , int Dim>
static FrameworkReturnCode convertCVMatToSolar (const cv::Mat &openCVMat, datastructure::Transform< T, Dim > &solarTransform)
 
template<class T , int Rows, int Cols>
static cv::Mat mapToOpenCV (const datastructure::Matrix< T, Rows, Cols > &solarMat)
 
template<class T , int Dim>
static cv::Mat mapToOpenCV (const datastructure::Transform< T, Dim > &solarTransform)
 
static std::vector< cv::Point2i > convertToOpenCV (const datastructure::Contour2Di &contour)
 
static std::vector< cv::Point2f > convertToOpenCV (const datastructure::Contour2Df &contour)
 
static FrameworkReturnCode convertToSolar (cv::Mat &imgSrc, SRef< datastructure::Image > &imgDest)
 
static void mapToOpenCV (SRef< datastructure::Image > imgSrc, cv::Mat &imgDest)
 
static cv::Mat mapToOpenCV (SRef< datastructure::Image > imgSrc)
 
static uint32_t deduceOpenDescriptorCVType (datastructure::DescriptorDataType querytype)
 
static void drawCVLine (cv::Mat &inputImage, cv::Point2f &p1, cv::Point2f &p2, cv::Scalar color, int thickness)
 
template<class T >
static constexpr int inferOpenCVType ()
 
static int deduceOpenCVType (SRef< datastructure::Image > img)
 
static FrameworkReturnCode createMatcher (std::string type, cv::Ptr< cv::DescriptorMatcher > &matcher)
 
template<>
constexpr int inferOpenCVType ()
 
template<>
constexpr int inferOpenCVType ()
 
template<>
constexpr int inferOpenCVType ()
 
template<>
constexpr int inferOpenCVType ()
 
template<>
constexpr int inferOpenCVType ()
 
template<>
constexpr int inferOpenCVType ()
 

Detailed Description

A toolbox to convert OpenCV structures to SolAR structures and respectively.


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