#include <ibg_cv.h>
|
| void | getCurrentTemplate (cv::Mat &img) |
| | Gets the current template. More...
|
| |
| void | getHomography (cv::Mat &H) |
| | Gets the homography. More...
|
| |
| std::vector< cv::Mat > | getHomographySequence () |
| | Gets the homography sequence. More...
|
| |
| std::vector< int > | getNbIterations () |
| | Gets the number of iterations. More...
|
| |
| void | getReferenceTemplate (cv::Mat &img) |
| | Gets the reference template. More...
|
| |
| | IBGHomographyOptimizerCvWrapper () |
| | Constructor. More...
|
| |
| virtual void | initialize (const int max_nb_iter, const int max_nb_pyr_level, const double sampling_rate)=0 |
| | Initiliazation of the optimizer. More...
|
| |
| double | optimize (const cv::Mat &curr_image, cv::Mat &H, float &alpha, float &beta, int predictor) |
| | Optimization function. More...
|
| |
| void | setHomography (const cv::Mat H) |
| | Sets the homography. More...
|
| |
| bool | setReferenceTemplate (const cv::Mat &ref_image, const int posx, const int posy, const int sizex, const int sizey) |
| | Sets the reference template. More...
|
| |
Definition at line 11 of file ibg_cv.h.
| VTEC::IBGHomographyOptimizerCvWrapper::IBGHomographyOptimizerCvWrapper |
( |
| ) |
|
| void VTEC::IBGHomographyOptimizerCvWrapper::getCurrentTemplate |
( |
cv::Mat & |
img | ) |
|
Gets the current template.
- Parameters
-
Definition at line 99 of file ibg_cv.cpp.
| void VTEC::IBGHomographyOptimizerCvWrapper::getHomography |
( |
cv::Mat & |
H | ) |
|
Gets the homography.
- Parameters
-
Definition at line 113 of file ibg_cv.cpp.
| std::vector< cv::Mat > VTEC::IBGHomographyOptimizerCvWrapper::getHomographySequence |
( |
| ) |
|
|
virtual |
| std::vector< int > VTEC::IBGHomographyOptimizerCvWrapper::getNbIterations |
( |
| ) |
|
|
virtual |
| void VTEC::IBGHomographyOptimizerCvWrapper::getReferenceTemplate |
( |
cv::Mat & |
img | ) |
|
Gets the reference template.
- Parameters
-
Definition at line 106 of file ibg_cv.cpp.
| virtual void VTEC::IBGHomographyOptimizerCvWrapper::initialize |
( |
const int |
max_nb_iter, |
|
|
const int |
max_nb_pyr_level, |
|
|
const double |
sampling_rate |
|
) |
| |
|
pure virtual |
| double VTEC::IBGHomographyOptimizerCvWrapper::optimize |
( |
const cv::Mat & |
curr_image, |
|
|
cv::Mat & |
H, |
|
|
float & |
alpha, |
|
|
float & |
beta, |
|
|
int |
predictor |
|
) |
| |
|
virtual |
Optimization function.
- Parameters
-
| [in] | curr_image | The curr image |
| H | The homography matrix |
| alpha | The alpha |
| beta | The beta |
| [in] | predictor | The predictor |
- Returns
- the ZNCC score
Implements VTEC::HomographyOptimizerInterface.
Definition at line 24 of file ibg_cv.cpp.
| void VTEC::IBGHomographyOptimizerCvWrapper::setHomography |
( |
const cv::Mat |
H | ) |
|
Sets the homography.
- Parameters
-
| [in] | H | the Homography matrix. |
Definition at line 92 of file ibg_cv.cpp.
| bool VTEC::IBGHomographyOptimizerCvWrapper::setReferenceTemplate |
( |
const cv::Mat & |
ref_image, |
|
|
const int |
posx, |
|
|
const int |
posy, |
|
|
const int |
sizex, |
|
|
const int |
sizey |
|
) |
| |
|
virtual |
Sets the reference template.
- Parameters
-
| [in] | ref_image | The reference image |
| [in] | posx | The upper left x coordinate of the template in the image |
| [in] | posy | The upper left y coordinate of the template in the image |
| [in] | sizex | The length in x of the template in the image. |
| [in] | sizey | The length in y of the template in the image. |
- Returns
- true if success, false otherwise
Implements VTEC::HomographyOptimizerInterface.
Definition at line 11 of file ibg_cv.cpp.
| bool VTEC::IBGHomographyOptimizerCvWrapper::initialized_ |
|
protected |
| IBGHomographyOptimizer* VTEC::IBGHomographyOptimizerCvWrapper::optimizer |
|
protected |
The documentation for this class was generated from the following files: