Lines Matching refs:image
58 …void matchTemplateNaive_CCORR_8U(const PtrStepSzb image, const PtrStepSzb templ, PtrStepSzf result…
59 …void matchTemplateNaive_CCORR_32F(const PtrStepSzb image, const PtrStepSzb templ, PtrStepSzf resul…
61 …void matchTemplateNaive_SQDIFF_8U(const PtrStepSzb image, const PtrStepSzb templ, PtrStepSzf resul…
62 …void matchTemplateNaive_SQDIFF_32F(const PtrStepSzb image, const PtrStepSzb templ, PtrStepSzf resu…
136 …void extractFirstChannel_32F(const PtrStepSzb image, PtrStepSzf result, int cn, cudaStream_t strea…
171 …void match(InputArray image, InputArray templ, OutputArray result, Stream& stream = Stream::Null()…
187 GpuMat image = _image.getGpuMat(); in match() local
190 CV_Assert( image.depth() == CV_32F ); in match()
191 CV_Assert( image.type() == templ.type() ); in match()
192 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match()
196 _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); in match()
201 matchTemplateNaive_CCORR_32F(image, templ, result, image.channels(), stream); in match()
205 if (image.channels() == 1) in match()
207 conv_->convolve(image.reshape(1), templ.reshape(1), result, true, _stream); in match()
211 conv_->convolve(image.reshape(1), templ.reshape(1), result_, true, _stream); in match()
212 extractFirstChannel_32F(result_, result, image.channels(), stream); in match()
226 …void match(InputArray image, InputArray templ, OutputArray result, Stream& stream = Stream::Null()…
237 GpuMat image = _image.getGpuMat(); in match() local
240 CV_Assert( image.depth() == CV_8U ); in match()
241 CV_Assert( image.type() == templ.type() ); in match()
242 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match()
246 _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); in match()
249 …matchTemplateNaive_CCORR_8U(image, templ, result, image.channels(), StreamAccessor::getStream(stre… in match()
253 image.convertTo(imagef_, CV_32F, stream); in match()
269 …void match(InputArray image, InputArray templ, OutputArray result, Stream& stream = Stream::Null()…
280 GpuMat image = _image.getGpuMat(); in match() local
283 CV_Assert( image.depth() == CV_8U ); in match()
284 CV_Assert( image.type() == templ.type() ); in match()
285 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match()
287 match_CCORR_.match(image, templ, _result, stream); in match()
290 cuda::sqrIntegral(image.reshape(1), image_sqsums_, stream); in match()
294 …normalize_8U(templ.cols, templ.rows, image_sqsums_, templ_sqsum, result, image.channels(), StreamA… in match()
303 …void match(InputArray image, InputArray templ, OutputArray result, Stream& stream = Stream::Null()…
310 GpuMat image = _image.getGpuMat(); in match() local
313 CV_Assert( image.depth() == CV_32F ); in match()
314 CV_Assert( image.type() == templ.type() ); in match()
315 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match()
317 _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); in match()
320 …matchTemplateNaive_SQDIFF_32F(image, templ, result, image.channels(), StreamAccessor::getStream(st… in match()
333 …void match(InputArray image, InputArray templ, OutputArray result, Stream& stream = Stream::Null()…
344 GpuMat image = _image.getGpuMat(); in match() local
347 CV_Assert( image.depth() == CV_8U ); in match()
348 CV_Assert( image.type() == templ.type() ); in match()
349 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match()
353 _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); in match()
356 …matchTemplateNaive_SQDIFF_8U(image, templ, result, image.channels(), StreamAccessor::getStream(str… in match()
360 cuda::sqrIntegral(image.reshape(1), image_sqsums_, stream); in match()
364 match_CCORR_.match(image, templ, _result, stream); in match()
367 …red_SQDIFF_8U(templ.cols, templ.rows, image_sqsums_, templ_sqsum, result, image.channels(), Stream… in match()
380 …void match(InputArray image, InputArray templ, OutputArray result, Stream& stream = Stream::Null()…
391 GpuMat image = _image.getGpuMat(); in match() local
394 CV_Assert( image.depth() == CV_8U ); in match()
395 CV_Assert( image.type() == templ.type() ); in match()
396 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match()
398 cuda::sqrIntegral(image.reshape(1), image_sqsums_, stream); in match()
402 match_CCORR_.match(image, templ, _result, stream); in match()
405 …IFF_NORMED_8U(templ.cols, templ.rows, image_sqsums_, templ_sqsum, result, image.channels(), Stream… in match()
418 …void match(InputArray image, InputArray templ, OutputArray result, Stream& stream = Stream::Null()…
430 GpuMat image = _image.getGpuMat(); in match() local
433 CV_Assert( image.depth() == CV_8U ); in match()
434 CV_Assert( image.type() == templ.type() ); in match()
435 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match()
437 match_CCORR_.match(image, templ, _result, stream); in match()
440 if (image.channels() == 1) in match()
443 cuda::integral(image, image_sums_[0], stream); in match()
451 cuda::split(image, images_); in match()
454 for (int i = 0; i < image.channels(); ++i) in match()
459 switch (image.channels()) in match()
495 …void match(InputArray image, InputArray templ, OutputArray result, Stream& stream = Stream::Null()…
509 GpuMat image = _image.getGpuMat(); in match() local
512 CV_Assert( image.depth() == CV_8U ); in match()
513 CV_Assert( image.type() == templ.type() ); in match()
514 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match()
516 image.convertTo(imagef_, CV_32F, stream); in match()
522 if (image.channels() == 1) in match()
525 cuda::integral(image, image_sums_[0], stream); in match()
528 cuda::sqrIntegral(image, image_sqsums_[0], stream); in match()
539 cuda::split(image, images_); in match()
543 for (int i = 0; i < image.channels(); ++i) in match()
552 switch (image.channels()) in match()