Classes | Functions
arMulti.h File Reference
#include <stdio.h>
#include <AR/config.h>
#include <AR/param.h>
#include <AR/ar.h>
Include dependency graph for backup/include/AR/arMulti.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ARMultiEachMarkerInfoT
 multi-marker structure More...
struct  ARMultiMarkerInfoT
 global multi-marker structure More...

Functions

int arMultiActivate (ARMultiMarkerInfoT *config)
 activate a multi-marker pattern on the recognition procedure.
int arMultiDeactivate (ARMultiMarkerInfoT *config)
 Desactivate a multi-marker pattern on the recognition procedure.
int arMultiFreeConfig (ARMultiMarkerInfoT *config)
 remove a multi-marker pattern from memory.
double arMultiGetTransMat (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
 compute camera position in function of the multi-marker patterns (based on detected markers)
ARMultiMarkerInfoTarMultiReadConfigFile (const char *filename)
 loading multi-markers description from a file
double arsMultiGetTransMat (ARMarkerInfo *marker_infoL, int marker_numL, ARMarkerInfo *marker_infoR, int marker_numR, ARMultiMarkerInfoT *config)

Function Documentation

activate a multi-marker pattern on the recognition procedure.

Activate a multi-marker for be checking during the template matching operation.

Parameters:
configpointer to the multi-marker
Returns:
0 if success, -1 if error

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

Desactivate a multi-marker pattern on the recognition procedure.

Desactivate a multi-marker for not be checking during the template matching operation.

Parameters:
configpointer to the multi-marker
Returns:
0 if success, -1 if error

Definition at line 31 of file lib/SRC/ARMulti/arMultiActivate.c.

remove a multi-marker pattern from memory.

desactivate a pattern and remove it from memory. Post-condition of this function is unavailability of the multi-marker pattern.

Parameters:
configpointer to the multi-marker
Returns:
0 if success, -1 if error

Definition at line 44 of file lib/SRC/ARMulti/arMultiActivate.c.

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 lib/SRC/ARMulti/arMultiGetTransMat.c.

ARMultiMarkerInfoT* arMultiReadConfigFile ( const char *  filename)

loading multi-markers description from a file

Load a configuration file for multi-markers tracking. The configuration file furnishs pointer to each pattern description.

Parameters:
filenamename of the pattern file
Returns:
a pattern structure, NULL if error

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

double arsMultiGetTransMat ( ARMarkerInfo marker_infoL,
int  marker_numL,
ARMarkerInfo marker_infoR,
int  marker_numR,
ARMultiMarkerInfoT config 
)
 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