diff options
| author | leochanj <jbakita@cs.unc.edu> | 2020-10-23 00:13:06 -0400 |
|---|---|---|
| committer | leochanj <jbakita@cs.unc.edu> | 2020-10-23 00:13:06 -0400 |
| commit | d427b910baffcc330b0b24d87c9b3216f306d0fb (patch) | |
| tree | ef312bc5757860a03673316be421c1624a5bb6b7 /SD-VBS/benchmarks/stitch/src/c | |
| parent | b839934c04b214c9bdab399628ee2b94a65bcd10 (diff) | |
| parent | a7c3210215bd1181ae93b23c313941dfb44519fb (diff) | |
merged
Diffstat (limited to 'SD-VBS/benchmarks/stitch/src/c')
| -rw-r--r-- | SD-VBS/benchmarks/stitch/src/c/script_stitch.c | 11 |
1 files changed, 3 insertions, 8 deletions
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; |
