Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Protected Member Functions | Private Attributes
jafar::homography::HomographyEstimator Class Reference

This is the base class of HomographyEstimator. More...


Detailed Description

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>

Inheritance diagram for jafar::homography::HomographyEstimator:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

Initialize an homography estimator.

Parameters:
hspthe half size of the patch

Definition at line 37 of file HomographyEstimator.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1
LAAS-CNRS