ARX  1.0
The next-generation open source augmented reality toolkit.
Loading...
Searching...
No Matches
kpmPrivate.h
Go to the documentation of this file.
1/*
2 * kpmPrivate.h
3 * artoolkitX
4 *
5 * This file is part of artoolkitX.
6 *
7 * artoolkitX is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * artoolkitX is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with artoolkitX. If not, see <http://www.gnu.org/licenses/>.
19 *
20 * As a special exception, the copyright holders of this library give you
21 * permission to link this library with independent modules to produce an
22 * executable, regardless of the license terms of these independent modules, and to
23 * copy and distribute the resulting executable under terms of your choice,
24 * provided that you also meet, for each linked independent module, the terms and
25 * conditions of the license of that module. An independent module is a module
26 * which is neither derived from nor based on this library. If you modify this
27 * library, you may extend this exception to your version of the library, but you
28 * are not obligated to do so. If you do not wish to do so, delete this exception
29 * statement from your version.
30 *
31 * Copyright 2015 Daqri, LLC. All rights reserved.
32 * Author(s): Philip Lamb
33 *
34 */
35
36#ifndef __kpmPrivate_h__
37#define __kpmPrivate_h__
38
39#if BINARY_FEATURE
40#include <facade/visual_database_facade.h>
41#else
42#include <ARX/KPM/surfSub.h>
43#endif
44#define DB_IMAGE_MAX 1024
45#if !BINARY_FEATURE
46typedef struct {
47 SurfSubSkipRegion *region;
51
52typedef struct {
53 void *ann;
55 int pageID;
58#endif
59
60struct _KpmHandle {
61#if !BINARY_FEATURE
62 SurfSubHandleT *surfHandle;
63 void *ann2;
64#else
65 vision::VisualDatabaseFacade *freakMatcher;
66#endif
67
73#if !BINARY_FEATURE
75#endif
76
79#if !BINARY_FEATURE
80 KpmMatchResult preRANSAC;
81 KpmMatchResult aftRANSAC;
82#endif
83
84#if !BINARY_FEATURE
86#endif
87
91};
92
93#endif // !__kpmPrivate_h__
KPM_PROC_MODE
Definition: kpm.h:76
#define DB_IMAGE_MAX
Definition: kpmPrivate.h:44
Definition: kpmPrivate.h:60
SurfSubHandleT * surfHandle
Definition: kpmPrivate.h:62
int ysize
Definition: kpmPrivate.h:70
KpmResult * result
Definition: kpmPrivate.h:88
KPM_PROC_MODE procMode
Definition: kpmPrivate.h:71
ARParamLT * cparamLT
Definition: kpmPrivate.h:68
void * ann2
Definition: kpmPrivate.h:63
int pageIDs[DB_IMAGE_MAX]
Definition: kpmPrivate.h:90
KpmSkipRegionSet skipRegion
Definition: kpmPrivate.h:85
int surfThreadNum
Definition: kpmPrivate.h:74
KpmRefDataSet refDataSet
Definition: kpmPrivate.h:77
KpmMatchResult preRANSAC
Definition: kpmPrivate.h:80
int xsize
Definition: kpmPrivate.h:70
KpmMatchResult aftRANSAC
Definition: kpmPrivate.h:81
int detectedMaxFeature
Definition: kpmPrivate.h:72
int poseMode
Definition: kpmPrivate.h:69
KpmInputDataSet inDataSet
Definition: kpmPrivate.h:78
int resultNum
Definition: kpmPrivate.h:89
Structure holding camera parameters, in lookup table form.
Definition: param.h:151
Definition: kpmPrivate.h:52
int * annCoordIndex
Definition: kpmPrivate.h:54
void * ann
Definition: kpmPrivate.h:53
int imageID
Definition: kpmPrivate.h:56
int pageID
Definition: kpmPrivate.h:55
Definition: kpm.h:148
Definition: kpm.h:131
Definition: kpm.h:165
Definition: kpmPrivate.h:46
int regionNum
Definition: kpmPrivate.h:48
int regionMax
Definition: kpmPrivate.h:49
SurfSubSkipRegion * region
Definition: kpmPrivate.h:47