Lines Matching refs:INPUT
68 test_array[INPUT].push_back(NULL);
69 test_array[INPUT].push_back(NULL);
112 types[INPUT][0] = types[INPUT][1] = CV_MAKETYPE(depth,cn);
115 sizes[INPUT][1].width = cvtest::randInt(rng)%MIN(sizes[INPUT][1].width,max_template_size) + 1;
116 sizes[INPUT][1].height = cvtest::randInt(rng)%MIN(sizes[INPUT][1].height,max_template_size) + 1;
117 sizes[OUTPUT][0].width = sizes[INPUT][0].width - sizes[INPUT][1].width + 1;
118 sizes[OUTPUT][0].height = sizes[INPUT][0].height - sizes[INPUT][1].height + 1;
128 if( test_mat[INPUT][1].depth() == CV_8U ||
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);
312 CvMat _input = test_mat[INPUT][0], _templ = test_mat[INPUT][1];
319 cvWrite( fs, "image", &test_mat[INPUT][0] );
320 cvWrite( fs, "template", &test_mat[INPUT][1] );