Classes | Defines | Functions
arMultiGetTransMat.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <AR/ar.h>
#include <AR/matrix.h>
#include <AR/arMulti.h>
Include dependency graph for backup/lib/SRC/ARMulti/arMultiGetTransMat.c:

Go to the source code of this file.

Classes

struct  arMultiEachMarkerInternalInfoT

Defines

#define AR_MULTI_GET_TRANS_MAT_MAX_FIT_ERROR   10.0
#define AR_MULTI_GET_TRANS_MAT_MAX_LOOP_COUNT   2
#define debug   0
#define THRESH_1   2.0
#define THRESH_2   20.0
#define THRESH_3   10.0

Functions

double arMultiGetTransMat (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
 compute camera position in function of the multi-marker patterns (based on detected markers)
static int verify_markers (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)

Define Documentation

Definition at line 24 of file backup/lib/SRC/ARMulti/arMultiGetTransMat.c.

Definition at line 23 of file backup/lib/SRC/ARMulti/arMultiGetTransMat.c.

#define debug   0

Definition at line 18 of file backup/lib/SRC/ARMulti/arMultiGetTransMat.c.

#define THRESH_1   2.0

Definition at line 20 of file backup/lib/SRC/ARMulti/arMultiGetTransMat.c.

#define THRESH_2   20.0

Definition at line 21 of file backup/lib/SRC/ARMulti/arMultiGetTransMat.c.

#define THRESH_3   10.0

Definition at line 22 of file backup/lib/SRC/ARMulti/arMultiGetTransMat.c.


Function Documentation

double arMultiGetTransMat ( ARMarkerInfo marker_info,
int  marker_num,
ARMultiMarkerInfoT config 
)

compute camera position in function of the multi-marker patterns (based on detected markers)

calculate the transformation between the multi-marker patterns and the real camera. Based on confident values of detected markers in the multi-markers patterns, a global position is return.

Parameters:
marker_infolist of detected markers (from arDetectMarker)
marker_numnumber of detected markers
config
Returns:

Definition at line 38 of file backup/lib/SRC/ARMulti/arMultiGetTransMat.c.

static int verify_markers ( ARMarkerInfo marker_info,
int  marker_num,
ARMultiMarkerInfoT config 
) [static]

Definition at line 179 of file backup/lib/SRC/ARMulti/arMultiGetTransMat.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ar_recog
Author(s): Graylin Trevor Jay and Christopher Crick
autogenerated on Fri Jan 25 2013 12:15:00