|
Hugintrunk
0.1
|
#include <Homography.h>
Public Member Functions | |
| Homography () | |
| ~Homography () | |
| void | initMatchesNormalization (PointMatchVector_t &iMatches) |
| bool | estimate (PointMatchVector_t &iMatches) |
| void | transformPoint (double iX, double iY, double &oX, double &oY) |
Public Attributes | |
| double | _H [3][3] |
| int | _nMatches |
| double | _v1x |
| double | _v2x |
| double | _v1y |
| double | _v2y |
Private Member Functions | |
| void | initialize (void) |
| void | addMatch (size_t iIndex, PointMatch &iMatch) |
| void | allocMemory (int iNPoints) |
| void | freeMemory () |
Private Attributes | |
| double ** | _Amat |
| double * | _Bvec |
| double * | _Rvec |
| double * | _Xvec |
Static Private Attributes | |
| static const int | kNCols = 8 |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const Homography &H) |
Definition at line 32 of file Homography.h.
| lfeat::Homography::Homography | ( | void | ) |
| lfeat::Homography::~Homography | ( | ) |
Definition at line 92 of file Homography.cpp.
References _nMatches, and freeMemory().
|
private |
Definition at line 139 of file Homography.cpp.
References _Amat, _Bvec, lfeat::PointMatch::_img1_x, lfeat::PointMatch::_img1_y, lfeat::PointMatch::_img2_x, lfeat::PointMatch::_img2_y, _v1x, _v1y, _v2x, and _v2y.
Referenced by estimate().
|
private |
Definition at line 59 of file Homography.cpp.
References _Amat, _Bvec, _nMatches, _Rvec, _Xvec, and kNCols.
Referenced by estimate().
| bool lfeat::Homography::estimate | ( | PointMatchVector_t & | iMatches | ) |
Definition at line 182 of file Homography.cpp.
References _Amat, _Bvec, _H, _nMatches, _Rvec, _Xvec, addMatch(), allocMemory(), freeMemory(), lfeat::Givens(), and kNCols.
Referenced by lfeat::Ransac::filter().
|
private |
Definition at line 75 of file Homography.cpp.
References _Amat, _Bvec, _nMatches, _Rvec, and _Xvec.
Referenced by estimate(), and ~Homography().
|
private |
| void lfeat::Homography::initMatchesNormalization | ( | PointMatchVector_t & | iMatches | ) |
Definition at line 100 of file Homography.cpp.
References _v1x, _v1y, _v2x, and _v2y.
Referenced by lfeat::Ransac::filter().
| void lfeat::Homography::transformPoint | ( | double | iX, |
| double | iY, | ||
| double & | oX, | ||
| double & | oY | ||
| ) |
Definition at line 172 of file Homography.cpp.
References _H, _v1x, _v1y, _v2x, and _v2y.
Referenced by lfeat::Ransac::calcError(), and lfeat::Ransac::transform().
|
friend |
Definition at line 130 of file Homography.cpp.
|
private |
Definition at line 59 of file Homography.h.
Referenced by addMatch(), allocMemory(), estimate(), freeMemory(), and Homography().
|
private |
Definition at line 60 of file Homography.h.
Referenced by addMatch(), allocMemory(), estimate(), freeMemory(), and Homography().
| double lfeat::Homography::_H[3][3] |
Definition at line 65 of file Homography.h.
Referenced by estimate(), lfeat::Ransac::filter(), Homography(), lfeat::operator<<(), and transformPoint().
| int lfeat::Homography::_nMatches |
Definition at line 66 of file Homography.h.
Referenced by allocMemory(), estimate(), freeMemory(), and ~Homography().
|
private |
Definition at line 61 of file Homography.h.
Referenced by allocMemory(), estimate(), freeMemory(), and Homography().
| double lfeat::Homography::_v1x |
Definition at line 69 of file Homography.h.
Referenced by addMatch(), lfeat::Ransac::filter(), Homography(), initMatchesNormalization(), and transformPoint().
| double lfeat::Homography::_v1y |
Definition at line 69 of file Homography.h.
Referenced by addMatch(), lfeat::Ransac::filter(), Homography(), initMatchesNormalization(), and transformPoint().
| double lfeat::Homography::_v2x |
Definition at line 69 of file Homography.h.
Referenced by addMatch(), lfeat::Ransac::filter(), Homography(), initMatchesNormalization(), and transformPoint().
| double lfeat::Homography::_v2y |
Definition at line 69 of file Homography.h.
Referenced by addMatch(), lfeat::Ransac::filter(), Homography(), initMatchesNormalization(), and transformPoint().
|
private |
Definition at line 62 of file Homography.h.
Referenced by allocMemory(), estimate(), freeMemory(), and Homography().
|
staticprivate |
Definition at line 52 of file Homography.h.
Referenced by allocMemory(), and estimate().
1.8.5