DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

TemplateTracker.h File Reference

Detailed Description

NVIDIA DriveWorks API: TemplateTracker Methods * Description: This file defines scaling-extend KLT tracking methods.

Definition in file TemplateTracker.h.

Go to the source code of this file.

Data Structures

struct  dwTemplateArray
 Pointer list to the CUDA table with type = DW_CUDA_TABLE_SIMPLE. More...
 
struct  dwTemplateTrackerParameters
 Configuration parameters for a dwTemplateTrackerIA. More...
 

Macros

#define DW_MAX_TEMPLATE2D_SIZE   128
 defines the maximum template size More...
 

Typedefs

typedef struct dwTemplateTrackerObject const * dwConstTemplateTrackerHandle_t
 Handle representing a const TemplateTracker tracker. More...
 
typedef struct dwTemplateTrackerObject * dwTemplateTrackerHandle_t
 Handle representing a TemplateTracker tracker. More...
 

Enumerations

enum  dwTemplateTrackerAlgorithm {
  DW_TEMPLATE_TRACKER_ALGORITHM_IA = 0,
  DW_TEMPLATE_TRACKER_ALGORITHM_IC
}
 Different versions of the template tracker Both can be found in paper: "Lucas-Kanade 20 Years On: A Unifying Framework" by SIMON BAKER AND IAIN MATTHEWS. More...
 

Functions

DW_API_PUBLIC dwStatus dwTemplateArray_copyAsync (dwTemplateArray *dstTemplateArray, const dwTemplateArray *srcTemplateArray, cudaStream_t stream)
 Deep copy all contents from srcTemplateArray to dstTemplateArray More...
 
DW_API_PUBLIC dwStatus dwTemplateArray_create (dwTemplateArray *templateArray, const uint32_t maxTemplateCount, const dwMemoryType memoryType, dwContextHandle_t context)
 Creates and initializes a template array. More...
 
DW_API_PUBLIC dwStatus dwTemplateArray_destroy (dwTemplateArray templateArray)
 Destroys the template array and frees any memory created by dwTemplateArray_create(). More...
 
DW_API_PUBLIC dwStatus dwTemplateArray_reset (dwTemplateArray *templateArray)
 Resets the template array. More...
 
DW_API_PUBLIC dwStatus dwTemplateTracker_getCUDAStream (cudaStream_t *cudaStream, dwTemplateTrackerHandle_t obj)
 Gets the CUDA stream used. More...
 
DW_API_PUBLIC dwStatus dwTemplateTracker_initDefaultParams (dwTemplateTrackerParameters *params)
 Initializes TemplateTracker parameters with default values. More...
 
DW_API_PUBLIC dwStatus dwTemplateTracker_initialize (dwTemplateTrackerHandle_t *obj, const dwTemplateTrackerParameters *params, cudaStream_t stream, dwContextHandle_t context)
 Initialize the TemplateTracker module. More...
 
DW_API_PUBLIC dwStatus dwTemplateTracker_release (dwTemplateTrackerHandle_t obj)
 Releases the TemplateTracker module. More...
 
DW_API_PUBLIC dwStatus dwTemplateTracker_reset (dwTemplateTrackerHandle_t obj)
 Resets the TemplateTracker. More...
 
DW_API_PUBLIC dwStatus dwTemplateTracker_setCUDAStream (cudaStream_t cudaStream, dwTemplateTrackerHandle_t obj)
 Sets the CUDA stream used. More...
 
DW_API_PUBLIC dwStatus dwTemplateTracker_trackImage (dwTemplateArray *templateArray, const dwImageCUDA *currentImage, const dwImageCUDA *previousImage, dwTemplateTrackerHandle_t obj)
 Track the templates in currentImage
. More...
 
DW_API_PUBLIC dwStatus dwTemplateTracker_trackPyramid (dwTemplateArray *templateArray, const dwPyramidImage *currentPyramid, const dwPyramidImage *previousPyramid, dwTemplateTrackerHandle_t obj)
 Track the templates in currentPyramid
. More...