SLAMflex SE  0.1.0
SLAMflex provides detection and tracking of dominant planes for smartphone devices. This plane can then be used to show AR content relative to the plane orientation. The detection of plane is performed in the field of view of the smartphone camera. In subsequent frames it is tracked. The interface returns the plane position and orientation.
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
HomographyInit Class Reference

#include <HomographyInit.h>

Public Member Functions

bool Compute (std::vector< HomographyMatch > vMatches, double dMaxPixelError, SE3<> &se3SecondCameraPose)
 

Protected Member Functions

Matrix< 3 > HomographyFromMatches (std::vector< HomographyMatch > vMatches)
 
void BestHomographyFromMatches_MLESAC ()
 
void DecomposeHomography ()
 
void ChooseBestDecomposition ()
 
void RefineHomographyWithInliers ()
 
bool IsHomographyInlier (Matrix< 3 > m3Homography, HomographyMatch match)
 
double MLESACScore (Matrix< 3 > m3Homography, HomographyMatch match)
 

Protected Attributes

double mdMaxPixelErrorSquared
 
Matrix< 3 > mm3BestHomography
 
std::vector< HomographyMatchmvMatches
 
std::vector< HomographyMatchmvHomographyInliers
 
std::vector< HomographyDecompositionmvDecompositions
 

Detailed Description

Definition at line 44 of file HomographyInit.h.

Member Function Documentation

void HomographyInit::BestHomographyFromMatches_MLESAC ( )
protected

Definition at line 179 of file HomographyInit.cpp.

void HomographyInit::ChooseBestDecomposition ( )
protected

Definition at line 363 of file HomographyInit.cpp.

bool HomographyInit::Compute ( std::vector< HomographyMatch vMatches,
double  dMaxPixelError,
SE3<> &  se3SecondCameraPose 
)

Definition at line 33 of file HomographyInit.cpp.

void HomographyInit::DecomposeHomography ( )
protected

Definition at line 232 of file HomographyInit.cpp.

Matrix< 3 > HomographyInit::HomographyFromMatches ( std::vector< HomographyMatch vMatches)
protected

Definition at line 63 of file HomographyInit.cpp.

bool HomographyInit::IsHomographyInlier ( Matrix< 3 >  m3Homography,
HomographyMatch  match 
)
protected

Definition at line 12 of file HomographyInit.cpp.

double HomographyInit::MLESACScore ( Matrix< 3 >  m3Homography,
HomographyMatch  match 
)
protected

Definition at line 21 of file HomographyInit.cpp.

void HomographyInit::RefineHomographyWithInliers ( )
protected

Definition at line 119 of file HomographyInit.cpp.

Member Data Documentation

double HomographyInit::mdMaxPixelErrorSquared
protected

Definition at line 58 of file HomographyInit.h.

Matrix<3> HomographyInit::mm3BestHomography
protected

Definition at line 59 of file HomographyInit.h.

std::vector<HomographyDecomposition> HomographyInit::mvDecompositions
protected

Definition at line 62 of file HomographyInit.h.

std::vector<HomographyMatch> HomographyInit::mvHomographyInliers
protected

Definition at line 61 of file HomographyInit.h.

std::vector<HomographyMatch> HomographyInit::mvMatches
protected

Definition at line 60 of file HomographyInit.h.


The documentation for this class was generated from the following files: