diff options
author | leochanj105 <leochanj@live.unc.edu> | 2020-10-23 02:12:49 -0400 |
---|---|---|
committer | leochanj105 <leochanj@live.unc.edu> | 2020-10-23 02:12:49 -0400 |
commit | e23e931be4776b89149fdb2596f47096e6cdb78c (patch) | |
tree | faf3963cc501f103cd2554553ec74ce21157b42e /SD-VBS | |
parent | e2d933df44b7b387b41c8c7805393ad3857c4448 (diff) | |
parent | e0217a963c6c0e0667d41d075038685956bcfacf (diff) |
Merge branch 'sd-vbs' of ssh://rtsrv.cs.unc.edu/public/mc2-scripts-and-benchmarks into sd-vbs
Diffstat (limited to 'SD-VBS')
32 files changed, 81 insertions, 260 deletions
diff --git a/SD-VBS/benchmarks/disparity/data/cif/12345.txt b/SD-VBS/benchmarks/disparity/data/cif/12345.txt deleted file mode 100644 index 3dd9ffe..0000000 --- a/SD-VBS/benchmarks/disparity/data/cif/12345.txt +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | disparity-cif none 20 none 20 35311220 12345 0 0 0 | ||
2 | disparity-cif none 20 none 20 35151832 12345 1 0 0 | ||
3 | disparity-cif none 20 none 20 34643104 12345 2 0 0 | ||
4 | disparity-cif none 20 none 20 34641288 12345 3 0 0 | ||
5 | disparity-cif none 20 none 20 34671336 12345 4 0 0 | ||
6 | disparity-cif none 20 none 20 34709616 12345 5 0 0 | ||
7 | disparity-cif none 20 none 20 34779264 12345 6 0 0 | ||
8 | disparity-cif none 20 none 20 35022352 12345 7 0 0 | ||
9 | disparity-cif none 20 none 20 34799464 12345 8 0 0 | ||
10 | disparity-cif none 20 none 20 34794384 12345 9 0 0 | ||
11 | disparity-cif none 20 none 20 34796992 12345 10 0 0 | ||
12 | disparity-cif none 20 none 20 34681564 12345 11 0 0 | ||
13 | disparity-cif none 20 none 20 34667428 12345 12 0 0 | ||
14 | disparity-cif none 20 none 20 34687324 12345 13 0 0 | ||
15 | disparity-cif none 20 none 20 34694040 12345 14 0 0 | ||
16 | disparity-cif none 20 none 20 34672856 12345 15 0 0 | ||
17 | disparity-cif none 20 none 20 34699520 12345 16 0 0 | ||
18 | disparity-cif none 20 none 20 34716672 12345 17 0 0 | ||
19 | disparity-cif none 20 none 20 34686432 12345 18 0 0 | ||
20 | disparity-cif none 20 none 20 34692112 12345 19 0 0 | ||
21 | disparity-cif none 21 none 5 34821504 12345 0 0 0 | ||
22 | disparity-cif none 21 none 5 34748320 12345 1 0 0 | ||
23 | disparity-cif none 21 none 5 34746756 12345 2 0 0 | ||
24 | disparity-cif none 21 none 5 34736224 12345 3 0 0 | ||
25 | disparity-cif none 21 none 5 34877768 12345 4 0 0 | ||
26 | disparity-cif none 16 none 5 34706256 12345 0 0 0 | ||
27 | disparity-cif none 16 none 5 33841040 12345 1 0 0 | ||
28 | disparity-cif none 16 none 5 33794244 12345 2 0 0 | ||
29 | disparity-cif none 16 none 5 34052544 12345 3 0 0 | ||
30 | disparity-cif none 16 none 5 34092180 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/disparity/data/fullhd/12345.txt b/SD-VBS/benchmarks/disparity/data/fullhd/12345.txt deleted file mode 100644 index dd9af28..0000000 --- a/SD-VBS/benchmarks/disparity/data/fullhd/12345.txt +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | disparity-fullhd none 7 none 20 963629056 12345 0 0 0 | ||
2 | disparity-fullhd none 7 none 20 967578880 12345 1 0 0 | ||
3 | disparity-fullhd none 7 none 20 968594368 12345 2 0 0 | ||
4 | disparity-fullhd none 7 none 20 964075264 12345 3 0 0 | ||
5 | disparity-fullhd none 7 none 20 966877696 12345 4 0 0 | ||
6 | disparity-fullhd none 7 none 20 968793728 12345 5 0 0 | ||
7 | disparity-fullhd none 7 none 20 968632064 12345 6 0 0 | ||
8 | disparity-fullhd none 7 none 20 964562432 12345 7 0 0 | ||
9 | disparity-fullhd none 7 none 20 968084800 12345 8 0 0 | ||
10 | disparity-fullhd none 7 none 20 964557120 12345 9 0 0 | ||
11 | disparity-fullhd none 7 none 20 967762496 12345 10 0 0 | ||
12 | disparity-fullhd none 7 none 20 967815040 12345 11 0 0 | ||
13 | disparity-fullhd none 7 none 20 967683328 12345 12 0 0 | ||
14 | disparity-fullhd none 7 none 20 967838912 12345 13 0 0 | ||
15 | disparity-fullhd none 7 none 20 964496384 12345 14 0 0 | ||
16 | disparity-fullhd none 7 none 20 967954432 12345 15 0 0 | ||
17 | disparity-fullhd none 7 none 20 965618496 12345 16 0 0 | ||
18 | disparity-fullhd none 7 none 20 968003008 12345 17 0 0 | ||
19 | disparity-fullhd none 7 none 20 967080000 12345 18 0 0 | ||
20 | disparity-fullhd none 7 none 20 965547456 12345 19 0 0 | ||
diff --git a/SD-VBS/benchmarks/disparity/src/c/script_disparity.c b/SD-VBS/benchmarks/disparity/src/c/script_disparity.c index 431c02c..7d45ada 100644 --- a/SD-VBS/benchmarks/disparity/src/c/script_disparity.c +++ b/SD-VBS/benchmarks/disparity/src/c/script_disparity.c | |||
@@ -28,9 +28,7 @@ int main(int argc, char* argv[]) | |||
28 | int WIN_SZ=8, SHIFT=64; | 28 | int WIN_SZ=8, SHIFT=64; |
29 | FILE* fp; | 29 | FILE* fp; |
30 | 30 | ||
31 | printf("Image 1: "); | ||
32 | scanf("%s", im1); | 31 | scanf("%s", im1); |
33 | printf("Image 2: "); | ||
34 | scanf("%s", im2); | 32 | scanf("%s", im2); |
35 | #ifdef CHECK | 33 | #ifdef CHECK |
36 | char checkFile[100] = "./expected_C.txt"; | 34 | char checkFile[100] = "./expected_C.txt"; |
@@ -86,17 +84,15 @@ int main(int argc, char* argv[]) | |||
86 | Iright_moved = iSetArray(paddedRows, paddedCols, 0); | 84 | Iright_moved = iSetArray(paddedRows, paddedCols, 0); |
87 | 85 | ||
88 | range = iMallocHandle(1, 2); | 86 | range = iMallocHandle(1, 2); |
89 | printf("starting..\n"); | 87 | for_each_job { |
90 | for_each_job{ | 88 | retDisparity = getDisparity(imleft, imright, WIN_SZ, SHIFT, |
91 | retDisparity = getDisparity(imleft, imright, WIN_SZ, SHIFT, | 89 | minSAD, retDisp, halfWin, |
92 | minSAD, retDisp, halfWin, | 90 | IrightPadded, IleftPadded, Iright_moved, |
93 | IrightPadded, IleftPadded, Iright_moved, | 91 | retSAD, SAD, integralImg, |
94 | retSAD, SAD, integralImg, | 92 | range); |
95 | range); | ||
96 | } | 93 | } |
97 | printf("ending\n"); | ||
98 | 94 | ||
99 | #ifdef CHECK | 95 | #ifdef CHECK |
100 | /** Self checking - use expected.txt from data directory **/ | 96 | /** Self checking - use expected.txt from data directory **/ |
101 | { | 97 | { |
102 | int tol, ret=0; | 98 | int tol, ret=0; |
diff --git a/SD-VBS/benchmarks/localization/data/cif/12345.txt b/SD-VBS/benchmarks/localization/data/cif/12345.txt deleted file mode 100644 index 3db1af2..0000000 --- a/SD-VBS/benchmarks/localization/data/cif/12345.txt +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | localization-cif none 9 none 5 48076352 12345 0 0 0 | ||
2 | localization-cif none 9 none 5 43361112 12345 1 0 0 | ||
3 | localization-cif none 9 none 5 43366440 12345 2 0 0 | ||
4 | localization-cif none 9 none 5 43370196 12345 3 0 0 | ||
5 | localization-cif none 9 none 5 43342796 12345 4 0 0 | ||
6 | localization-cif none 9 none 5 49304636 12345 0 0 0 | ||
7 | localization-cif none 9 none 5 43263656 12345 1 0 0 | ||
8 | localization-cif none 9 none 5 43311788 12345 2 0 0 | ||
9 | localization-cif none 9 none 5 45305660 12345 3 0 0 | ||
10 | localization-cif none 9 none 5 45991472 12345 4 0 0 | ||
11 | localization-cif none 13 none 5 50834232 12345 0 0 0 | ||
12 | localization-cif none 13 none 5 45950604 12345 1 0 0 | ||
13 | localization-cif none 13 none 5 45906792 12345 2 0 0 | ||
14 | localization-cif none 13 none 5 45996860 12345 3 0 0 | ||
15 | localization-cif none 13 none 5 52359620 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/localization/data/vga/12345.txt b/SD-VBS/benchmarks/localization/data/vga/12345.txt deleted file mode 100644 index af25656..0000000 --- a/SD-VBS/benchmarks/localization/data/vga/12345.txt +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | localization-vga none 29 none 5 162689456 12345 0 0 0 | ||
2 | localization-vga none 29 none 5 152758336 12345 1 0 0 | ||
3 | localization-vga none 29 none 5 152857504 12345 2 0 0 | ||
4 | localization-vga none 29 none 5 152713328 12345 3 0 0 | ||
5 | localization-vga none 29 none 5 152901152 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/localization/src/c/script_localization.c b/SD-VBS/benchmarks/localization/src/c/script_localization.c index 3392320..ed37132 100644 --- a/SD-VBS/benchmarks/localization/src/c/script_localization.c +++ b/SD-VBS/benchmarks/localization/src/c/script_localization.c | |||
@@ -41,7 +41,6 @@ int main(int argc, char* argv[]) | |||
41 | 41 | ||
42 | char im1[100]; | 42 | char im1[100]; |
43 | 43 | ||
44 | printf("Input txt File: "); | ||
45 | scanf("%s", im1); | 44 | scanf("%s", im1); |
46 | 45 | ||
47 | fid = readFile(im1); | 46 | fid = readFile(im1); |
@@ -83,11 +82,10 @@ int main(int argc, char* argv[]) | |||
83 | F2D *randn; | 82 | F2D *randn; |
84 | 83 | ||
85 | randn = randWrapper(n,3); | 84 | randn = randWrapper(n,3); |
86 | printf("start\n"); | 85 | for_each_job { |
87 | for_each_job{ | 86 | fResetArray(pos,n, 3, 0); |
88 | fResetArray(pos,n, 3, 0); | 87 | fResetArray(vel,n, 3, 0); |
89 | fResetArray(vel,n, 3, 0); | 88 | fResetArray(ones,n,1,1); |
90 | fResetArray(ones,n,1,1); | ||
91 | 89 | ||
92 | { | 90 | { |
93 | int j; | 91 | int j; |
@@ -95,7 +93,7 @@ int main(int argc, char* argv[]) | |||
95 | for(j=0; j<3; j++) | 93 | for(j=0; j<3; j++) |
96 | subsref(vel, i, j) += subsref(randn,i,j) * STDDEV_ODOVel; | 94 | subsref(vel, i, j) += subsref(randn,i,j) * STDDEV_ODOVel; |
97 | 95 | ||
98 | } | 96 | } |
99 | 97 | ||
100 | 98 | ||
101 | 99 | ||
@@ -486,17 +484,15 @@ int main(int argc, char* argv[]) | |||
486 | subsref(resultMat,1,icount) = velOut; | 484 | subsref(resultMat,1,icount) = velOut; |
487 | subsref(resultMat,2,icount) = posOut; | 485 | subsref(resultMat,2,icount) = posOut; |
488 | } | 486 | } |
489 | 487 | ||
490 | fFreeHandle(sData); | 488 | fFreeHandle(sData); |
491 | 489 | ||
492 | |||
493 | if (asubsref(isEOF,0) == 1) | 490 | if (asubsref(isEOF,0) == 1) |
494 | break; | 491 | break; |
495 | } | 492 | } |
496 | } | 493 | } |
497 | printf("end..\n"); | ||
498 | 494 | ||
499 | #ifdef CHECK | 495 | #ifdef CHECK |
500 | 496 | ||
501 | // Self checking - use expected.txt from data directory | 497 | // Self checking - use expected.txt from data directory |
502 | { | 498 | { |
diff --git a/SD-VBS/benchmarks/mser/data/cif/12345.txt b/SD-VBS/benchmarks/mser/data/cif/12345.txt deleted file mode 100644 index 7b52a90..0000000 --- a/SD-VBS/benchmarks/mser/data/cif/12345.txt +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | mser-cif none 23 none 5 12891520 12345 0 0 0 | ||
2 | mser-cif none 23 none 5 11434520 12345 1 0 0 | ||
3 | mser-cif none 23 none 5 11921369 12345 2 0 0 | ||
4 | mser-cif none 23 none 5 11482610 12345 3 0 0 | ||
5 | mser-cif none 23 none 5 11647417 12345 4 0 0 | ||
6 | mser-cif none 24 none 5 11807215 12345 0 0 0 | ||
7 | mser-cif none 24 none 5 10360304 12345 1 0 0 | ||
8 | mser-cif none 24 none 5 11100626 12345 2 0 0 | ||
9 | mser-cif none 24 none 5 11111977 12345 3 0 0 | ||
10 | mser-cif none 24 none 5 10997935 12345 4 0 0 | ||
11 | mser-cif none 7 none 5 10835612 12345 0 0 0 | ||
12 | mser-cif none 7 none 5 10002626 12345 1 0 0 | ||
13 | mser-cif none 7 none 5 9990102 12345 2 0 0 | ||
14 | mser-cif none 7 none 5 10055976 12345 3 0 0 | ||
15 | mser-cif none 7 none 5 10037691 12345 4 0 0 | ||
16 | mser-cif none 13 none 5 26715692 12345 0 0 0 | ||
17 | mser-cif none 13 none 5 21470796 12345 1 0 0 | ||
18 | mser-cif none 13 none 5 17807620 12345 2 0 0 | ||
19 | mser-cif none 13 none 5 12195560 12345 3 0 0 | ||
20 | mser-cif none 13 none 5 12070256 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/mser/data/fullhd/12345.txt b/SD-VBS/benchmarks/mser/data/fullhd/12345.txt deleted file mode 100644 index b5b5ffc..0000000 --- a/SD-VBS/benchmarks/mser/data/fullhd/12345.txt +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | mser-fullhd none 24 none 5 322513728 12345 0 0 0 | ||
2 | mser-fullhd none 24 none 5 314226400 12345 1 0 0 | ||
3 | mser-fullhd none 24 none 5 312716224 12345 2 0 0 | ||
4 | mser-fullhd none 24 none 5 314495680 12345 3 0 0 | ||
5 | mser-fullhd none 24 none 5 292962400 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/mser/src/c/script_mser.c b/SD-VBS/benchmarks/mser/src/c/script_mser.c index d4a98cd..3e98f86 100644 --- a/SD-VBS/benchmarks/mser/src/c/script_mser.c +++ b/SD-VBS/benchmarks/mser/src/c/script_mser.c | |||
@@ -33,7 +33,6 @@ int main(int argc, char* argv[]) | |||
33 | 33 | ||
34 | int ndims, nel, gdl, nmer; | 34 | int ndims, nel, gdl, nmer; |
35 | 35 | ||
36 | printf("Input Image: "); | ||
37 | scanf("%s", im1); | 36 | scanf("%s", im1); |
38 | 37 | ||
39 | I = readImage(im1); | 38 | I = readImage(im1); |
@@ -74,19 +73,17 @@ int main(int argc, char* argv[]) | |||
74 | 73 | ||
75 | 74 | ||
76 | out = iMallocHandle(1, nmer); | 75 | out = iMallocHandle(1, nmer); |
77 | printf("start\n"); | 76 | for_each_job { |
78 | for_each_job{ | ||
79 | idx = mser(It, 2, subs_pt, nsubs_pt, strides_pt, visited_pt, dims, | 77 | idx = mser(It, 2, subs_pt, nsubs_pt, strides_pt, visited_pt, dims, |
80 | joins_pt, | 78 | joins_pt, |
81 | regions_pt, | 79 | regions_pt, |
82 | pairs_pt, | 80 | pairs_pt, |
83 | forest_pt, | 81 | forest_pt, |
84 | acc_pt, ell_pt, | 82 | acc_pt, ell_pt, |
85 | out); | 83 | out); |
86 | } | 84 | } |
87 | printf("end..\n"); | 85 | |
88 | 86 | #ifdef CHECK | |
89 | #ifdef CHECK | ||
90 | /** Self checking - use expected.txt from data directory **/ | 87 | /** Self checking - use expected.txt from data directory **/ |
91 | { | 88 | { |
92 | int tol, ret=0; | 89 | int tol, ret=0; |
diff --git a/SD-VBS/benchmarks/multi_ncut/data/sim/12345.txt b/SD-VBS/benchmarks/multi_ncut/data/sim/12345.txt deleted file mode 100644 index c49a646..0000000 --- a/SD-VBS/benchmarks/multi_ncut/data/sim/12345.txt +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | multi_ncut-sim none 7 none 5 334869696 12345 0 0 0 | ||
2 | multi_ncut-sim none 7 none 5 330667392 12345 1 0 0 | ||
3 | multi_ncut-sim none 7 none 5 331028160 12345 2 0 0 | ||
4 | multi_ncut-sim none 7 none 5 330717120 12345 3 0 0 | ||
5 | multi_ncut-sim none 7 none 5 330725056 12345 4 0 0 | ||
6 | multi_ncut-sim none 6 none 5 334245504 12345 0 0 0 | ||
7 | multi_ncut-sim none 6 none 5 330564288 12345 1 0 0 | ||
8 | multi_ncut-sim none 6 none 5 330787648 12345 2 0 0 | ||
9 | multi_ncut-sim none 6 none 5 330631872 12345 3 0 0 | ||
10 | multi_ncut-sim none 6 none 5 330513440 12345 4 0 0 | ||
11 | multi_ncut-sim none 19 none 5 335748992 12345 0 0 0 | ||
12 | multi_ncut-sim none 19 none 5 331288224 12345 1 0 0 | ||
13 | multi_ncut-sim none 19 none 5 330814880 12345 2 0 0 | ||
14 | multi_ncut-sim none 19 none 5 330980416 12345 3 0 0 | ||
15 | multi_ncut-sim none 19 none 5 331042912 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c b/SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c index e4f7912..77c6b71 100644 --- a/SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c +++ b/SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c | |||
@@ -28,7 +28,6 @@ int main(int argc, char* argv[]) | |||
28 | 28 | ||
29 | F2D *imageOut, *tempOut; | 29 | F2D *imageOut, *tempOut; |
30 | F2D *edgeWeights, *in; | 30 | F2D *edgeWeights, *in; |
31 | printf("Input image: "); | ||
32 | scanf("%s", im1); | 31 | scanf("%s", im1); |
33 | im = readImage(im1); | 32 | im = readImage(im1); |
34 | 33 | ||
@@ -50,13 +49,12 @@ int main(int argc, char* argv[]) | |||
50 | u->elts = (uni_elt*)malloc(sizeof(uni_elt)*num_vertices); | 49 | u->elts = (uni_elt*)malloc(sizeof(uni_elt)*num_vertices); |
51 | output = iMallocHandle(height, width); | 50 | output = iMallocHandle(height, width); |
52 | 51 | ||
53 | printf("start\n"); | ||
54 | for_each_job{ | 52 | for_each_job{ |
55 | seg = segment_image(im, sigma, k, min_size, num_ccs, segments, edges, imageOut, tempOut, kernel, edgeWeights, in, ind, u, output); | 53 | seg = segment_image(im, sigma, k, min_size, num_ccs, segments, edges, imageOut, tempOut, kernel, edgeWeights, in, ind, u, output); |
56 | out = seg; | 54 | out = seg; |
57 | } | 55 | } |
58 | printf("end..\n"); | 56 | |
59 | #ifdef CHECK | 57 | #ifdef CHECK |
60 | /** Self checking - use expected.txt from data directory **/ | 58 | /** Self checking - use expected.txt from data directory **/ |
61 | { | 59 | { |
62 | int ret=0; | 60 | int ret=0; |
diff --git a/SD-VBS/benchmarks/sift/data/cif/12345.txt b/SD-VBS/benchmarks/sift/data/cif/12345.txt deleted file mode 100644 index daa6c4e..0000000 --- a/SD-VBS/benchmarks/sift/data/cif/12345.txt +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | sift-cif none 24 none 5 104051864 12345 0 0 0 | ||
2 | sift-cif none 24 none 5 96525328 12345 1 0 0 | ||
3 | sift-cif none 24 none 5 96277128 12345 2 0 0 | ||
4 | sift-cif none 24 none 5 96178952 12345 3 0 0 | ||
5 | sift-cif none 24 none 5 95490272 12345 4 0 0 | ||
6 | sift-cif none 10 none 5 103447040 12345 0 0 0 | ||
7 | sift-cif none 10 none 5 96958904 12345 1 0 0 | ||
8 | sift-cif none 10 none 5 96584488 12345 2 0 0 | ||
9 | sift-cif none 10 none 5 96588392 12345 3 0 0 | ||
10 | sift-cif none 10 none 5 96627096 12345 4 0 0 | ||
11 | sift-cif none 10 none 5 103573096 12345 0 0 0 | ||
12 | sift-cif none 10 none 5 96952456 12345 1 0 0 | ||
13 | sift-cif none 10 none 5 96591240 12345 2 0 0 | ||
14 | sift-cif none 10 none 5 96764048 12345 3 0 0 | ||
15 | sift-cif none 10 none 5 96623720 12345 4 0 0 | ||
16 | sift-cif none 25 none 5 102780536 12345 0 0 0 | ||
17 | sift-cif none 25 none 5 96114424 12345 1 0 0 | ||
18 | sift-cif none 25 none 5 95936440 12345 2 0 0 | ||
19 | sift-cif none 25 none 5 95819504 12345 3 0 0 | ||
20 | sift-cif none 25 none 5 95930288 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/sift/src/c/script_sift.c b/SD-VBS/benchmarks/sift/src/c/script_sift.c index 0b2f106..ab39ae3 100644 --- a/SD-VBS/benchmarks/sift/src/c/script_sift.c +++ b/SD-VBS/benchmarks/sift/src/c/script_sift.c | |||
@@ -45,7 +45,6 @@ int main(int argc, char* argv[]) | |||
45 | unsigned int* startTime, *endTime, *elapsed; | 45 | unsigned int* startTime, *endTime, *elapsed; |
46 | 46 | ||
47 | char imSrc[100]; | 47 | char imSrc[100]; |
48 | printf("Input image: "); | ||
49 | scanf("%s", imSrc); | 48 | scanf("%s", imSrc); |
50 | im = readImage(imSrc); | 49 | im = readImage(imSrc); |
51 | image = fiDeepCopy(im); | 50 | image = fiDeepCopy(im); |
@@ -53,16 +52,14 @@ int main(int argc, char* argv[]) | |||
53 | cols = image->width; | 52 | cols = image->width; |
54 | 53 | ||
55 | 54 | ||
56 | printf("start\n"); | ||
57 | for_each_job{ | 55 | for_each_job{ |
58 | image = fiDeepCopy(im); | 56 | image = fiDeepCopy(im); |
59 | normalizeImage(image); | 57 | normalizeImage(image); |
60 | /** Extract sift features for the normalized image **/ | 58 | /** Extract sift features for the normalized image **/ |
61 | frames = sift(image); | 59 | frames = sift(image); |
62 | } | 60 | } |
63 | printf("end..\n"); | 61 | |
64 | 62 | #ifdef CHECK | |
65 | #ifdef CHECK | ||
66 | { | 63 | { |
67 | int ret=0; | 64 | int ret=0; |
68 | float tol = 0.2; | 65 | float tol = 0.2; |
diff --git a/SD-VBS/benchmarks/stitch/data/cif/12345.txt b/SD-VBS/benchmarks/stitch/data/cif/12345.txt deleted file mode 100644 index f0c220c..0000000 --- a/SD-VBS/benchmarks/stitch/data/cif/12345.txt +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | stitch-cif none 11 none 5 61208488 12345 0 0 0 | ||
2 | stitch-cif none 11 none 5 58193420 12345 1 0 0 | ||
3 | stitch-cif none 11 none 5 57242564 12345 2 0 0 | ||
4 | stitch-cif none 11 none 5 59547024 12345 3 0 0 | ||
5 | stitch-cif none 11 none 5 59163272 12345 4 0 0 | ||
6 | stitch-cif none 6 none 5 59262136 12345 0 0 0 | ||
7 | stitch-cif none 6 none 5 58786528 12345 1 0 0 | ||
8 | stitch-cif none 6 none 5 58322800 12345 2 0 0 | ||
9 | stitch-cif none 6 none 5 76624688 12345 3 0 0 | ||
10 | stitch-cif none 6 none 5 56600464 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/stitch/src/c/script_stitch.c b/SD-VBS/benchmarks/stitch/src/c/script_stitch.c index 00c9a93..b7611f1 100644 --- a/SD-VBS/benchmarks/stitch/src/c/script_stitch.c +++ b/SD-VBS/benchmarks/stitch/src/c/script_stitch.c | |||
@@ -16,16 +16,13 @@ int main(int argc, char* argv[]) | |||
16 | I2D *Icur; | 16 | I2D *Icur; |
17 | int i, j; | 17 | int i, j; |
18 | char im1[100], im2[100]; | 18 | char im1[100], im2[100]; |
19 | |||
20 | 19 | ||
21 | printf("Input image: "); | ||
22 | scanf("%s", im1); | 20 | scanf("%s", im1); |
23 | Icur = readImage(im1); | 21 | Icur = readImage(im1); |
24 | rows = Icur->height; | 22 | rows = Icur->height; |
25 | cols = Icur->width; | 23 | cols = Icur->width; |
26 | 24 | ||
27 | printf("start\n"); | 25 | for_each_job { |
28 | for_each_job{ | ||
29 | v = harris(Icur); | 26 | v = harris(Icur); |
30 | interestPnts = getANMS(v, 24); | 27 | interestPnts = getANMS(v, 24); |
31 | int1 = fMallocHandle(interestPnts->height, 1); | 28 | int1 = fMallocHandle(interestPnts->height, 1); |
@@ -38,10 +35,8 @@ int main(int argc, char* argv[]) | |||
38 | 35 | ||
39 | Fcur = extractFeatures(Icur, int1, int2); | 36 | Fcur = extractFeatures(Icur, int1, int2); |
40 | } | 37 | } |
41 | printf("end..\n"); | ||
42 | |||
43 | 38 | ||
44 | #ifdef CHECK | 39 | #ifdef CHECK |
45 | /** Self checking - use expected.txt from data directory **/ | 40 | /** Self checking - use expected.txt from data directory **/ |
46 | { | 41 | { |
47 | int ret=0; | 42 | int ret=0; |
diff --git a/SD-VBS/benchmarks/svm/src/c/script_svm.c b/SD-VBS/benchmarks/svm/src/c/script_svm.c index 62a264d..f1ce963 100644 --- a/SD-VBS/benchmarks/svm/src/c/script_svm.c +++ b/SD-VBS/benchmarks/svm/src/c/script_svm.c | |||
@@ -70,24 +70,23 @@ int main(int argc, char* argv[]) | |||
70 | #endif | 70 | #endif |
71 | 71 | ||
72 | 72 | ||
73 | printf("trn file 1: "); | 73 | // trn file 1 |
74 | scanf("%s", im1); | 74 | scanf("%s", im1); |
75 | trn1 = readFile(im1); | 75 | trn1 = readFile(im1); |
76 | 76 | ||
77 | printf("trn file 2: "); | 77 | // trn file 2 |
78 | scanf("%s", im1); | 78 | scanf("%s", im1); |
79 | trn2 = readFile(im1); | 79 | trn2 = readFile(im1); |
80 | 80 | ||
81 | printf("tst file 1: "); | 81 | // tst file 1 |
82 | scanf("%s", im1); | 82 | scanf("%s", im1); |
83 | tst1 = readFile(im1); | 83 | tst1 = readFile(im1); |
84 | 84 | ||
85 | printf("tst file 2: "); | 85 | // tst file 2 |
86 | scanf("%s", im1); | 86 | scanf("%s", im1); |
87 | tst2 = readFile(im1); | 87 | tst2 = readFile(im1); |
88 | 88 | ||
89 | printf("start.\n"); | 89 | for_each_job { |
90 | for_each_job{ | ||
91 | alpha = getAlphaFromTrainSet(N, trn1, trn2, iter); | 90 | alpha = getAlphaFromTrainSet(N, trn1, trn2, iter); |
92 | a_result = alpha->a_result; | 91 | a_result = alpha->a_result; |
93 | b_result = alpha->b_result; | 92 | b_result = alpha->b_result; |
@@ -135,8 +134,8 @@ int main(int argc, char* argv[]) | |||
135 | asubsref(result,n) = maxs; | 134 | asubsref(result,n) = maxs; |
136 | } | 135 | } |
137 | } | 136 | } |
138 | printf("end..\n"); | 137 | |
139 | #ifdef CHECK | 138 | #ifdef CHECK |
140 | /** Self checking - use expected.txt from data directory **/ | 139 | /** Self checking - use expected.txt from data directory **/ |
141 | { | 140 | { |
142 | int ret=0; | 141 | int ret=0; |
diff --git a/SD-VBS/benchmarks/texture_synthesis/data/cif/12345.txt b/SD-VBS/benchmarks/texture_synthesis/data/cif/12345.txt deleted file mode 100644 index 0a5a74f..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/data/cif/12345.txt +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | texture_synthesis-cif none 30 none 5 10714285 12345 0 0 0 | ||
2 | texture_synthesis-cif none 30 none 5 5829825 12345 1 0 0 | ||
3 | texture_synthesis-cif none 30 none 5 5311136 12345 2 0 0 | ||
4 | texture_synthesis-cif none 30 none 5 5324201 12345 3 0 0 | ||
5 | texture_synthesis-cif none 30 none 5 5328949 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c b/SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c index 01ddefd..2ebb423 100644 --- a/SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c +++ b/SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c | |||
@@ -27,11 +27,10 @@ int main(int argc, char **argv) | |||
27 | image = fiDeepCopy(im); | 27 | image = fiDeepCopy(im); |
28 | init_params(data); | 28 | init_params(data); |
29 | 29 | ||
30 | printf("start.\n"); | 30 | for_each_job { |
31 | for_each_job{ | ||
32 | create_texture(image, data); | 31 | create_texture(image, data); |
33 | } | 32 | } |
34 | printf("end..\n"); | 33 | |
35 | #ifdef CHECK | 34 | #ifdef CHECK |
36 | { | 35 | { |
37 | int ret=0; | 36 | int ret=0; |
@@ -59,7 +58,6 @@ I2D* parse_flags(int argc, char ** argv) | |||
59 | I2D* image; | 58 | I2D* image; |
60 | char fileNm[256]; | 59 | char fileNm[256]; |
61 | 60 | ||
62 | printf("Input image: "); | ||
63 | scanf("%s", fileNm); | 61 | scanf("%s", fileNm); |
64 | image = readImage(fileNm); | 62 | image = readImage(fileNm); |
65 | WIDTHin = image->width; | 63 | WIDTHin = image->width; |
@@ -122,7 +120,7 @@ I2D* parse_flags(int argc, char ** argv) | |||
122 | localx = 5; | 120 | localx = 5; |
123 | localy = 5; | 121 | localy = 5; |
124 | #endif | 122 | #endif |
125 | printf("Input size\t\t- (%dx%d)\n", HEIGHTin, WIDTHin); | 123 | // printf("Input size\t\t- (%dx%d)\n", HEIGHTin, WIDTHin); |
126 | 124 | ||
127 | // xloopin = malloc(2*WIDTHin*sizeof(int)); | 125 | // xloopin = malloc(2*WIDTHin*sizeof(int)); |
128 | // yloopin = malloc(2*HEIGHTin*sizeof(int)); | 126 | // yloopin = malloc(2*HEIGHTin*sizeof(int)); |
diff --git a/SD-VBS/benchmarks/tracking/data/cif/12345.txt b/SD-VBS/benchmarks/tracking/data/cif/12345.txt deleted file mode 100644 index 3627b7f..0000000 --- a/SD-VBS/benchmarks/tracking/data/cif/12345.txt +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | tracking-cif none 21 none 5 16608282 12345 0 0 0 | ||
2 | tracking-cif none 21 none 5 13215674 12345 1 0 0 | ||
3 | tracking-cif none 21 none 5 13183165 12345 2 0 0 | ||
4 | tracking-cif none 21 none 5 13226365 12345 3 0 0 | ||
5 | tracking-cif none 21 none 5 13302066 12345 4 0 0 | ||
diff --git a/SD-VBS/benchmarks/tracking/src/c/script_tracking.c b/SD-VBS/benchmarks/tracking/src/c/script_tracking.c index bb48ace..c0af2d7 100644 --- a/SD-VBS/benchmarks/tracking/src/c/script_tracking.c +++ b/SD-VBS/benchmarks/tracking/src/c/script_tracking.c | |||
@@ -93,22 +93,18 @@ int main(int argc, char* argv[]) | |||
93 | 93 | ||
94 | I2D* images[counter]; | 94 | I2D* images[counter]; |
95 | /** Read input image **/ | 95 | /** Read input image **/ |
96 | for(count=1; count<=counter; count++) | 96 | for(count=1; count<=counter; count++){ |
97 | { | 97 | /** Read Image **/ |
98 | /** Read image **/ | 98 | scanf("%s", im1); |
99 | printf("Input image %d: ", count); | ||
100 | scanf("%s", im1); | ||
101 | images[count - 1] = readImage(im1); | 99 | images[count - 1] = readImage(im1); |
102 | if(count == 1) Ic = readImage(im1); | 100 | if(count == 1) Ic = readImage(im1); |
103 | } | 101 | } |
104 | 102 | ||
105 | 103 | ||
106 | rows = Ic->height; | 104 | rows = Ic->height; |
107 | cols = Ic->width; | 105 | cols = Ic->width; |
108 | 106 | ||
109 | printf("start\n"); | 107 | for_each_job { |
110 | for_each_job{ | ||
111 | |||
112 | /** IMAGE PRE-PROCESSING **/ | 108 | /** IMAGE PRE-PROCESSING **/ |
113 | 109 | ||
114 | /** Blur the image to remove noise - weighted avergae filter **/ | 110 | /** Blur the image to remove noise - weighted avergae filter **/ |
@@ -230,8 +226,7 @@ int main(int argc, char* argv[]) | |||
230 | fFreeHandle(newpoints); | 226 | fFreeHandle(newpoints); |
231 | } | 227 | } |
232 | } | 228 | } |
233 | printf("end..\n"); | 229 | #ifdef CHECK |
234 | #ifdef CHECK | ||
235 | /* Self checking */ | 230 | /* Self checking */ |
236 | { | 231 | { |
237 | int ret=0; | 232 | int ret=0; |
diff --git a/SD-VBS/common/c/extra.h b/SD-VBS/common/c/extra.h index 3215951..8c67b33 100644 --- a/SD-VBS/common/c/extra.h +++ b/SD-VBS/common/c/extra.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * Copyright 2019 Sims Hill Osborne and Joshua Bakita | 2 | * Copyright 2019 Sims Hill Osborne and 2020 Joshua Bakita |
3 | * | 3 | * |
4 | * This header provides facilities by which to separably run and time TACLeBench | 4 | * This header provides facilities by which to separably run and time TACLeBench |
5 | * To use this for paired task timing, define PAIRED (pass CFLAGS=-DPAIRED to make) | 5 | * To use this for paired task timing, define PAIRED (pass CFLAGS=-DPAIRED to make) |
@@ -29,7 +29,7 @@ extern int sched_getcpu(); | |||
29 | #include <sys/syscall.h> | 29 | #include <sys/syscall.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #define LITMUS 0 | 32 | #define LITMUS 1 |
33 | #define MC2 0 | 33 | #define MC2 0 |
34 | #define MMDC_PROF 0 | 34 | #define MMDC_PROF 0 |
35 | 35 | ||
@@ -200,20 +200,6 @@ static void _rt_load_params_itrl(int argc, char **argv) { | |||
200 | perror("Unable to migrate to specified CPU"); \ | 200 | perror("Unable to migrate to specified CPU"); \ |
201 | exit(1); \ | 201 | exit(1); \ |
202 | } \ | 202 | } \ |
203 | struct reservation_config res; \ | ||
204 | res.id = gettid(); \ | ||
205 | res.cpu = cpu; \ | ||
206 | res.priority = LITMUS_HIGHEST_PRIORITY; \ | ||
207 | /* we take over half the CPU time (these are ns) */ \ | ||
208 | res.polling_params.budget = ms2ns(3000); \ | ||
209 | res.polling_params.period = ms2ns(3000); \ | ||
210 | res.polling_params.offset = 0; \ | ||
211 | res.polling_params.relative_deadline = ms2ns(3000); \ | ||
212 | /* Not 100% sure that we should use periodic polling */ \ | ||
213 | if (reservation_create(PERIODIC_POLLING, &res) < 0) { \ | ||
214 | perror("Unable to create reservation"); \ | ||
215 | exit(1); \ | ||
216 | } \ | ||
217 | struct rt_task rt_param; \ | 203 | struct rt_task rt_param; \ |
218 | init_rt_task_param(&rt_param); \ | 204 | init_rt_task_param(&rt_param); \ |
219 | /* Supposedly the next two parameters are irrelevant when reservations are enabled, but I'm leaving them anyway... */ \ | 205 | /* Supposedly the next two parameters are irrelevant when reservations are enabled, but I'm leaving them anyway... */ \ |
@@ -223,7 +209,7 @@ static void _rt_load_params_itrl(int argc, char **argv) { | |||
223 | rt_param.cls = RT_CLASS_HARD; \ | 209 | rt_param.cls = RT_CLASS_HARD; \ |
224 | rt_param.release_policy = TASK_PERIODIC; \ | 210 | rt_param.release_policy = TASK_PERIODIC; \ |
225 | rt_param.budget_policy = NO_ENFORCEMENT; \ | 211 | rt_param.budget_policy = NO_ENFORCEMENT; \ |
226 | rt_param.cpu = cpu; \ | 212 | rt_param.cpu = _rt_core; \ |
227 | if (set_rt_task_param(gettid(), &rt_param) < 0) { \ | 213 | if (set_rt_task_param(gettid(), &rt_param) < 0) { \ |
228 | perror("Unable to set real-time parameters"); \ | 214 | perror("Unable to set real-time parameters"); \ |
229 | exit(1); \ | 215 | exit(1); \ |
@@ -244,13 +230,7 @@ static void _rt_load_params_itrl(int argc, char **argv) { | |||
244 | 230 | ||
245 | #if MC2 | 231 | #if MC2 |
246 | #define MC2_SETUP \ | 232 | #define MC2_SETUP \ |
247 | struct mc2_task mc2_param; \ | 233 | |
248 | mc2_param.res_id = gettid(); \ | ||
249 | mc2_param.crit = CRIT_LEVEL_A; \ | ||
250 | if (set_mc2_task_param(gettid(), &mc2_param) < 0) { \ | ||
251 | perror("Unable to set MC^2 task params"); \ | ||
252 | exit(1); \ | ||
253 | } \ | ||
254 | set_page_color(rt_param.cpu); | 234 | set_page_color(rt_param.cpu); |
255 | #else | 235 | #else |
256 | #define MC2_SETUP | 236 | #define MC2_SETUP |
@@ -261,7 +241,6 @@ static void _rt_load_params_itrl(int argc, char **argv) { | |||
261 | perror("Unable to become a real-time task"); \ | 241 | perror("Unable to become a real-time task"); \ |
262 | exit(1); \ | 242 | exit(1); \ |
263 | } \ | 243 | } \ |
264 | reservation_destroy(gettid(), rt_param.cpu); | ||
265 | 244 | ||
266 | #if __arm__ | 245 | #if __arm__ |
267 | // On ARM, manually flush the cache | 246 | // On ARM, manually flush the cache |
diff --git a/SD-VBS/common/makefiles/Makefile.common b/SD-VBS/common/makefiles/Makefile.common index 7fc8824..964ece6 100644 --- a/SD-VBS/common/makefiles/Makefile.common +++ b/SD-VBS/common/makefiles/Makefile.common | |||
@@ -18,8 +18,7 @@ endif | |||
18 | endif | 18 | endif |
19 | 19 | ||
20 | CC=gcc | 20 | CC=gcc |
21 | override CFLAGS += -DGCC -D$(INPUT) -pthread -DCHECK | 21 | override CFLAGS += -DGCC -D$(INPUT) -pthread -I../../../../.. |
22 | |||
23 | COMMON_DIR := $(TOP_DIR)/common/c | 22 | COMMON_DIR := $(TOP_DIR)/common/c |
24 | M_COMMON := $(TOP_DIR)/common/matlab | 23 | M_COMMON := $(TOP_DIR)/common/matlab |
25 | M_TOOLBOX=$(TOP_DIR)/common/toolbox | 24 | M_TOOLBOX=$(TOP_DIR)/common/toolbox |
@@ -29,7 +28,11 @@ PRELOAD_TIMES_DIR := $(TOP_DIR)/preload-times/$(BMARK) | |||
29 | MTIMING_DIR := $(TOP_DIR)/cycles/$(BMARK) | 28 | MTIMING_DIR := $(TOP_DIR)/cycles/$(BMARK) |
30 | BMARK_DIR := $(TOP_DIR)/benchmarks/$(BMARK) | 29 | BMARK_DIR := $(TOP_DIR)/benchmarks/$(BMARK) |
31 | TOOL_DIR := $(TOP_DIR)/tools | 30 | TOOL_DIR := $(TOP_DIR)/tools |
32 | 31 | LIBLITMUS ?= /home/litmus/liblitmus | |
32 | ifneq ($(shell grep "define LITMUS 1" ../../../../../extra.h),) | ||
33 | override CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include | ||
34 | override LDFLAGS += -L${LIBLITMUS} -llitmus | ||
35 | endif | ||
33 | #The options set below and specific to each benchmark. Disparity takes 2 input images, whereas Tracking can take any >1 input images =. | 36 | #The options set below and specific to each benchmark. Disparity takes 2 input images, whereas Tracking can take any >1 input images =. |
34 | 37 | ||
35 | # Variables exported from the benchmark specific Makefiles: | 38 | # Variables exported from the benchmark specific Makefiles: |
@@ -57,7 +60,7 @@ COMMON_SRC := $(wildcard $(COMMON_DIR)/*.c) | |||
57 | 60 | ||
58 | EXE = | 61 | EXE = |
59 | INCLUDES = -I$(COMMON_DIR) -I$(C_DIR) | 62 | INCLUDES = -I$(COMMON_DIR) -I$(C_DIR) |
60 | COMPILE_C = $(CC) $(CFLAGS) -lm -O2 $(INCLUDES) | 63 | COMPILE_C = $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDES) -O2 |
61 | #COMPILE_C = $(CC) $(CFLAGS) -DGENERATE_OUTPUT -lm -O2 $(INCLUDES) | 64 | #COMPILE_C = $(CC) $(CFLAGS) -DGENERATE_OUTPUT -lm -O2 $(INCLUDES) |
62 | COMPILE_G = $(CC) $(CFLAGS) -g -lm $(INCLUDES) | 65 | COMPILE_G = $(CC) $(CFLAGS) -g -lm $(INCLUDES) |
63 | COMPILE_PG = $(COMPILE_G) -pg | 66 | COMPILE_PG = $(COMPILE_G) -pg |
@@ -108,7 +111,7 @@ compile-preload: | |||
108 | compile: $(C_SRC) | 111 | compile: $(C_SRC) |
109 | @echo | 112 | @echo |
110 | @echo -e "Benchmark\t\t- $(BMARK)" | 113 | @echo -e "Benchmark\t\t- $(BMARK)" |
111 | @$(COMPILE_C) $(COMMON_SRC) $(C_SRC) -lrt -lm -w -o $(BMARK)$(EXE) | 114 | @$(COMPILE_C) $(COMMON_SRC) $(C_SRC) -lrt -lm -w -o $(BMARK)$(EXE) |
112 | 115 | ||
113 | compile-prof: $(C_SRC) | 116 | compile-prof: $(C_SRC) |
114 | @echo | 117 | @echo |
diff --git a/SD-VBS/disparity_qcif b/SD-VBS/disparity_qcif new file mode 120000 index 0000000..9874fe6 --- /dev/null +++ b/SD-VBS/disparity_qcif | |||
@@ -0,0 +1 @@ | |||
benchmarks/disparity/data/qcif/disparity \ No newline at end of file | |||
diff --git a/SD-VBS/localization_qcif b/SD-VBS/localization_qcif new file mode 120000 index 0000000..d81d27e --- /dev/null +++ b/SD-VBS/localization_qcif | |||
@@ -0,0 +1 @@ | |||
benchmarks/localization/data/qcif/localization \ No newline at end of file | |||
diff --git a/SD-VBS/mser_qcif b/SD-VBS/mser_qcif new file mode 120000 index 0000000..8121c92 --- /dev/null +++ b/SD-VBS/mser_qcif | |||
@@ -0,0 +1 @@ | |||
benchmarks/mser/data/qcif/mser \ No newline at end of file | |||
diff --git a/SD-VBS/multi_ncut_qcif b/SD-VBS/multi_ncut_qcif new file mode 120000 index 0000000..e3f755f --- /dev/null +++ b/SD-VBS/multi_ncut_qcif | |||
@@ -0,0 +1 @@ | |||
benchmarks/multi_ncut/data/qcif/multi_ncut \ No newline at end of file | |||
diff --git a/SD-VBS/sd-vbsNames.txt b/SD-VBS/sd-vbsNames.txt new file mode 100644 index 0000000..23b168d --- /dev/null +++ b/SD-VBS/sd-vbsNames.txt | |||
@@ -0,0 +1,9 @@ | |||
1 | disparity_qcif echo -e "./benchmarks/disparity/data/qcif/1.bmp\\n./benchmarks/disparity/data/qcif/2.bmp" | ||
2 | localization_qcif echo "./benchmarks/localization/data/qcif/1.txt" | ||
3 | mser_qcif echo "./benchmarks/mser/data/qcif/1.bmp" | ||
4 | multi_ncut_qcif echo "./benchmarks/multi_ncut/data/qcif/1.bmp" | ||
5 | sift_qcif echo "./benchmarks/sift/data/qcif/1.bmp" | ||
6 | stitch_qcif echo "./benchmarks/stitch/data/qcif/1.bmp" | ||
7 | svm_qcif echo -e "./benchmarks/svm/data/qcif/d16trn_1.txt\\n./benchmarks/svm/data/qcif/d16trn_2.txt\\n./benchmarks/svm/data/qcif/d16tst_1.txt\\n./benchmarks/svm/data/qcif/d16tst_2.txt" | ||
8 | texture_synthesis_qcif echo "./benchmarks/texture_synthesis/data/qcif/1.bmp" | ||
9 | tracking_qcif echo -e "./benchmarks/tracking/data/qcif/1.bmp\\n./benchmarks/tracking/data/qcif/2.bmp\\n./benchmarks/tracking/data/qcif/3.bmp\\n./benchmarks/tracking/data/qcif/4.bmp" | ||
diff --git a/SD-VBS/sift_qcif b/SD-VBS/sift_qcif new file mode 120000 index 0000000..724930b --- /dev/null +++ b/SD-VBS/sift_qcif | |||
@@ -0,0 +1 @@ | |||
benchmarks/sift/data/qcif/sift \ No newline at end of file | |||
diff --git a/SD-VBS/stitch_qcif b/SD-VBS/stitch_qcif new file mode 120000 index 0000000..0b05a84 --- /dev/null +++ b/SD-VBS/stitch_qcif | |||
@@ -0,0 +1 @@ | |||
benchmarks/stitch/data/qcif/stitch \ No newline at end of file | |||
diff --git a/SD-VBS/svm_qcif b/SD-VBS/svm_qcif new file mode 120000 index 0000000..a8dc348 --- /dev/null +++ b/SD-VBS/svm_qcif | |||
@@ -0,0 +1 @@ | |||
benchmarks/svm/data/qcif/svm \ No newline at end of file | |||
diff --git a/SD-VBS/texture_synthesis_qcif b/SD-VBS/texture_synthesis_qcif new file mode 120000 index 0000000..e198a53 --- /dev/null +++ b/SD-VBS/texture_synthesis_qcif | |||
@@ -0,0 +1 @@ | |||
benchmarks/texture_synthesis/data/qcif/texture_synthesis \ No newline at end of file | |||
diff --git a/SD-VBS/tracking_qcif b/SD-VBS/tracking_qcif new file mode 120000 index 0000000..683191e --- /dev/null +++ b/SD-VBS/tracking_qcif | |||
@@ -0,0 +1 @@ | |||
benchmarks/tracking/data/qcif/tracking \ No newline at end of file | |||