Lines Matching defs:method
61 int method;
74 method = 0;
121 method = cvtest::randInt(rng)%6;
129 (method >= CV_TM_CCOEFF && test_mat[INPUT][1].cols*test_mat[INPUT][1].rows <= 2) )
139 cvMatchTemplate( test_array[INPUT][0], test_array[INPUT][1], test_array[OUTPUT][0], method );
143 cv::matchTemplate(cv::cvarrToMat(test_array[INPUT][0]), cv::cvarrToMat(test_array[INPUT][1]), _out, method);
148 static void cvTsMatchTemplate( const CvMat* img, const CvMat* templ, CvMat* result, int method )
166 method == CV_TM_CCOEFF_NORMED )
172 if( method & 1 )
175 if( method != CV_TM_CCOEFF_NORMED )
189 assert( CV_TM_SQDIFF <= method && method <= CV_TM_CCOEFF_NORMED );
204 if( cn == 1 || method < CV_TM_CCOEFF )
236 if( cn == 1 || method < CV_TM_CCOEFF )
264 switch( method )
280 if( method & 1 )
285 if( method != CV_TM_CCOEFF_NORMED )
301 value = method != CV_TM_SQDIFF_NORMED ? 0 : 1;
314 cvTsMatchTemplate( &_input, &_templ, &_output, method );
323 cvWriteInt( fs, "method", method );
327 if( method >= CV_TM_CCOEFF )