summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/stitch/data/sim
diff options
context:
space:
mode:
authorLeo Chan <leochanj@live.unc.edu>2020-10-22 01:53:21 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 01:56:35 -0400
commitd17b33131c14864bd1eae275f49a3f148e21cf29 (patch)
tree0d8f77922e8d193cb0f6edab83018f057aad64a0 /SD-VBS/benchmarks/stitch/data/sim
parent601ed25a4c5b66cb75315832c15613a727db2c26 (diff)
Squashed commit of the sb-vbs branch.
Includes the SD-VBS benchmarks modified to: - Use libextra to loop as realtime jobs - Preallocate memory before starting their main computation - Accept input via stdin instead of via argc Does not include the SD-VBS matlab code. Fixes libextra execution in LITMUS^RT.
Diffstat (limited to 'SD-VBS/benchmarks/stitch/data/sim')
-rw-r--r--SD-VBS/benchmarks/stitch/data/sim/1.bmpbin0 -> 630 bytes
-rw-r--r--SD-VBS/benchmarks/stitch/data/sim/2.bmpbin0 -> 630 bytes
-rw-r--r--SD-VBS/benchmarks/stitch/data/sim/Makefile6
-rw-r--r--SD-VBS/benchmarks/stitch/data/sim/c.txt1761
-rw-r--r--SD-VBS/benchmarks/stitch/data/sim/expected.m1
-rw-r--r--SD-VBS/benchmarks/stitch/data/sim/expected_C.txt9
-rw-r--r--SD-VBS/benchmarks/stitch/data/sim/m.txt3478
7 files changed, 5255 insertions, 0 deletions
diff --git a/SD-VBS/benchmarks/stitch/data/sim/1.bmp b/SD-VBS/benchmarks/stitch/data/sim/1.bmp
new file mode 100644
index 0000000..d8e683b
--- /dev/null
+++ b/SD-VBS/benchmarks/stitch/data/sim/1.bmp
Binary files differ
diff --git a/SD-VBS/benchmarks/stitch/data/sim/2.bmp b/SD-VBS/benchmarks/stitch/data/sim/2.bmp
new file mode 100644
index 0000000..a4cfab2
--- /dev/null
+++ b/SD-VBS/benchmarks/stitch/data/sim/2.bmp
Binary files differ
diff --git a/SD-VBS/benchmarks/stitch/data/sim/Makefile b/SD-VBS/benchmarks/stitch/data/sim/Makefile
new file mode 100644
index 0000000..6e75101
--- /dev/null
+++ b/SD-VBS/benchmarks/stitch/data/sim/Makefile
@@ -0,0 +1,6 @@
1INPUT=sim
2include ../../../../common/makefiles/Makefile.include
3
4BMARK=stitch
5include $(MAKEFILE_COMMON_DIR)/Makefile.common
6
diff --git a/SD-VBS/benchmarks/stitch/data/sim/c.txt b/SD-VBS/benchmarks/stitch/data/sim/c.txt
new file mode 100644
index 0000000..9704752
--- /dev/null
+++ b/SD-VBS/benchmarks/stitch/data/sim/c.txt
@@ -0,0 +1,1761 @@
1gcc -DGCC -DTIMING -Dsim -lm -O2 -I../../../C_common -I../../C ../../../C_common/calcSobel_dX.c ../../../C_common/calcSobel_dY.c ../../../C_common/fDeepCopy.c ../../../C_common/fDeepCopyRange.c ../../../C_common/fDivide.c ../../../C_common/ffConv2.c ../../../C_common/ffDivide.c ../../../C_common/ffiConv2.c ../../../C_common/fFind3.c ../../../C_common/ffTimes.c ../../../C_common/ffVertcat.c ../../../C_common/fHorzcat.c ../../../C_common/fiConv2.c ../../../C_common/fiDeepCopy.c ../../../C_common/fMallocHandle.c ../../../C_common/fMdivide.c ../../../C_common/fMinus.c ../../../C_common/fMtimes.c ../../../C_common/fPlus.c ../../../C_common/fReshape.c ../../../C_common/fSelfCheck.c ../../../C_common/fSetArray.c ../../../C_common/fSort.c ../../../C_common/fSortIndices.c ../../../C_common/fSum2.c ../../../C_common/fSum.c ../../../C_common/fTimes.c ../../../C_common/fTranspose.c ../../../C_common/horzcat.c ../../../C_common/iDeepCopy.c ../../../C_common/iDeepCopyRange.c ../../../C_common/iHorzcat.c ../../../C_common/iiConv2.c ../../../C_common/imageBlur.c ../../../C_common/imageResize.c ../../../C_common/iMallocHandle.c ../../../C_common/iReshape.c ../../../C_common/iSetArray.c ../../../C_common/isMinus.c ../../../C_common/iSort.c ../../../C_common/iSortIndices.c ../../../C_common/isPlus.c ../../../C_common/iTranspose.c ../../../C_common/makeImage.c ../../../C_common/photonEndTiming.c ../../../C_common/photonPrintTiming.c ../../../C_common/photonReportTiming.c ../../../C_common/photonStartTiming.c ../../../C_common/readFile.c ../../../C_common/readImage.c ../../../C_common/selfCheck.c ../../C/dist2.c ../../C/extractFeatures.c ../../C/getANMS.c ../../C/harris.c ../../C/matchFeatures.c ../../C/maxWindow.c ../../C/script_stitch.c ../../C/supress.c -o stitch
2Running C Version of the benchmark
3./stitch ../../data/sim ../result
4Image paths are ../../data/sim/1.bmp ../../data/sim/2.bmp
5bits per pixel 24
6137
794
8107
9117
1052
1150
1233
1326
1442
1553
1662
1783
1889
1987
20147
21193
22182
23175
24176
25178
26176
27174
28170
29160
30156
31174
32171
33169
34165
35161
36159
37158
38155
39147
40151
41144
42148
43144
44141
45143
46129
47123
48121
49129
50118
51106
52107
53103
54178
55108
56103
57102
5856
5975
6066
6163
6257
6386
6492
6590
6691
67116
68182
69190
70177
71176
72175
73181
74171
75165
76167
77171
78180
79177
80173
81171
82159
83156
84160
85162
86158
87148
88152
89144
90144
91153
92146
93143
94134
95130
96135
97132
98117
99113
100113
101105
102148
10396
10488
10594
10662
10765
10870
10982
11064
11187
11293
11393
114101
115161
116188
117191
118179
119180
120165
121163
122164
123174
124176
125178
126178
127179
128178
129170
130162
131156
132160
133154
134151
135154
136155
137152
138148
139152
140145
141141
142132
143131
144143
145128
146120
147125
148110
149108
150146
151101
15278
15378
15475
15562
15698
15792
15870
15992
16096
16193
162137
163176
164187
165207
166177
167159
168165
169177
170175
171178
172169
173172
174181
175182
176177
177164
178168
179165
180165
181155
182146
183146