Queue API functions available to LabVIEW.
More...
|
CDLL_EXPORT int | qtrk_get_queue_len (QueuedTracker *qtrk, int *maxQueueLen, ErrorCluster *e) |
|
CDLL_EXPORT void DLL_CALLCONV | qtrk_queue_u16 (QueuedTracker *qtrk, ErrorCluster *error, LVArray2D< ushort > **data, const LocalizationJob *jobInfo) |
|
CDLL_EXPORT void DLL_CALLCONV | qtrk_queue_u8 (QueuedTracker *qtrk, ErrorCluster *error, LVArray2D< uchar > **data, const LocalizationJob *jobInfo) |
|
CDLL_EXPORT void DLL_CALLCONV | qtrk_queue_float (QueuedTracker *qtrk, ErrorCluster *error, LVArray2D< float > **data, const LocalizationJob *jobInfo) |
|
CDLL_EXPORT void DLL_CALLCONV | qtrk_queue_pitchedmem (QueuedTracker *qtrk, uchar *data, int pitch, uint pdt, const LocalizationJob *jobInfo) |
|
CDLL_EXPORT void DLL_CALLCONV | qtrk_queue_array (QueuedTracker *qtrk, ErrorCluster *error, LVArray2D< uchar > **data, uint pdt, const LocalizationJob *jobInfo) |
|
CDLL_EXPORT uint DLL_CALLCONV | qtrk_queue_frame (QueuedTracker *qtrk, uchar *image, int pitch, int w, int h, uint pdt, ROIPosition *pos, int numROI, const LocalizationJob *pJobInfo, QueueFrameFlags flags, ErrorCluster *e) |
|
Queue API functions available to LabVIEW.
Use to queue images to be handled by the tracker.
§ qtrk_get_queue_len()
Definition at line 382 of file lv_queuetrk_api.cpp.
bool ValidateTracker(QueuedTracker *tracker, ErrorCluster *e, const char *funcname)
Verify the referenced tracker is a valid QueuedTracker instance.
virtual int GetQueueLength(int *maxQueueLen=0)=0
Get the lengths of the queue of jobs to be handled.
§ qtrk_queue_array()
Definition at line 306 of file lv_queuetrk_api.cpp.
311 pitch =
sizeof(float);
319 pitch *= (*data)->dimSizes[1];
bool CheckImageInput(QueuedTracker *qtrk, LVArray2D< T > **data, ErrorCluster *error)
CDLL_EXPORT void qtrk_queue_pitchedmem(QueuedTracker *qtrk, uchar *data, int pitch, uint pdt, const LocalizationJob *jobInfo)
§ qtrk_queue_float()
Definition at line 292 of file lv_queuetrk_api.cpp.
bool CheckImageInput(QueuedTracker *qtrk, LVArray2D< T > **data, ErrorCluster *error)
virtual void ScheduleLocalization(void *data, int pitch, QTRK_PixelDataType pdt, const LocalizationJob *jobInfo)=0
Add a job to the queue to be processed. A job entails running the required algorithms on a single reg...
§ qtrk_queue_frame()
CDLL_EXPORT uint DLL_CALLCONV qtrk_queue_frame |
( |
QueuedTracker * |
qtrk, |
|
|
uchar * |
image, |
|
|
int |
pitch, |
|
|
int |
w, |
|
|
int |
h, |
|
|
uint |
pdt, |
|
|
ROIPosition * |
pos, |
|
|
int |
numROI, |
|
|
const LocalizationJob * |
pJobInfo, |
|
|
QueueFrameFlags |
flags, |
|
|
ErrorCluster * |
e |
|
) |
| |
Definition at line 336 of file lv_queuetrk_api.cpp.
342 ArgumentErrorMsg(e,
SPrintf(
"Not all ROIs (%d out of %d) were queued. Check image borders vs ROIs.", nQueued, numROI));
virtual int ScheduleFrame(void *imgptr, int pitch, int width, int height, ROIPosition *positions, int numROI, QTRK_PixelDataType pdt, const LocalizationJob *jobInfo)
Schedule an entire frame at once, allowing for further optimizations.
uint timestamp
Time stamp of the frame.
void ArgumentErrorMsg(ErrorCluster *e, const std::string &msg)
QTRK_PixelDataType
Flags indicating the data type of image data.
Structure for region of interest metadata.
std::string SPrintf(const char *fmt,...)
§ qtrk_queue_pitchedmem()
Definition at line 301 of file lv_queuetrk_api.cpp.
virtual void ScheduleLocalization(void *data, int pitch, QTRK_PixelDataType pdt, const LocalizationJob *jobInfo)=0
Add a job to the queue to be processed. A job entails running the required algorithms on a single reg...
QTRK_PixelDataType
Flags indicating the data type of image data.
§ qtrk_queue_u16()
Definition at line 272 of file lv_queuetrk_api.cpp.
bool CheckImageInput(QueuedTracker *qtrk, LVArray2D< T > **data, ErrorCluster *error)
virtual void ScheduleLocalization(void *data, int pitch, QTRK_PixelDataType pdt, const LocalizationJob *jobInfo)=0
Add a job to the queue to be processed. A job entails running the required algorithms on a single reg...
§ qtrk_queue_u8()
Definition at line 280 of file lv_queuetrk_api.cpp.
bool CheckImageInput(QueuedTracker *qtrk, LVArray2D< T > **data, ErrorCluster *error)
virtual void ScheduleLocalization(void *data, int pitch, QTRK_PixelDataType pdt, const LocalizationJob *jobInfo)=0
Add a job to the queue to be processed. A job entails running the required algorithms on a single reg...