diff options
Diffstat (limited to 'SD-VBS/benchmarks/stitch/src/matlab/script_run_profile.m')
-rwxr-xr-x | SD-VBS/benchmarks/stitch/src/matlab/script_run_profile.m | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/SD-VBS/benchmarks/stitch/src/matlab/script_run_profile.m b/SD-VBS/benchmarks/stitch/src/matlab/script_run_profile.m deleted file mode 100755 index f2ca68b..0000000 --- a/SD-VBS/benchmarks/stitch/src/matlab/script_run_profile.m +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | function script_run_profile(dataDir, resultDir, type, common, toolDir) | ||
2 | |||
3 | path(path, common); | ||
4 | image_list = 1; | ||
5 | |||
6 | elapsed = zeros(1,2); | ||
7 | for i=1:image_list | ||
8 | Icur = readImage([dataDir, '/', num2str(i) ,'.bmp']); | ||
9 | rows = size(Icur,1); | ||
10 | cols = size(Icur,2); | ||
11 | fprintf(1,'Input size\t\t- (%dx%d)\n', rows, cols); | ||
12 | |||
13 | %% Self check params | ||
14 | tol = 1; | ||
15 | |||
16 | %% Timing | ||
17 | start = photonStartTiming; | ||
18 | |||
19 | [x y v]=harris(Icur,dataDir); | ||
20 | interestPntsCur=getANMS(x, y, v, 24, dataDir); | ||
21 | Fcur=extractFeatures(Icur, interestPntsCur(:,1), interestPntsCur(:,2), dataDir); | ||
22 | |||
23 | %% Timing | ||
24 | stop = photonEndTiming; | ||
25 | |||
26 | temp = photonReportTiming(start, stop); | ||
27 | elapsed(1) = elapsed(1) + temp(1); | ||
28 | elapsed(2) = elapsed(2) + temp(2); | ||
29 | |||
30 | |||
31 | end | ||
32 | |||
33 | %% Self checking | ||
34 | fWriteMatrix(Fcur, dataDir); | ||
35 | |||
36 | %% Timing | ||
37 | photonPrintTiming(elapsed); | ||
38 | |||