Public Member Functions | List of all members
VTEC::HomographyOptimizerInterface Class Referenceabstract

Class for FULL homography optimizer interface. 8 degrees of freedom in the homography. More...

#include <homography_optimizer_interface.h>

Inheritance diagram for VTEC::HomographyOptimizerInterface:
Inheritance graph
[legend]

Public Member Functions

virtual std::vector< cv::Mat > getHomographySequence ()=0
 Gets the homography sequence. More...
 
virtual std::vector< int > getNbIterations ()=0
 Gets the number of iterations. More...
 
virtual void initialize (const int max_nb_iter, const int max_nb_pyr_level, const double sampling_rate)=0
 initializes the optimizer, building the image pyramid. More...
 
virtual double optimize (const cv::Mat &curr_image, cv::Mat &H, float &alpha, float &beta, int predictor)=0
 Optimization function. More...
 
virtual bool setReferenceTemplate (const cv::Mat &ref_image, const int posx, const int posy, const int sizex, const int sizey)=0
 Sets the reference template. More...
 

Detailed Description

Class for FULL homography optimizer interface. 8 degrees of freedom in the homography.

Definition at line 11 of file homography_optimizer_interface.h.

Member Function Documentation

virtual std::vector<cv::Mat> VTEC::HomographyOptimizerInterface::getHomographySequence ( )
pure virtual

Gets the homography sequence.

Returns
The homography sequence.

Implemented in VTEC::IBGHomographyOptimizerCvWrapper.

virtual std::vector<int> VTEC::HomographyOptimizerInterface::getNbIterations ( )
pure virtual

Gets the number of iterations.

Returns
The number of iterations.

Implemented in VTEC::IBGHomographyOptimizerCvWrapper.

virtual void VTEC::HomographyOptimizerInterface::initialize ( const int  max_nb_iter,
const int  max_nb_pyr_level,
const double  sampling_rate 
)
pure virtual

initializes the optimizer, building the image pyramid.

Parameters
[in]max_nb_iterThe maximum number of iterator
[in]max_nb_pyr_levelThe maximum number of pyr level
[in]sampling_rateThe sampling rate

Implemented in VTEC::IBGStretchHomographyOptimizerCvWrapper, VTEC::IBGAffineHomographyOptimizerCvWrapper, VTEC::IBGFullHomographyOptimizerCvWrapper, and VTEC::IBGHomographyOptimizerCvWrapper.

virtual double VTEC::HomographyOptimizerInterface::optimize ( const cv::Mat &  curr_image,
cv::Mat &  H,
float &  alpha,
float &  beta,
int  predictor 
)
pure virtual

Optimization function.

Parameters
[in]curr_imageThe current image
HThe homography matrix.
alphaThe alpha photometric parameter
betaThe beta photometric parameter
[in]predictorThe predictor
Returns
ZNCC score associated with the estimated parameters.

Implemented in VTEC::IBGHomographyOptimizerCvWrapper.

virtual bool VTEC::HomographyOptimizerInterface::setReferenceTemplate ( const cv::Mat &  ref_image,
const int  posx,
const int  posy,
const int  sizex,
const int  sizey 
)
pure virtual

Sets the reference template.

Parameters
[in]ref_imageThe reference image
[in]posxThe upper left x coordinate of the template
[in]posyThe upper right x coordinate of the template
[in]sizexThe length in x of the template
[in]sizeyThe length in y of the template
Returns
true if success, false otherwise.

Implemented in VTEC::IBGHomographyOptimizerCvWrapper.


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


cv_wrapper
Author(s):
autogenerated on Sun Dec 16 2018 03:14:36