![]() |
ARX
1.2.0
The next-generation open source augmented reality toolkit.
|
#include <ARX/AR/ar.h>#include <ARX/AR2/config.h>#include <ARX/AR2/imageSet.h>#include <ARX/AR2/featureSet.h>Go to the source code of this file.
Classes | |
| struct | AR2TemplateT |
| struct | AR2TemplateCandidateT |
Macros | |
| #define | AR2_TEMPLATE_NULL_PIXEL 0x1000 |
Functions | |
| AR_EXTERN AR2TemplateT * | ar2GenTemplate (int ts1, int ts2) |
| AR_EXTERN int | ar2FreeTemplate (AR2TemplateT *templ) |
| AR_EXTERN int | ar2SetTemplateSub (const ARParamLT *cparamLT, const float trans[3][4], AR2ImageSetT *imageSet, AR2FeaturePointsT *featurePoints, int num, AR2TemplateT *templ) |
| AR_EXTERN int | ar2GetBestMatching (ARUint8 *img, ARUint8 *mfImage, int xsize, int ysize, AR_PIXEL_FORMAT pixFormat, AR2TemplateT *mtemp, int rx, int ry, int search[3][2], int *bx, int *by, float *val) |
| Get best match for a candidate feature template. | |
| AR_EXTERN int | ar2GetBestMatching2 (void) |
| AR_EXTERN int | ar2GetResolution (const ARParamLT *cparamLT, const float trans[3][4], const float pos[2], float dpi[2]) |
| AR_EXTERN int | ar2GetResolution2 (const ARParam *cparam, const float trans[3][4], const float pos[2], float dpi[2]) |
| AR_EXTERN int | ar2SelectTemplate (AR2TemplateCandidateT *candidate, AR2TemplateCandidateT *prevFeature, int num, float pos[4][2], int xsize, int ysize) |
| #define AR2_TEMPLATE_NULL_PIXEL 0x1000 |
| AR_EXTERN int ar2FreeTemplate | ( | AR2TemplateT * | templ | ) |
| AR_EXTERN AR2TemplateT * ar2GenTemplate | ( | int | ts1, |
| int | ts2 ) |
| AR_EXTERN int ar2GetBestMatching | ( | ARUint8 * | img, |
| ARUint8 * | mfImage, | ||
| int | xsize, | ||
| int | ysize, | ||
| AR_PIXEL_FORMAT | pixFormat, | ||
| AR2TemplateT * | mtemp, | ||
| int | rx, | ||
| int | ry, | ||
| int | search[3][2], | ||
| int * | bx, | ||
| int * | by, | ||
| float * | val ) |
Get best match for a candidate feature template.
| img | Incoming image to match against. |
| mfImage | Buffer same size as img, to provide working memory for status of matched features. |
| xsize | Horizontal size of img and mfImage. |
| ysize | Vertical size of img and mfImage. |
| pixFormat | Pixel format of img. |
| mtemp | Template undergoing matching. |
| rx | search radius in x dimension. |
| ry | search radius in y dimension. |
| search | screen coordinates (second dimension is x and y) for up to three previous positions of this feature. |
| bx | On return, x position of best candidate. |
| by | On return, y position of best candidate. |
| val | On return, the quality of the match of the best candidate. |
| AR_EXTERN int ar2GetBestMatching2 | ( | void | ) |
| AR_EXTERN int ar2GetResolution | ( | const ARParamLT * | cparamLT, |
| const float | trans[3][4], | ||
| const float | pos[2], | ||
| float | dpi[2] ) |
| AR_EXTERN int ar2GetResolution2 | ( | const ARParam * | cparam, |
| const float | trans[3][4], | ||
| const float | pos[2], | ||
| float | dpi[2] ) |
| AR_EXTERN int ar2SelectTemplate | ( | AR2TemplateCandidateT * | candidate, |
| AR2TemplateCandidateT * | prevFeature, | ||
| int | num, | ||
| float | pos[4][2], | ||
| int | xsize, | ||
| int | ysize ) |
| AR_EXTERN int ar2SetTemplateSub | ( | const ARParamLT * | cparamLT, |
| const float | trans[3][4], | ||
| AR2ImageSetT * | imageSet, | ||
| AR2FeaturePointsT * | featurePoints, | ||
| int | num, | ||
| AR2TemplateT * | templ ) |
1.18.0