summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/tracking/src/c/tracking.h
diff options
context:
space:
mode:
authorLeo Chan <leochanj@live.unc.edu>2020-10-22 01:53:21 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 01:56:35 -0400
commitd17b33131c14864bd1eae275f49a3f148e21cf29 (patch)
tree0d8f77922e8d193cb0f6edab83018f057aad64a0 /SD-VBS/benchmarks/tracking/src/c/tracking.h
parent601ed25a4c5b66cb75315832c15613a727db2c26 (diff)
Squashed commit of the sb-vbs branch.
Includes the SD-VBS benchmarks modified to: - Use libextra to loop as realtime jobs - Preallocate memory before starting their main computation - Accept input via stdin instead of via argc Does not include the SD-VBS matlab code. Fixes libextra execution in LITMUS^RT.
Diffstat (limited to 'SD-VBS/benchmarks/tracking/src/c/tracking.h')
-rw-r--r--SD-VBS/benchmarks/tracking/src/c/tracking.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/SD-VBS/benchmarks/tracking/src/c/tracking.h b/SD-VBS/benchmarks/tracking/src/c/tracking.h
new file mode 100644
index 0000000..24b8b2d
--- /dev/null
+++ b/SD-VBS/benchmarks/tracking/src/c/tracking.h
@@ -0,0 +1,20 @@
1/********************************
2Author: Sravanthi Kota Venkata
3********************************/
4
5#ifndef _SCRIPT_TRACK_
6#define _SCRIPT_TRACK_
7
8#include "sdvbs_common.h"
9
10F2D* calcAreaSum(F2D* src, int cols, int rows, int winSize);
11F2D* calcGoodFeature(F2D* dX, F2D* dY, int cols, int rows, int winSize);
12I2D* calcPyrLKTrack(F2D* ip1, F2D* ip2, F2D* idxp1, F2D* idxp2, F2D* idyp1, F2D* idyp2, F2D* jp1, F2D* jp2, F2D* fPnt, int nFeatures, int winSize, float accuracy, int maxIter, F2D* newPnt);
13F2D *getANMS (F2D *points, float r);
14F2D* getInterpolatePatch(F2D* src, int cols, float centerX, float centerY, int winSize);
15float polynomial(int d, F2D* a, F2D* b, int dim);
16I2D* sortInd(F2D* input, int dim);
17F2D* fillFeatures(F2D* lambda, int N_FEA, int win);
18
19#endif
20