summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/tracking/src/c/script_tracking.c
diff options
context:
space:
mode:
Diffstat (limited to 'SD-VBS/benchmarks/tracking/src/c/script_tracking.c')
-rw-r--r--SD-VBS/benchmarks/tracking/src/c/script_tracking.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/SD-VBS/benchmarks/tracking/src/c/script_tracking.c b/SD-VBS/benchmarks/tracking/src/c/script_tracking.c
index bb48ace..2938126 100644
--- a/SD-VBS/benchmarks/tracking/src/c/script_tracking.c
+++ b/SD-VBS/benchmarks/tracking/src/c/script_tracking.c
@@ -96,19 +96,16 @@ int main(int argc, char* argv[])
96 for(count=1; count<=counter; count++) 96 for(count=1; count<=counter; count++)
97 { 97 {
98 /** Read image **/ 98 /** Read image **/
99 printf("Input image %d: ", count); 99 scanf("%s", im1);
100 scanf("%s", im1);
101 images[count - 1] = readImage(im1); 100 images[count - 1] = readImage(im1);
102 if(count == 1) Ic = readImage(im1); 101 if(count == 1) Ic = readImage(im1);
103 } 102 }
104 103
105 104
106 rows = Ic->height; 105 rows = Ic->height;
107 cols = Ic->width; 106 cols = Ic->width;
108 107
109 printf("start\n"); 108 for_each_job {
110 for_each_job{
111
112 /** IMAGE PRE-PROCESSING **/ 109 /** IMAGE PRE-PROCESSING **/
113 110
114 /** Blur the image to remove noise - weighted avergae filter **/ 111 /** Blur the image to remove noise - weighted avergae filter **/
@@ -230,8 +227,8 @@ int main(int argc, char* argv[])
230 fFreeHandle(newpoints); 227 fFreeHandle(newpoints);
231 } 228 }
232 } 229 }
233 printf("end..\n"); 230
234#ifdef CHECK 231#ifdef CHECK
235 /* Self checking */ 232 /* Self checking */
236 { 233 {
237 int ret=0; 234 int ret=0;