OpenCV  3.4.12
Open Source Computer Vision
Public Member Functions | Protected Member Functions | List of all members
cv::reg::Mapper Class Referenceabstract

Base class for modelling an algorithm for calculating a map. More...

#include <opencv2/reg/mapper.hpp>

Inheritance diagram for cv::reg::Mapper:
cv::reg::MapperGradAffine cv::reg::MapperGradEuclid cv::reg::MapperGradProj cv::reg::MapperGradShift cv::reg::MapperGradSimilar cv::reg::MapperPyramid

Public Member Functions

virtual ~Mapper (void)
 
virtual cv::Ptr< Mapcalculate (InputArray img1, InputArray img2, cv::Ptr< Map > init=cv::Ptr< Map >()) const =0
 
virtual cv::Ptr< MapgetMap () const =0
 

Protected Member Functions

void gradient (const cv::Mat &img1, const cv::Mat &img2, cv::Mat &Ix, cv::Mat &Iy, cv::Mat &It) const
 
void grid (const Mat &img, Mat &grid_r, Mat &grid_c) const
 
cv::Mat sqr (const cv::Mat &mat1) const
 

Detailed Description

Base class for modelling an algorithm for calculating a map.

The class is only used to define the common interface for any possible mapping algorithm.

Constructor & Destructor Documentation

◆ ~Mapper()

virtual cv::reg::Mapper::~Mapper ( void  )
inlinevirtual

Member Function Documentation

◆ calculate()

virtual cv::Ptr<Map> cv::reg::Mapper::calculate ( InputArray  img1,
InputArray  img2,
cv::Ptr< Map init = cv::PtrMap >() 
) const
pure virtual
Python:
retval=cv.reg_Mapper.calculate(img1, img2[, init])

◆ getMap()

virtual cv::Ptr<Map> cv::reg::Mapper::getMap ( ) const
pure virtual
Python:
retval=cv.reg_Mapper.getMap()

◆ gradient()

void cv::reg::Mapper::gradient ( const cv::Mat img1,
const cv::Mat img2,
cv::Mat Ix,
cv::Mat Iy,
cv::Mat It 
) const
protected

◆ grid()

void cv::reg::Mapper::grid ( const Mat img,
Mat grid_r,
Mat grid_c 
) const
protected

◆ sqr()

cv::Mat cv::reg::Mapper::sqr ( const cv::Mat mat1) const
inlineprotected

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