QTrk
Functions
lv_cputrack_api.cpp File Reference
#include "std_incl.h"
#include <Windows.h>
#include "random_distr.h"
#include "labview.h"
#include "cpu_tracker.h"

Go to the source code of this file.

Functions

CDLL_EXPORT CPUTracker *DLL_CALLCONV create_tracker (uint w, uint h, uint xcorw)
 
CDLL_EXPORT void DLL_CALLCONV destroy_tracker (CPUTracker *tracker)
 
CDLL_EXPORT void DLL_CALLCONV compute_com (CPUTracker *tracker, float *out)
 
CDLL_EXPORT int DLL_CALLCONV compute_xcor (CPUTracker *tracker, vector2f *position, int iterations, int profileWidth)
 
CDLL_EXPORT int DLL_CALLCONV compute_qi (CPUTracker *tracker, vector2f *position, int iterations, int radialSteps, int angularStepsPerQ, float minRadius, float maxRadius, LVArray< float > **radialweights)
 
CDLL_EXPORT void DLL_CALLCONV set_image_from_memory (CPUTracker *tracker, LVArray2D< uchar > **pData, ErrorCluster *error)
 
CDLL_EXPORT void DLL_CALLCONV set_image_u8 (CPUTracker *tracker, LVArray2D< uchar > **pData, ErrorCluster *error)
 
CDLL_EXPORT void DLL_CALLCONV set_image_u16 (CPUTracker *tracker, LVArray2D< ushort > **pData, ErrorCluster *error)
 
CDLL_EXPORT void DLL_CALLCONV set_image_float (CPUTracker *tracker, LVArray2D< float > **pData, ErrorCluster *error)
 
CDLL_EXPORT float DLL_CALLCONV compute_z (CPUTracker *tracker, float *center, int angularSteps, int zlut_index, uint *error, LVArray< float > **profile, int *bestIndex, LVArray< float > **errorCurve)
 
CDLL_EXPORT void DLL_CALLCONV get_debug_img_as_array (CPUTracker *tracker, LVArray2D< float > **pdbgImg)
 
CDLL_EXPORT void DLL_CALLCONV compute_crp (CPUTracker *tracker, LVArray< float > **result, int radialSteps, float *radii, float *center, uint *boundaryHit, LVArray2D< float > **crpmap)
 
CDLL_EXPORT float DLL_CALLCONV compute_asymmetry (CPUTracker *tracker, LVArray< float > **result, int radialSteps, float *radii, float *center, uint *boundaryHit)
 
CDLL_EXPORT void DLL_CALLCONV compute_radial_profile (CPUTracker *tracker, LVArray< float > **result, int angularSteps, float *radii, float *center, uint *boundaryHit)
 
CDLL_EXPORT void DLL_CALLCONV set_ZLUT (CPUTracker *tracker, LVArray3D< float > **pZlut, float *radii, int angular_steps, bool useCorrelation, LVArray< float > **radialweights, bool normalize)
 
CDLL_EXPORT void DLL_CALLCONV get_ZLUT (CPUTracker *tracker, int zlutIndex, LVArray2D< float > **dst)
 
CDLL_EXPORT void DLL_CALLCONV generate_test_image (LVArray2D< float > **img, float xp, float yp, float size, float photoncount)
 
CDLL_EXPORT void DLL_CALLCONV generate_image_from_lut (LVArray2D< float > **image, LVArray2D< float > **lut, float *LUTradii, vector3f *position, float pixel_max, int useSplineInterp, int samplesPerPixel)