Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS > Class Template Reference

TrackerMultiMarkerImpl implements the TrackerMultiMarker interface. More...

#include <TrackerMultiMarkerImpl.h>

Inheritance diagram for ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >:
Inheritance graph
[legend]

Public Member Functions

void activateAutoThreshold (bool nEnable)
 Turns automatic threshold calculation on/off. More...
 
void activateBinaryMarker (int nThreshold)
 activates binary markers More...
 
void activateVignettingCompensation (bool nEnable, int nCorners=0, int nLeftRight=0, int nTopBottom=0)
 activates the complensation of brightness falloff in the corners of the camera image More...
 
int arDetectMarker (ARUint8 *dataPtr, int thresh, ARMarkerInfo **marker_info, int *marker_num)
 marker detection using tracking history More...
 
int arDetectMarkerLite (ARUint8 *dataPtr, int thresh, ARMarkerInfo **marker_info, int *marker_num)
 marker detection without using tracking history More...
 
int arFreePatt (int patno)
 frees a pattern from memory More...
 
ARFloat arGetTransMat (ARMarkerInfo *marker_info, ARFloat center[2], ARFloat width, ARFloat conv[3][4])
 calculates the transformation matrix between camera and the given marker More...
 
ARFloat arGetTransMatCont (ARMarkerInfo *marker_info, ARFloat prev_conv[3][4], ARFloat center[2], ARFloat width, ARFloat conv[3][4])
 
int arLoadPatt (char *filename)
 loads a pattern from a file More...
 
int arMultiFreeConfig (ARMultiMarkerInfoT *config)
 frees a multimarker config from memory More...
 
