/external/opencv3/modules/imgproc/test/ |
test_templmatch.cpp | 196 CvScalar ccorr(0); 209 ccorr.val[0] += a[l]*b[l]; 219 ccorr.val[0] += a[l]*b[l]; 220 ccorr.val[1] += a[l+1]*b[l+1]; 221 ccorr.val[2] += a[l+2]*b[l+2]; 241 ccorr.val[0] += a[l]*b[l]; 251 ccorr.val[0] += a[l]*b[l]; 252 ccorr.val[1] += a[l+1]*b[l+1]; 253 ccorr.val[2] += a[l+2]*b[l+2]; 268 value = ccorr.val[0] [all...] |
/external/opencv3/modules/core/test/ocl/ |
test_dft.cpp | 132 bool ccorr, useRoi; local 140 ccorr = GET_PARAM(0); 169 OCL_OFF(cv::mulSpectrums(src1_roi, src2_roi, dst_roi, 0, ccorr)); 170 OCL_ON(cv::mulSpectrums(usrc1_roi, usrc2_roi, udst_roi, 0, ccorr));
|
/external/opencv3/modules/cudaarithm/perf/ |
perf_arithm.cpp | 221 const bool ccorr = GET_PARAM(2); local 239 TEST_CYCLE() convolution->convolve(d_image, d_templ, dst, ccorr); 245 if (ccorr)
|
/external/opencv3/modules/cudaarithm/test/ |
test_arithm.cpp | 319 void convolveDFT(const cv::Mat& A, const cv::Mat& B, cv::Mat& C, bool ccorr = false) 346 cv::mulSpectrums(tempA, tempB, tempA, 0, ccorr); 359 IMPLEMENT_PARAM_CLASS(Ccorr, bool) 362 PARAM_TEST_CASE(Convolve, cv::cuda::DeviceInfo, cv::Size, KSize, Ccorr) 367 bool ccorr; local 374 ccorr = GET_PARAM(3); 388 conv->convolve(loadMat(src), loadMat(kernel), dst, ccorr); local 391 convolveDFT(src, kernel, dst_gold, ccorr); 400 testing::Values(Ccorr(false), Ccorr(true)))) [all...] |
/external/opencv3/modules/cudaimgproc/src/cuda/ |
match_template.cu | 231 float ccorr = result.ptr(y)[x]; 232 result.ptr(y)[x] = image_sqsum_ - 2.f * ccorr + templ_sqsum; 301 float ccorr = result.ptr(y)[x]; 302 result.ptr(y)[x] = normAcc_SQDIFF(image_sqsum_ - 2.f * ccorr + templ_sqsum, 347 float ccorr = result.ptr(y)[x]; 348 result.ptr(y)[x] = ccorr - image_sum_ * templ_sum_scale; 383 float ccorr = result.ptr(y)[x]; 384 result.ptr(y)[x] = ccorr - image_sum_r_ * templ_sum_scale_r 434 float ccorr = result.ptr(y)[x]; 435 result.ptr(y)[x] = ccorr - image_sum_r_ * templ_sum_scale_ [all...] |
/external/opencv3/modules/cudaarithm/src/ |
arithm.cpp | 409 void convolve(InputArray image, InputArray templ, OutputArray result, bool ccorr = false, Stream& stream = Stream::Null()); 471 void ConvolutionImpl::convolve(InputArray _image, InputArray _templ, OutputArray _result, bool ccorr, Stream& _stream) 513 1.f / dft_size.area(), ccorr, _stream);
|
/external/opencv3/modules/cudaarithm/include/opencv2/ |
cudaarithm.hpp | [all...] |