From 163c440444c74a4e0bbe0a8db3d1ca725413994b Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 22 Oct 2020 03:17:31 -0400 Subject: Make SD-VBS compatible with run_bench.sh and cleanup SD-VBS: - Run silently - Fix some whitespace errors - Don't duplicate extra.h - Auto-detect if building with LITMUS-RT - Disable result checking - Add helper symlinks Misc: - Remove unused code from libextra - Set some missing rt_param fields in libextra - Disable CSV info dump from computeSMTslowdown.sh - Widen scope of .gitignore on .txt files - Include list of 2MB DIS pair benchmarks and inputs --- SD-VBS/benchmarks/stitch/src/c/script_stitch.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'SD-VBS/benchmarks/stitch/src/c/script_stitch.c') 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[]) I2D *Icur; int i, j; char im1[100], im2[100]; - - printf("Input image: "); scanf("%s", im1); Icur = readImage(im1); rows = Icur->height; cols = Icur->width; - - printf("start\n"); - for_each_job{ + + for_each_job { v = harris(Icur); interestPnts = getANMS(v, 24); int1 = fMallocHandle(interestPnts->height, 1); @@ -38,10 +35,8 @@ int main(int argc, char* argv[]) Fcur = extractFeatures(Icur, int1, int2); } - printf("end..\n"); - -#ifdef CHECK +#ifdef CHECK /** Self checking - use expected.txt from data directory **/ { int ret=0; -- cgit v1.2.2