ARFloat arMultiGetTransMat (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
 calculates the transformation matrix between camera and the given multi-marker config More...
 
ARMultiMarkerInfoTarMultiReadConfigFile (const char *filename)
 reads a standard artoolkit multimarker config file More...
 
virtual int calc (const unsigned char *nImage)
 calculates the transformation matrix More...
 
ARFloat calcOpenGLMatrixFromMarker (ARMarkerInfo *nMarkerInfo, ARFloat nPatternCenter[2], ARFloat nPatternSize, ARFloat *nOpenGLMatrix)
 Calculates the OpenGL transformation matrix for a specific marker info. More...
 
void changeCameraSize (int nWidth, int nHeight)
 Changes the resolution of the camera after the camerafile was already loaded. More...
 
void cleanup ()
 does final clean up (memory deallocation) More...
 
ARFloat executeMultiMarkerPoseEstimator (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
 Calls the pose estimator set with setPoseEstimator() for multi marker tracking. More...
 
ARFloat executeSingleMarkerPoseEstimator (ARMarkerInfo *marker_info, ARFloat center[2], ARFloat width, ARFloat conv[3][4])
 Calls the pose estimator set with setPoseEstimator() for single marker tracking. More...
 
virtual void getARMatrix (ARFloat nMatrix[3][4]) const
 Provides access to ARToolKit' internal version of the transformation matrix. More...
 
int getBitsPerPixel () const
 Returns the numbber of bits per pixel for the compiled-in pixel format. More...
 
CameragetCamera ()
 Returns the current camera. More...
 
const char * getDescription ()
 Returns a short description with compiled-in settings. More...
 
virtual const ARMarkerInfogetDetectedMarker (int nWhich) const
 Returns the ARMarkerInfo object for a found marker. More...
 
virtual void getDetectedMarkers (int *&nMarkerIDs)
 Returns array of detected marker IDs. More...
 
const ARFloatgetModelViewMatrix () const
 Returns an opengl-style modelview transformation matrix. More...
 
virtual const ARMultiMarkerInfoTgetMultiMarkerConfig () const
 Returns the loaded ARMultiMarkerInfoT object. More...
 
virtual int getNumDetectedMarkers () const
 Returns the number of detected markers used for multi-marker tracking. More...
 
int getNumLoadablePatterns () const
 Returns the maximum number of patterns that can be loaded. More...
 
PIXEL_FORMAT getPixelFormat () const
 Returns the compiled-in pixel format. More...
 
ProfilergetProfiler ()
 Returns the internal profiler object. More...
 
const ARFloatgetProjectionMatrix () const
 Returns an opengl-style projection transformation matrix. More...
 
int getThreshold () const
 Returns the current threshold value. More...
 
virtual bool init (const char *nCamParamFile, const char *nMultiFile, ARFloat nNearClip, ARFloat nFarClip, ARToolKitPlus::Logger *nLogger=NULL)
 
virtual bool init (Camera *camera, const char *nMultiFile, ARFloat nNearClip, ARFloat nFarClip, ARToolKitPlus::Logger *nLogger=NULL)
 
bool isAutoThresholdActivated () const
 Returns true if automatic threshold detection is enabled. More...
 
bool loadCameraFile (const char *nCamParamFile, ARFloat nNearClip, ARFloat nFarClip)
 Loads a camera calibration file and stores data internally. More...
 
ARFloat rppGetTransMat (ARMarkerInfo *marker_info, ARFloat center[2], ARFloat width, ARFloat conv[3][4])
 
ARFloat rppMultiGetTransMat (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
 
void setBorderWidth (ARFloat nFraction)
 Sets a new relative border width. ARToolKit's default value is 0.25. More...
 
void setCamera (Camera *nCamera)
 Sets a new camera without specifying new near and far clip values. More...
 
void setCamera (Camera *nCamera, ARFloat nNearClip, ARFloat nFarClip)
 Sets a new camera including specifying new near and far clip values. More...
 
void setImageProcessingMode (IMAGE_PROC_MODE nMode)
 Sets an image processing mode (half or full resolution) More...
 
void setLoadUndistLUT (bool nSet)
 Set to true to try loading camera undistortion table from a cache file. More...
 
void setLogger (ARToolKitPlus::Logger *nLogger)
 sets an instance which implements the ARToolKit::Logger interface More...
 
void setMarkerMode (MARKER_MODE nMarkerMode)
 Activate the usage of id-based markers rather than template based markers. More...
 
void setNumAutoThresholdRetries (int nNumRetries)
 Sets the number of times the threshold is randomized in case no marker was visible (Minimum: 1, Default: 2) More...
 
bool setPixelFormat (PIXEL_FORMAT nFormat)
 Sets the pixel format of the camera image. More...
 
bool setPoseEstimator (POSE_ESTIMATOR nMethod)
 Changes the Pose Estimation Algorithm. More...
 
void setThreshold (int nValue)
 Sets the threshold value that is used for black/white conversion. More...
 
void setUndistortionMode (UNDIST_MODE nMode)
 Changes the undistortion mode. More...
 
virtual void setUseDetectLite (bool nEnable)
 Enables usage of arDetectMarkerLite. Otherwise arDetectMarker is used. More...
 
 TrackerMultiMarkerImpl (int nWidth=320, int nHeight=240)
 
 ~TrackerMultiMarkerImpl ()
 
- Public Member Functions inherited from ARToolKitPlus::TrackerMultiMarker
virtual ~TrackerMultiMarker ()
 
- Public Member Functions inherited from ARToolKitPlus::Tracker
virtual ~Tracker ()
 

Static Public Member Functions

static size_t getMemoryRequirements ()
 
static void operator delete (void *rawMemory)
 
static void * operator new (size_t size)
 

Protected Attributes

ARMultiMarkerInfoTconfig
 
int detectedMarkerIDs [AR_TEMPL_TRACKER::MAX_IMAGE_PATTERNS]
 
ARMarkerInfo detectedMarkers [AR_TEMPL_TRACKER::MAX_IMAGE_PATTERNS]
 
int numDetected
 
bool useDetectLite
 
- Protected Attributes inherited from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >
CameraarCamera
 
int arFittingMode
 
int arGetContour_wx [AR_CHAIN_MAX]
 
int arGetContour_wy [AR_CHAIN_MAX]
 
ARUint8arImageL
 
int arImageProcMode
 
int arImXsize
 
int arImYsize
 
int arMatchingPCAMode
 
ARPARAM_UNDIST_FUNC arParamObserv2Ideal_func
 
int arTemplateMatchingMode
 
struct ARToolKitPlus::TrackerImpl::AutoThreshold autoThreshold
 
BCHbchProcessor
 
int binaryMarkerThreshold
 
ARParam cparam
 
char * descriptionString
 
ARFloat epat [MAX_LOAD_PATTERNS][4][EVEC_MAX]
 
ARFloat epatBW [MAX_LOAD_PATTERNS][4][EVEC_MAX]
 
ARFloat evec [EVEC_MAX][PATTERN_HEIGHT *PATTERN_WIDTH *3]
 
int evec_dim
 
int evec_dimBW
 
ARFloat evecBW [EVEC_MAX][PATTERN_HEIGHT *PATTERN_WIDTH *3]
 
int evecBWf
 
int evecf
 
ARFloat gl_cpara [16]
 
ARFloat gl_para [16]
 
ARInt16l_imageL
 
int l_imageL_size
 
ARInt16l_imageR
 
bool loadCachedUndist
 
ARToolKitPlus::Loggerlogger
 
ARMarkerInfo2marker_info2
 
ARMarkerInfo marker_infoL [MAX_IMAGE_PATTERNS]
 
ARMarkerInfo2marker_infoTWO
 
MARKER_MODE markerMode
 
int pat [MAX_LOAD_PATTERNS][4][PATTERN_HEIGHT *PATTERN_WIDTH *3]
 
int patBW [MAX_LOAD_PATTERNS][4][PATTERN_HEIGHT *PATTERN_WIDTH *3]
 
int patf [MAX_LOAD_PATTERNS]
 
ARFloat patpow [MAX_LOAD_PATTERNS][4]
 
ARFloat patpowBW [MAX_LOAD_PATTERNS][4]
 
int pattern_num
 
PIXEL_FORMAT pixelFormat
 
int pixelSize
 
ARFloat pos2d [P_MAX][2]
 
ARFloat pos3d [P_MAX][3]
 
POSE_ESTIMATOR poseEstimator
 
arPrevInfo prev_info [MAX_IMAGE_PATTERNS]
 
int prev_num
 
Profiler profiler
 
ARFloat relBorderWidth
 
unsigned char * RGB565_to_LUM8_LUT
 
int screenHeight
 
int screenWidth
 
arPrevInfo sprev_info [2][MAX_IMAGE_PATTERNS]
 
int sprev_num [2]
 
int thresh
 
UNDIST_MODE undistMode
 
unsigned int * undistO2ITable
 
struct {
   int   bottomtop
 
   int   corners
 
   bool   enabled
 
   int   leftright
 
vignetting
 
int * wareaL
 
int * wareaR
 
int * wclipL
 
int * wclipR
 
int wlabel_numL
 
int wlabel_numR
 
ARMarkerInfowmarker_info
 
int wmarker_num
 
int * work2L
 
int * work2R
 
int * workL
 
int * workR
 
ARFloatwposL
 
ARFloatwposR
 

Additional Inherited Members

- Protected Types inherited from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >
typedef int(TrackerImpl::* ARPARAM_UNDIST_FUNC) (Camera *pCam, ARFloat ox, ARFloat oy, ARFloat *ix, ARFloat *iy)
 
typedef ARFloat(TrackerImpl::* MULTI_POSE_ESTIMATOR_FUNC) (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
 
typedef ARFloat(TrackerImpl::* POSE_ESTIMATOR_FUNC) (ARMarkerInfo *marker_info, ARFloat center[2], ARFloat width, ARFloat conv[3][4])
 
enum  {
  PATTERN_WIDTH = __PATTERN_SIZE_X, PATTERN_HEIGHT = __PATTERN_SIZE_Y, PATTERN_SAMPLE_NUM = __PATTERN_SAMPLE_NUM, MAX_LOAD_PATTERNS = __MAX_LOAD_PATTERNS,
  MAX_IMAGE_PATTERNS = __MAX_IMAGE_PATTERNS, WORK_SIZE = 1024*MAX_IMAGE_PATTERNS, LUM_TABLE_SIZE = 0xffff + 1
}
 
- Protected Member Functions inherited from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >
int arActivatePatt (int patno)
 
int arDeactivatePatt (int patno)
 
ARMarkerInfo2arDetectMarker2 (ARInt16 *limage, int label_num, int *label_ref, int *warea, ARFloat *wpos, int *wclip, int area_max, int area_min, ARFloat factor, int *marker_num)
 
int arGetAngle (ARFloat rot[3][3], ARFloat *wa, ARFloat *wb, ARFloat *wc)
 
int arGetCode (ARUint8 *image, int *x_coord, int *y_coord, int *vertex, int *code, int *dir, ARFloat *cf, int thresh)
 
int arGetContour (ARInt16 *limage, int *label_ref, int label, int clip[4], ARMarkerInfo2 *marker_infoTWO)
 
int arGetInitRot (ARMarkerInfo *marker_info, ARFloat cpara[3][4], ARFloat rot[3][3])
 
int arGetLine (int x_coord[], int y_coord[], int coord_num, int vertex[], ARFloat line[4][3], ARFloat v[4][2])
 
int arGetLine2 (int x_coord[], int y_coord[], int coord_num, int vertex[], ARFloat line[4][3], ARFloat v[4][2], Camera *pCam)
 
ARMarkerInfoarGetMarkerInfo (ARUint8 *image, ARMarkerInfo2 *marker_info2, int *marker_num, int thresh)
 
int arGetNewMatrix (ARFloat a, ARFloat b, ARFloat c, ARFloat trans[3], ARFloat trans2[3][4], ARFloat cpara[3][4], ARFloat ret[3][4])
 
int arGetPatt (ARUint8 *image, int *x_coord, int *y_coord, int *vertex, ARUint8 ext_pat[PATTERN_HEIGHT][PATTERN_WIDTH][3])
 
int arGetRot (ARFloat a, ARFloat b, ARFloat c, ARFloat rot[3][3])
 
ARFloat arGetTransMat2 (ARFloat rot[3][3], ARFloat ppos2d[][2], ARFloat ppos3d[][2], int num, ARFloat conv[3][4])
 
ARFloat arGetTransMat4 (ARFloat rot[3][3], ARFloat ppos2d[][2], ARFloat ppos3d[][3], int num, ARFloat conv[3][4])
 
ARFloat arGetTransMat5 (ARFloat rot[3][3], ARFloat ppos2d[][2], ARFloat ppos3d[][3], int num, ARFloat conv[3][4], Camera *pCam)
 
ARFloat arGetTransMatCont2 (ARMarkerInfo *marker_info, ARFloat center[2], ARFloat width, ARFloat conv[3][4])
 
ARFloat arGetTransMatContSub (ARMarkerInfo *marker_info, ARFloat prev_conv[3][4], ARFloat center[2], ARFloat width, ARFloat conv[3][4])
 
ARFloat arGetTransMatSub (ARFloat rot[3][3], ARFloat ppos2d[][2], ARFloat pos3d[][3], int num, ARFloat conv[3][4], Camera *pCam)
 
int arInitCparam (Camera *pCam)
 
ARInt16arLabeling (ARUint8 *image, int thresh, int *label_num, int **area, ARFloat **pos, int **clip, int **label_ref)
 
ARInt16arLabeling_ABGR (ARUint8 *image, int thresh, int *label_num, int **area, ARFloat **pos, int **clip, int **label_ref)
 
ARInt16arLabeling_BGR (ARUint8 *image, int thresh, int *label_num, int **area, ARFloat **pos, int **clip, int **label_ref)
 
ARInt16arLabeling_LUM (ARUint8 *image, int thresh, int *label_num, int **area, ARFloat **pos, int **clip, int **label_ref)
 
ARInt16arLabeling_RGB (ARUint8 *image, int thresh, int *label_num, int **area, ARFloat **pos, int **clip, int **label_ref)
 
ARInt16arLabeling_RGB565 (ARUint8 *image, int thresh, int *label_num, int **area, ARFloat **pos, int **clip, int **label_ref)
 
ARFloat arModifyMatrix (ARFloat rot[3][3], ARFloat trans[3], ARFloat cpara[3][4], ARFloat vertex[][3], ARFloat pos2d[][2], int num)
 
ARFloat arModifyMatrix2 (ARFloat rot[3][3], ARFloat trans[3], ARFloat cpara[3][4], ARFloat vertex[][3], ARFloat pos2d[][2], int num)
 
int arMultiActivate (ARMultiMarkerInfoT *config)
 
int arMultiDeactivate (ARMultiMarkerInfoT *config)
 
int arParamIdeal2Observ_std (Camera *pCam, ARFloat ix, ARFloat iy, ARFloat *ox, ARFloat *oy)
 
int arParamObserv2Ideal_LUT (Camera *pCam, ARFloat ox, ARFloat oy, ARFloat *ix, ARFloat *iy)
 
int arParamObserv2Ideal_none (Camera *pCam, ARFloat ox, ARFloat oy, ARFloat *ix, ARFloat *iy)
 
int arParamObserv2Ideal_std (Camera *pCam, ARFloat ox, ARFloat oy, ARFloat *ix, ARFloat *iy)
 
int bitfield_check_BCH (ARUint8 *data, int *code, int *dir, ARFloat *cf, int thresh)
 
int bitfield_check_simple (ARUint8 *data, int *code, int *dir, ARFloat *cf, int thresh)
 
void buildUndistO2ITable (Camera *pCam)
 
int check_square (int area, ARMarkerInfo2 *marker_infoTWO, ARFloat factor)
 
void checkImageBuffer ()
 
bool checkPixelFormat ()
 
void checkRGB565LUT ()
 
void convertTransformationMatrixToOpenGLStyle (ARFloat para[3][4], ARFloat gl_para[16])
 
int downsamplePattern (ARUint8 *data, unsigned char *imgPtr)
 
void gen_evec (void)
 
int pattern_match (ARUint8 *data, int *code, int *dir, ARFloat *cf)
 
int verify_markers (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
 
ARFloat arGetTransMat3 (ARFloat rot[3][3], ARFloat ppos2d[][2], ARFloat ppos3d[][2], int num, ARFloat conv[3][4], Camera *pCam)
 
void setFittingMode (int nWhich)
 
 TrackerImpl ()
 
virtual ~TrackerImpl ()
 
- Static Protected Member Functions inherited from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >
static int arMatrixPCA (ARMat *input, ARMat *evec, ARVec *ev, ARVec *mean)
 
static int arMatrixPCA2 (ARMat *input, ARMat *evec, ARVec *ev)
 
static int arParamDecomp (ARParam *source, ARParam *icpara, ARFloat trans[3][4])
 
static int arParamDecompMat (ARFloat source[3][4], ARFloat cpara[3][4], ARFloat trans[3][4])
 
static int arParamLoadDouble (char *filename, int num, ARParamDouble *param,...)
 
static int arParamSaveDouble (char *filename, int num, ARParamDouble *param,...)
 
static int arUtilMatInv (ARFloat s[3][4], ARFloat d[3][4])
 
static int arUtilMatMul (ARFloat s1[3][4], ARFloat s2[3][4], ARFloat d[3][4])
 
static bool convertProjectionMatrixToOpenGLStyle (ARParam *param, ARFloat gnear, ARFloat gfar, ARFloat m[16])
 
static bool convertProjectionMatrixToOpenGLStyle2 (ARFloat cparam[3][4], int width, int height, ARFloat gnear, ARFloat gfar, ARFloat m[16])
 
static size_t getDynamicMemoryRequirements ()
 
static int arParamIdeal2Observ (Camera *pCam, ARFloat ix, ARFloat iy, ARFloat *ox, ARFloat *oy)
 
static int arParamObserv2Ideal (Camera *pCam, ARFloat ox, ARFloat oy, ARFloat *ix, ARFloat *iy)
 
static bool calcCameraMatrix (const char *nCamParamFile, int nWidth, int nHeight, ARFloat nNear, ARFloat nFar, ARFloat *nMatrix)
 Calculates the camera matrix from an ARToolKit camera file. More...
 
static void operator delete (void *rawMemory)
 
static void * operator new (size_t size)
 

Detailed Description

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
class ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >

TrackerMultiMarkerImpl implements the TrackerMultiMarker interface.

__PATTERN_SIZE_X describes the pattern image width (16 by default). __PATTERN_SIZE_Y describes the pattern image height (16 by default). __PATTERN_SAMPLE_NUM describes the maximum resolution at which a pattern is sampled from the camera image (64 by default, must a a multiple of __PATTERN_SIZE_X and __PATTERN_SIZE_Y). __MAX_LOAD_PATTERNS describes the maximum number of pattern files that can be loaded. __MAX_IMAGE_PATTERNS describes the maximum number of patterns that can be analyzed in a camera image. Reduce __MAX_LOAD_PATTERNS and __MAX_IMAGE_PATTERNS to reduce memory footprint.

Definition at line 69 of file TrackerMultiMarkerImpl.h.

Constructor & Destructor Documentation

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::TrackerMultiMarkerImpl ( int  nWidth = 320,
int  nHeight = 240 
)
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::~TrackerMultiMarkerImpl ( )

Member Function Documentation

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::activateAutoThreshold ( bool  nEnable)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::activateBinaryMarker ( int  nThreshold)
inlinevirtual

activates binary markers

markers are converted to pure black/white during loading

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 141 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::activateVignettingCompensation ( bool  nEnable,
int  nCorners = 0,
int  nLeftRight = 0,
int  nTopBottom = 0 
)
inlinevirtual

activates the complensation of brightness falloff in the corners of the camera image

some cameras have a falloff in brightness at the border of the image, which creates problems with thresholding the image. use this function to set a (linear) adapted threshold value. the threshold value will stay exactly the same at the center but will deviate near to the border. all values specify a difference, not absolute values! nCorners define the falloff a all four corners. nLeftRight defines the falloff at the half y-position at the left and right side of the image. nTopBottom defines the falloff at the half x-position at the top and bottom side of the image. all values between these 9 points (center, 4 corners, left, right, top, bottom) will be interpolated.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 143 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arDetectMarker ( ARUint8 dataPtr,
int  thresh,
ARMarkerInfo **  marker_info,
int *  marker_num 
)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arDetectMarkerLite ( ARUint8 dataPtr,
int  thresh,
ARMarkerInfo **  marker_info,
int *  marker_num 
)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arFreePatt ( int  patno)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arGetTransMat ( ARMarkerInfo marker_info,
ARFloat  center[2],
ARFloat  width,
ARFloat  conv[3][4] 
)
inlinevirtual

calculates the transformation matrix between camera and the given marker

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 133 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arGetTransMatCont ( ARMarkerInfo marker_info,
ARFloat  prev_conv[3][4],
ARFloat  center[2],
ARFloat  width,
ARFloat  conv[3][4] 
)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arLoadPatt ( char *  filename)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arMultiFreeConfig ( ARMultiMarkerInfoT config)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arMultiGetTransMat ( ARMarkerInfo marker_info,
int  marker_num,
ARMultiMarkerInfoT config 
)
inlinevirtual

calculates the transformation matrix between camera and the given multi-marker config

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 132 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARMultiMarkerInfoT* ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arMultiReadConfigFile ( const char *  filename)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::calc ( const unsigned char *  nImage)
virtual

calculates the transformation matrix

pass the image as RGBX (32-bits) in 320x240 pixels.

Implements ARToolKitPlus::TrackerMultiMarker.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::calcOpenGLMatrixFromMarker ( ARMarkerInfo nMarkerInfo,
ARFloat  nPatternCenter[2],
ARFloat  nPatternSize,
ARFloat nOpenGLMatrix 
)
inlinevirtual

Calculates the OpenGL transformation matrix for a specific marker info.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 164 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::changeCameraSize ( int  nWidth,
int  nHeight 
)
inlinevirtual

Changes the resolution of the camera after the camerafile was already loaded.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 144 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::cleanup ( )
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::executeMultiMarkerPoseEstimator ( ARMarkerInfo marker_info,
int  marker_num,
ARMultiMarkerInfoT config 
)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::executeSingleMarkerPoseEstimator ( ARMarkerInfo marker_info,
ARFloat  center[2],
ARFloat  width,
ARFloat  conv[3][4] 
)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getARMatrix ( ARFloat  nMatrix[3][4]) const
virtual

Provides access to ARToolKit' internal version of the transformation matrix.

This method is primarily for compatibility issues with code previously using ARToolKit rather than ARToolKitPlus. This is the original transformation matrix ARToolKit calculates rather than the OpenGL style version of this matrix that can be retrieved via getModelViewMatrix().

Implements ARToolKitPlus::TrackerMultiMarker.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getBitsPerPixel ( ) const
inlinevirtual

Returns the numbber of bits per pixel for the compiled-in pixel format.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 157 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
Camera* ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getCamera ( )
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
const char* ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getDescription ( )
inlinevirtual

Returns a short description with compiled-in settings.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 155 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual const ARMarkerInfo& ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getDetectedMarker ( int  nWhich) const
inlinevirtual

Returns the ARMarkerInfo object for a found marker.

Implements ARToolKitPlus::TrackerMultiMarker.

Definition at line 106 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getDetectedMarkers ( int *&  nMarkerIDs)
virtual

Returns array of detected marker IDs.

Only access the first getNumDetectedMarkers() markers

Implements ARToolKitPlus::TrackerMultiMarker.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
static size_t ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getMemoryRequirements ( )
static
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
const ARFloat* ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getModelViewMatrix ( ) const
inlinevirtual

Returns an opengl-style modelview transformation matrix.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 153 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual const ARMultiMarkerInfoT* ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getMultiMarkerConfig ( ) const
inlinevirtual

Returns the loaded ARMultiMarkerInfoT object.

If loading the multi-marker config file failed then this method returns NULL.

Implements ARToolKitPlus::TrackerMultiMarker.

Definition at line 108 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getNumDetectedMarkers ( ) const
inlinevirtual

Returns the number of detected markers used for multi-marker tracking.

Implements ARToolKitPlus::TrackerMultiMarker.

Definition at line 94 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getNumLoadablePatterns ( ) const
inlinevirtual

Returns the maximum number of patterns that can be loaded.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 158 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
PIXEL_FORMAT ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getPixelFormat ( ) const
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
Profiler& ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getProfiler ( )
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
const ARFloat* ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getProjectionMatrix ( ) const
inlinevirtual

Returns an opengl-style projection transformation matrix.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 154 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getThreshold ( ) const
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual bool ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::init ( const char *  nCamParamFile,
const char *  nMultiFile,
ARFloat  nNearClip,
ARFloat  nFarClip,
ARToolKitPlus::Logger nLogger = NULL 
)
virtual

initializes ARToolKit initializes TrackerSingleMarker nCamParamFile is the name of the camera parameter file nNearClip & nFarClip are near and far clipping values for the OpenGL projection matrix nLogger is an instance which implements the ARToolKit::Logger interface

Implements ARToolKitPlus::TrackerMultiMarker.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual bool ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::init ( Camera camera,
const char *  nMultiFile,
ARFloat  nNearClip,
ARFloat  nFarClip,
ARToolKitPlus::Logger nLogger = NULL 
)
virtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
bool ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::isAutoThresholdActivated ( ) const
inlinevirtual

Returns true if automatic threshold detection is enabled.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 151 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
bool ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::loadCameraFile ( const char *  nCamParamFile,
ARFloat  nNearClip,
ARFloat  nFarClip 
)
inlinevirtual

Loads a camera calibration file and stores data internally.

To prevent memory leaks, this method internally deletes an existing camera. If you want to use more than one camera, retrieve the existing camera using getCamera() and call setCamera(NULL); before loading another camera file. On destruction, ARToolKitPlus will only destroy the currently set camera. All other cameras have to be destroyed manually.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 127 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
static void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::operator delete ( void *  rawMemory)
static
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
static void* ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::operator new ( size_t  size)
static
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::rppGetTransMat ( ARMarkerInfo marker_info,
ARFloat  center[2],
ARFloat  width,
ARFloat  conv[3][4] 
)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::rppMultiGetTransMat ( ARMarkerInfo marker_info,
int  marker_num,
ARMultiMarkerInfoT config 
)
inlinevirtual
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setBorderWidth ( ARFloat  nFraction)
inlinevirtual

Sets a new relative border width. ARToolKit's default value is 0.25.

Take caution that the markers need of course really have thiner borders. Values other than 0.25 have not been tested for regular pattern-based matching, but only for id-encoded markers. It might be that the pattern creation process needs to be updated too.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 147 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setCamera ( Camera nCamera)
inlinevirtual

Sets a new camera without specifying new near and far clip values.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 162 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setCamera ( Camera nCamera,
ARFloat  nNearClip,
ARFloat  nFarClip 
)
inlinevirtual

Sets a new camera including specifying new near and far clip values.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 163 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setImageProcessingMode ( IMAGE_PROC_MODE  nMode)
inlinevirtual

Sets an image processing mode (half or full resolution)

Half resolution is faster but less accurate. When using full resolution smaller markers will be detected at a higher accuracy (or even detected at all).

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 159 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setLoadUndistLUT ( bool  nSet)
inlinevirtual

Set to true to try loading camera undistortion table from a cache file.

On slow platforms (e.g. Smartphone) creation of the undistortion lookup-table can take quite a while. Consequently caching will speedup the start phase. If set to true and no cache file could be found a new one will be created. The cache file will get the same name as the camera file with the added extension '.LUT'

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 128 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setLogger ( ARToolKitPlus::Logger nLogger)
inlinevirtual

sets an instance which implements the ARToolKit::Logger interface

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 129 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setMarkerMode ( MARKER_MODE  nMarkerMode)
inlinevirtual

Activate the usage of id-based markers rather than template based markers.

id-based markers directly encode the marker id in the image. see arBitFieldPattern.h for more information

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 142 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setNumAutoThresholdRetries ( int  nNumRetries)
inlinevirtual

Sets the number of times the threshold is randomized in case no marker was visible (Minimum: 1, Default: 2)

Autothreshold requires a visible marker to estime the optimal thresholding value. If no marker is visible ARToolKitPlus randomizes the thresholding value until a marker is found. This function sets the number of times ARToolKitPlus will randomize the threshold value and research for a marker per calc() invokation until it gives up. A value of 2 means that ARToolKitPlus will analyze the image a second time with an other treshold value if it does not find a marker the first time. Each unsuccessful try uses less processing power than a single full successful position estimation.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 152 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
bool ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setPixelFormat ( PIXEL_FORMAT  nFormat)
inlinevirtual

Sets the pixel format of the camera image.

Default format is RGB888 (PIXEL_FORMAT_RGB)

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 126 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
bool ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setPoseEstimator ( POSE_ESTIMATOR  nMethod)
inlinevirtual

Changes the Pose Estimation Algorithm.

POSE_ESTIMATOR_ORIGINAL (default): arGetTransMat() POSE_ESTIMATOR_RPP: "Robust Pose Estimation from a Planar Target"

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 146 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setThreshold ( int  nValue)
inlinevirtual

Sets the threshold value that is used for black/white conversion.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 148 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setUndistortionMode ( UNDIST_MODE  nMode)
inlinevirtual

Changes the undistortion mode.

Default value is UNDIST_STD which means that artoolkit's standard undistortion method is used.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 145 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual void ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setUseDetectLite ( bool  nEnable)
inlinevirtual

Enables usage of arDetectMarkerLite. Otherwise arDetectMarker is used.

In general arDetectMarker is more powerful since it keeps history about markers. In some cases such as very low camera refresh rates it is advantegous to change this. Using the non-lite version treats each image independent.

Implements ARToolKitPlus::TrackerMultiMarker.

Definition at line 102 of file TrackerMultiMarkerImpl.h.

Member Data Documentation

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARMultiMarkerInfoT* ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::config
protected

Definition at line 178 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::detectedMarkerIDs[AR_TEMPL_TRACKER::MAX_IMAGE_PATTERNS]
protected

Definition at line 180 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARMarkerInfo ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::detectedMarkers[AR_TEMPL_TRACKER::MAX_IMAGE_PATTERNS]
protected

Definition at line 181 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::numDetected
protected

Definition at line 175 of file TrackerMultiMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
bool ARToolKitPlus::TrackerMultiMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::useDetectLite
protected

Definition at line 176 of file TrackerMultiMarkerImpl.h.


The documentation for this class was generated from the following file:


tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun Sep 4 2016 03:24:33