summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/sift/src/matlab/script_run_profile.m
diff options
context:
space:
mode:
authorleochanj105 <leochanj@live.unc.edu>2020-10-20 03:47:33 -0400
committerleochanj105 <leochanj@live.unc.edu>2020-10-20 03:47:33 -0400
commita32f220f06cc463e5b56e7fa0b1b1334d94d08f3 (patch)
tree4af4caa60074465d85fc2ef5cc1b23e74c064329 /SD-VBS/benchmarks/sift/src/matlab/script_run_profile.m
parent79f30887129145e15e5172e36a7d7602859fc932 (diff)
matlab removed
Diffstat (limited to 'SD-VBS/benchmarks/sift/src/matlab/script_run_profile.m')
-rw-r--r--SD-VBS/benchmarks/sift/src/matlab/script_run_profile.m23
1 files changed, 0 insertions, 23 deletions
diff --git a/SD-VBS/benchmarks/sift/src/matlab/script_run_profile.m b/SD-VBS/benchmarks/sift/src/matlab/script_run_profile.m
deleted file mode 100644
index c157507..0000000
--- a/SD-VBS/benchmarks/sift/src/matlab/script_run_profile.m
+++ /dev/null
@@ -1,23 +0,0 @@
1function script_run_profile(dataDir, resultDir, type, common, tooldir)
2
3path(path,common);
4sift_compile;
5
6I1=readImage([dataDir, '/1.bmp']) ;
7
8rows = size(I1,1);
9cols = size(I1,2);
10fprintf(1,'Input size\t\t- (%dx%d)\n', rows, cols);
11
12I1=I1-min(I1(:)) ;
13I1=I1/max(I1(:)) ;
14
15%% Timing
16start = photonStartTiming;
17frames1 = sift( I1) ;
18stop = photonEndTiming;
19elapsed = photonReportTiming(start, stop);
20photonPrintTiming(elapsed);
21
22fWriteMatrix(frames1, dataDir);
23