adjust matchTemplate in performance sample, as current version is too slow when template size isn't small

This commit is contained in:
yao 2013-02-27 21:41:04 +08:00
parent 6409a4b112
commit bf427c01c1

View File

@ -707,7 +707,7 @@ TEST(matchTemplate)
for (size_t j = 0; j < sizeof(all_type) / sizeof(int); j++)
{
for(templ_size = 5; templ_size < 200; templ_size *= 5)
for(templ_size = 5; templ_size <=5; templ_size *= 5)
{
gen(src, size, size, all_type[j], 0, 1);