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 <QR_Lapack.h>
Public Member Functions | |
template<int R, int C, class P , class B > | |
QR_Lapack (const Matrix< R, C, P, B > &m, bool p=0) | |
const Matrix< Rows, Cols, Precision, ColMajor > & | get_R () |
Return R. More... | |
const Matrix< square_Size, square_Size, Precision, ColMajor > & | get_Q () |
Return Q. More... | |
const Vector< Cols, int > & | get_P () |
Private Member Functions | |
void | compute () |
int | square_size () |
Private Attributes | |
Matrix< Rows, Cols, Precision, ColMajor > | copy |
Vector< square_Size, Precision > | tau |
Matrix< square_Size, square_Size, Precision, ColMajor > | Q |
bool | do_pivoting |
Vector< Cols, int > | pivot |
Static Private Attributes | |
static const int | square_Size = (Rows>=0 && Cols>=0)?(Rows<Cols?Rows:Cols):Dynamic |
Performs QR decomposition.
The QR decomposition operates on a matrix A. It can be performed with or without column pivoting. In general:
Where is a permutation matrix constructed to permute the columns of A. In practise, is stored as a vector of integer elements.
With column pivoting, the elements of the leading diagonal of will be sorted from largest in magnitude to smallest in magnitude.
Definition at line 31 of file QR_Lapack.h.
|
inline |
Construct the QR decomposition of a matrix. This initialises the class, and performs the decomposition immediately.
m | The matrix to decompose |
p | Whether or not to perform pivoting |
Definition at line 42 of file QR_Lapack.h.
|
inlineprivate |
Definition at line 72 of file QR_Lapack.h.
|
inline |
Return the permutation vector. The definition is that column of A is column of .
Definition at line 65 of file QR_Lapack.h.
|
inline |
Return Q.
Definition at line 58 of file QR_Lapack.h.
|
inline |
Return R.
Definition at line 52 of file QR_Lapack.h.
|
inlineprivate |
Definition at line 139 of file QR_Lapack.h.
|
private |
Definition at line 132 of file QR_Lapack.h.
|
private |
Definition at line 135 of file QR_Lapack.h.
|
private |
Definition at line 136 of file QR_Lapack.h.
|
private |
Definition at line 134 of file QR_Lapack.h.
|
staticprivate |
Definition at line 34 of file QR_Lapack.h.
|
private |
Definition at line 133 of file QR_Lapack.h.