/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/samples/cpp/tutorial_code/Histograms_Matching/ |
MatchTemplate_Demo.cpp | 41 const char* trackbar_label = "Method: \n 0: SQDIFF \n 1: SQDIFF NORMED \n 2: TM CCORR \n 3: TM CCORR NORMED \n 4: TM COEFF \n 5: TM COEFF NORMED";
|
/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/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/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/doc/tutorials/imgproc/histograms/template_matching/ |
template_matching.markdown | 129 char* trackbar_label = "Method: \n 0: SQDIFF \n 1: SQDIFF NORMED \n 2: TM CCORR \n 3: TM CCORR NORMED \n 4: TM COEFF \n 5: TM COEFF NORMED"; 208 -# Generate the following result matrices (first row are the standard methods SQDIFF, CCORR and 220 that CCORR and CCDEFF gave erroneous best matches, however their normalized version did it
|
/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...] |
/external/opencv3/modules/imgproc/src/ |
templmatch.cpp | 52 /////////////////////////////////////////////////// CCORR ////////////////////////////////////////////////////////////// 277 format("-D CCORR -D T=%s -D T1=%s -D WT=%s -D WT1=%s -D convertToWT=%s -D convertToWT1=%s -D cn=%d -D PIX_PER_WI_X=%d", ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype1), ocl::typeToStr(wtype), [all...] |
/external/opencv3/modules/imgproc/src/opencl/ |
match_template.cl | 139 #elif defined CCORR
|
/external/opencv3/samples/gpu/performance/ |
tests.cpp | 43 SUBTEST << src.cols << 'x' << src.rows << ", 32FC1" << ", templ " << templ_size << 'x' << templ_size << ", CCORR";
|
/external/opencv3/modules/core/include/opencv2/core/ |
mat.hpp | [all...] |
/external/opencv3/modules/imgproc/ |
opencl_kernels_imgproc.cpp | [all...] |