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 | Public Attributes | Static Public Attributes | List of all members
MiniPatch Struct Reference

#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::bytemimOrigPatch
 

Static Public Attributes

static int mnHalfPatchSize = 4
 
static int mnRange = 10
 
static int mnMaxSSD = 9999
 

Detailed Description

Definition at line 22 of file MiniPatch.h.

Member Function Documentation

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.

int MiniPatch::SSDAtPoint ( CVD::BasicImage< CVD::byte > &  im,
const CVD::ImageRef ir 
)
inline

Definition at line 7 of file MiniPatch.cpp.

Member Data Documentation

CVD::Image<CVD::byte> MiniPatch::mimOrigPatch

Definition at line 35 of file MiniPatch.h.

int MiniPatch::mnHalfPatchSize = 4
static

Definition at line 32 of file MiniPatch.h.

int MiniPatch::mnMaxSSD = 9999
static

Definition at line 34 of file MiniPatch.h.

int MiniPatch::mnRange = 10
static

Definition at line 33 of file MiniPatch.h.


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