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.
|
#include <MiniPatch.h>
Public Member Functions | |
void | SampleFromImage (CVD::ImageRef irPos, CVD::BasicImage< CVD::byte > &im) |
bool | FindPatch (CVD::ImageRef &irPos, CVD::BasicImage< CVD::byte > &im, int nRange, std::vector< CVD::ImageRef > &vCorners, std::vector< int > *pvRowLUT=NULL) |
int | SSDAtPoint (CVD::BasicImage< CVD::byte > &im, const CVD::ImageRef &ir) |
Public Attributes | |
CVD::Image< CVD::byte > | mimOrigPatch |
Static Public Attributes | |
static int | mnHalfPatchSize = 4 |
static int | mnRange = 10 |
static int | mnMaxSSD = 9999 |
Definition at line 22 of file MiniPatch.h.
bool MiniPatch::FindPatch | ( | CVD::ImageRef & | irPos, |
CVD::BasicImage< CVD::byte > & | im, | ||
int | nRange, | ||
std::vector< CVD::ImageRef > & | vCorners, | ||
std::vector< int > * | pvRowLUT = NULL |
||
) |
Definition at line 34 of file MiniPatch.cpp.
void MiniPatch::SampleFromImage | ( | CVD::ImageRef | irPos, |
CVD::BasicImage< CVD::byte > & | im | ||
) |
Definition at line 85 of file MiniPatch.cpp.
|
inline |
Definition at line 7 of file MiniPatch.cpp.
CVD::Image<CVD::byte> MiniPatch::mimOrigPatch |
Definition at line 35 of file MiniPatch.h.
|
static |
Definition at line 32 of file MiniPatch.h.
|
static |
Definition at line 34 of file MiniPatch.h.
|
static |
Definition at line 33 of file MiniPatch.h.