diff options
author | leochanj105 <leochanj@live.unc.edu> | 2020-10-19 23:09:30 -0400 |
---|---|---|
committer | leochanj105 <leochanj@live.unc.edu> | 2020-10-20 02:40:39 -0400 |
commit | f618466c25d43f3bae9e40920273bf77de1e1149 (patch) | |
tree | 460e739e2165b8a9c37a9c7ab1b60f5874903543 /SD-VBS/benchmarks/sift/src/c/sift.h | |
parent | 47ced4e96bbb782b9e780e8f2cfc637b2c21ff44 (diff) |
initial sd-vbs
initial sd-vbs
add sd-vbs
sd-vbs
Diffstat (limited to 'SD-VBS/benchmarks/sift/src/c/sift.h')
-rw-r--r-- | SD-VBS/benchmarks/sift/src/c/sift.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/SD-VBS/benchmarks/sift/src/c/sift.h b/SD-VBS/benchmarks/sift/src/c/sift.h new file mode 100644 index 0000000..e8a4ee0 --- /dev/null +++ b/SD-VBS/benchmarks/sift/src/c/sift.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /******************************** | ||
2 | Author: Sravanthi Kota Venkata | ||
3 | ********************************/ | ||
4 | |||
5 | #ifndef _SIFT_ | ||
6 | #define _SIFT_ | ||
7 | |||
8 | #include "sdvbs_common.h" | ||
9 | #include <assert.h> | ||
10 | |||
11 | #define GREATER(a,b) ((a) > (b)) | ||
12 | #define MAX(a,b) (((a)>(b))?(a):(b)) | ||
13 | #define MIN(a,b) (((a)<(b))?(a):(b)) | ||
14 | |||
15 | F2D* sift(F2D* I); | ||
16 | F2D* halveSize(F2D* I); | ||
17 | F2D** gaussianss(F2D* I, float sigman, int O, int S, int omin, int smin, int smax, float sigma0); | ||
18 | F2D** diffss(F2D** ss, int O, int intervals); | ||
19 | F2D* doubleSize(F2D* I); | ||
20 | void imsmooth(F2D* I_pt, float dsigma, F2D* out); | ||
21 | F2D* siftlocalmax(F2D* in, float thresh, int intervals, int M, int N); | ||
22 | F2D* filterBoundaryPoints(int M, int N, F2D* oframes); | ||
23 | F2D* siftrefinemx(F2D* oframes, F2D* dogss, int smin, float thresh, int rin, int M, int N, int intervals); | ||
24 | |||
25 | #endif | ||
26 | |||
27 | |||