Class for FULL homography optimizer interface. 8 degrees of freedom in the homography. More...
#include <homography_optimizer_interface.h>
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... | |
Class for FULL homography optimizer interface. 8 degrees of freedom in the homography.
Definition at line 11 of file homography_optimizer_interface.h.
|
pure virtual |
Gets the homography sequence.
Implemented in VTEC::IBGHomographyOptimizerCvWrapper.
|
pure virtual |
Gets the number of iterations.
Implemented in VTEC::IBGHomographyOptimizerCvWrapper.
|
pure virtual |
initializes the optimizer, building the image pyramid.
[in] | max_nb_iter | The maximum number of iterator |
[in] | max_nb_pyr_level | The maximum number of pyr level |
[in] | sampling_rate | The sampling rate |
Implemented in VTEC::IBGStretchHomographyOptimizerCvWrapper, VTEC::IBGAffineHomographyOptimizerCvWrapper, VTEC::IBGFullHomographyOptimizerCvWrapper, and VTEC::IBGHomographyOptimizerCvWrapper.
|
pure virtual |
Optimization function.
[in] | curr_image | The current image |
H | The homography matrix. | |
alpha | The alpha photometric parameter | |
beta | The beta photometric parameter | |
[in] | predictor | The predictor |
Implemented in VTEC::IBGHomographyOptimizerCvWrapper.
|
pure virtual |
Sets the reference template.
[in] | ref_image | The reference image |
[in] | posx | The upper left x coordinate of the template |
[in] | posy | The upper right x coordinate of the template |
[in] | sizex | The length in x of the template |
[in] | sizey | The length in y of the template |
Implemented in VTEC::IBGHomographyOptimizerCvWrapper.