From: Elena Gvozdeva Date: Tue, 21 Jan 2014 12:57:01 +0000 (+0400) Subject: fixed pref test X-Git-Tag: submit/tizen_ivi/20141117.190038~2^2~694^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c5e19c27058e9ec9fb0b3272d6a4175222d10a8;p=profile%2Fivi%2Fopencv.git fixed pref test --- diff --git a/modules/imgproc/perf/opencl/perf_matchTemplate.cpp b/modules/imgproc/perf/opencl/perf_matchTemplate.cpp index b790f36..b5ffecc 100644 --- a/modules/imgproc/perf/opencl/perf_matchTemplate.cpp +++ b/modules/imgproc/perf/opencl/perf_matchTemplate.cpp @@ -27,9 +27,9 @@ namespace ocl { Size tmplSz = get<1>(GetParam()); int method = get<2>(GetParam()); - Mat img(imgSz, CV_8UC1); - Mat tmpl(tmplSz, CV_8UC1); - Mat result(imgSz - tmplSz + Size(1,1), CV_32F); + UMat img(imgSz, CV_8UC1); + UMat tmpl(tmplSz, CV_8UC1); + UMat result(imgSz - tmplSz + Size(1,1), CV_32F); declare .in(img, WARMUP_RNG)