Public Member Functions | Static Public Member Functions | Protected Attributes
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]

List of all members.

Public Member Functions

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

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

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) [inline, virtual]
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) [inline, virtual]

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 
) [inline, virtual]

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 
) [inline, virtual]
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 
) [inline, virtual]
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) [inline, virtual]
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] 
) [inline, virtual]

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] 
) [inline, virtual]
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) [inline, virtual]
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) [inline, virtual]
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 
) [inline, virtual]

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) [inline, virtual]
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 
) [inline, virtual]

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 
) [inline, virtual]

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 ( ) [inline, virtual]
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 
) [inline, virtual]
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] 
) [inline, virtual]
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 [inline, virtual]

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 ( ) [inline, virtual]
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 ( ) [inline, virtual]

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 [inline, virtual]

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 [inline, virtual]

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 [inline, virtual]

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 [inline, virtual]

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 [inline, virtual]

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 [inline, virtual]
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 ( ) [inline, virtual]
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 [inline, virtual]

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 [inline, virtual]
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 [inline, virtual]

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 
) [inline, virtual]

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] 
) [inline, virtual]
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 
) [inline, virtual]
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) [inline, virtual]

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) [inline, virtual]

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 
) [inline, virtual]

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) [inline, virtual]

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) [inline, virtual]

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) [inline, virtual]

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) [inline, virtual]

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) [inline, virtual]

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) [inline, virtual]

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) [inline, virtual]

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) [inline, virtual]

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) [inline, virtual]

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) [inline, virtual]

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 May 29 2016 02:50:12