diff options
author | leochanj105 <leochanj@live.unc.edu> | 2020-10-23 17:00:41 -0400 |
---|---|---|
committer | leochanj105 <leochanj@live.unc.edu> | 2020-10-23 17:00:41 -0400 |
commit | 87997c91b55c9e84097a7c79c63d583044ff4c63 (patch) | |
tree | 77f215972e691fbb51ecba00c4c206361baee23c /SD-VBS/benchmarks | |
parent | 863e64b15f29dc35ab646045ece7e3d40fe2a6c4 (diff) |
current
Diffstat (limited to 'SD-VBS/benchmarks')
-rw-r--r-- | SD-VBS/benchmarks/stitch/src/c/script_stitch.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/SD-VBS/benchmarks/stitch/src/c/script_stitch.c b/SD-VBS/benchmarks/stitch/src/c/script_stitch.c index 9310048..472e231 100644 --- a/SD-VBS/benchmarks/stitch/src/c/script_stitch.c +++ b/SD-VBS/benchmarks/stitch/src/c/script_stitch.c | |||
@@ -23,12 +23,6 @@ int main(int argc, char* argv[]) | |||
23 | cols = Icur->width; | 23 | cols = Icur->width; |
24 | 24 | ||
25 | for_each_job { | 25 | for_each_job { |
26 | iFreeHandle(Icur); | ||
27 | fFreeHandle(v); | ||
28 | fFreeHandle(interestPnts); | ||
29 | fFreeHandle(int1); | ||
30 | fFreeHandle(int2); | ||
31 | fFreeHandle(Fcur); | ||
32 | v = harris(Icur); | 26 | v = harris(Icur); |
33 | interestPnts = getANMS(v, 24); | 27 | interestPnts = getANMS(v, 24); |
34 | int1 = fMallocHandle(interestPnts->height, 1); | 28 | int1 = fMallocHandle(interestPnts->height, 1); |
@@ -40,6 +34,12 @@ int main(int argc, char* argv[]) | |||
40 | } | 34 | } |
41 | 35 | ||
42 | Fcur = extractFeatures(Icur, int1, int2); | 36 | Fcur = extractFeatures(Icur, int1, int2); |
37 | iFreeHandle(Icur); | ||
38 | fFreeHandle(v); | ||
39 | fFreeHandle(interestPnts); | ||
40 | fFreeHandle(int1); | ||
41 | fFreeHandle(int2); | ||
42 | fFreeHandle(Fcur); | ||
43 | } | 43 | } |
44 | 44 | ||
45 | #ifdef CHECK | 45 | #ifdef CHECK |