Jafar
|
This is the base class of HomographyEstimator. More...
This is the base class of HomographyEstimator.
You need to subclass it and implement the function HomographyEstimator::estimate. Or you can use it in your algroithms when you need to estimate the homography between two patches in two different images.
Definition at line 21 of file HomographyEstimator.hpp.
#include <HomographyEstimator.hpp>
Classes | |
struct | Statistics |
Public Member Functions | |
HomographyEstimator (int hsp) | |
Initialize an homography estimator. | |
jblas::mat33 | estimate (const jafar::image::Image &imgref, const ImageGradients &imggradref, double uref, double vref, const jafar::image::Image &imgmatch, const ImageGradients &imggradmatch, double umatch, double vmatch, jafar::homography::HomographyEstimator::Statistics &stats) |
virtual void | estimate (jblas::mat33 &homography, const jafar::image::Image &imgref, const ImageGradients &imggradref, double uref, double vref, const jafar::image::Image &imgmatch, const ImageGradients &imggradmatch, double umatch, double vmatch, jafar::homography::HomographyEstimator::Statistics &stats)=0 |
void | setHalfSizePatch (int sp) |
int | halfSizePatch () |
int | sizePatch () |
int | iterations () |
Protected Member Functions | |
void | wrapImage (const jafar::image::Image &imgsrc, jafar::image::Image &imgdst, const jblas::mat33 &homography) |
double | errorImage (jafar::image::Image &imgerr, const jafar::image::Image &img1, const jafar::image::Image &img2) |
Private Attributes | |
int | m_halfSizePatch |
int | m_sizePatch |
jafar::homography::HomographyEstimator::HomographyEstimator | ( | int | hsp | ) | [inline] |
Initialize an homography estimator.
hsp | the half size of the patch |
Definition at line 37 of file HomographyEstimator.hpp.
Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1 |