Find a homography between matched keypoints using opencv. More...
#include <CvHomography.h>
Public Member Functions | |
bool | computeHomography () |
CvHomography (std::vector< KeyPoint > *keyPoints1, std::vector< KeyPoint > *keyPoints2, std::list< KeyPointMatch > &matches) | |
Finds the homography from keyPoints2 to keyPoints1. | |
void | eliminateBadMatches () |
Homography | getHomography () |
std::list< KeyPointMatch > | getMatches () |
~CvHomography () | |
The destructor. | |
Private Attributes | |
Homography | m_Homography |
std::vector< KeyPoint > * | m_KeyPoints1 |
std::vector< KeyPoint > * | m_KeyPoints2 |
std::list< KeyPointMatch > | m_Matches |
int | m_MaxReprojectionError |
bool | m_Success |
Find a homography between matched keypoints using opencv.
Definition at line 23 of file CvHomography.h.
CvHomography::CvHomography | ( | std::vector< KeyPoint > * | keyPoints1, |
std::vector< KeyPoint > * | keyPoints2, | ||
std::list< KeyPointMatch > & | matches | ||
) |
Finds the homography from keyPoints2 to keyPoints1.
The destructor.
bool CvHomography::computeHomography | ( | ) |
void CvHomography::eliminateBadMatches | ( | ) |
Homography CvHomography::getHomography | ( | ) | [inline] |
Definition at line 40 of file CvHomography.h.
std::list< KeyPointMatch > CvHomography::getMatches | ( | ) | [inline] |
Definition at line 38 of file CvHomography.h.
Homography CvHomography::m_Homography [private] |
Definition at line 44 of file CvHomography.h.
std::vector< KeyPoint >* CvHomography::m_KeyPoints1 [private] |
Definition at line 46 of file CvHomography.h.
std::vector< KeyPoint >* CvHomography::m_KeyPoints2 [private] |
Definition at line 47 of file CvHomography.h.
std::list< KeyPointMatch > CvHomography::m_Matches [private] |
Definition at line 49 of file CvHomography.h.
int CvHomography::m_MaxReprojectionError [private] |
Definition at line 53 of file CvHomography.h.
bool CvHomography::m_Success [private] |
Definition at line 51 of file CvHomography.h.