#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <AR/ar.h>
#include <AR/matrix.h>
#include <AR/arMulti.h>
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 AR_MULTI_GET_TRANS_MAT_MAX_FIT_ERROR 10.0 |
Definition at line 24 of file arMultiGetTransMat.c.
#define AR_MULTI_GET_TRANS_MAT_MAX_LOOP_COUNT 2 |
Definition at line 23 of file arMultiGetTransMat.c.
#define debug 0 |
Definition at line 18 of file arMultiGetTransMat.c.
#define THRESH_1 2.0 |
Definition at line 20 of file arMultiGetTransMat.c.
#define THRESH_2 20.0 |
Definition at line 21 of file arMultiGetTransMat.c.
#define THRESH_3 10.0 |
Definition at line 22 of file arMultiGetTransMat.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.
marker_info | list of detected markers (from arDetectMarker) | |
marker_num | number of detected markers | |
config |
Definition at line 38 of file arMultiGetTransMat.c.
static int verify_markers | ( | ARMarkerInfo * | marker_info, | |
int | marker_num, | |||
ARMultiMarkerInfoT * | config | |||
) | [static] |
Definition at line 179 of file arMultiGetTransMat.c.