Lines Matching full:cols

75     size_t globalsize[2] = {result.cols, (result.rows+pxPerWIy-1)/pxPerWIy};  in extractFirstChannel_32F()
105 k.args(srcarg, src.cols, (int)src.total(), resarg); in sumTemplate()
196 templ_block.cols - templ_roi.cols, BORDER_ISOLATED); in convolve_dft()
203 for (int x = 0; x < result.cols; x += block_size.width) in convolve_dft()
205 Size image_roi_size(std::min(x + dft_size.width, image.cols) - x, in convolve_dft()
212 0, image_block.cols - image_roi.cols, BORDER_ISOLATED); in convolve_dft()
220 Size result_roi_size(std::min(x + block_size.width, result.cols) - x, in convolve_dft()
237 _result.create(_image.rows() - _templ.rows() + 1, _image.cols() - _templ.cols() + 1, CV_32F); in convolve_32F()
245 UMat result_(image.rows-templ.rows+1,(image.cols-templ.cols+1)*image.channels(), CV_32F); in convolve_32F()
283 _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); in matchTemplateNaive_CCORR()
289 size_t globalsize[2] = { (result.cols+pxPerWIx-1)/pxPerWIx, result.rows}; in matchTemplateNaive_CCORR()
328 _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32FC1); in matchTemplate_CCORR_NORMED()
339 templ.rows, templ.cols, ocl::KernelArg::PtrReadOnly(templ_sqsum)); in matchTemplate_CCORR_NORMED()
341 size_t globalsize[2] = { result.cols, result.rows }; in matchTemplate_CCORR_NORMED()
360 _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32F); in matchTemplateNaive_SQDIFF()
366 size_t globalsize[2] = { result.cols, result.rows }; in matchTemplateNaive_SQDIFF()
386 _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32F); in matchTemplate_SQDIFF()
397 templ.rows, templ.cols, ocl::KernelArg::PtrReadOnly(templ_sqsum)); in matchTemplate_SQDIFF()
399 size_t globalsize[2] = { result.cols, result.rows }; in matchTemplate_SQDIFF()
417 _result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32F); in matchTemplate_SQDIFF_NORMED()
428 templ.rows, templ.cols, ocl::KernelArg::PtrReadOnly(templ_sqsum)); in matchTemplate_SQDIFF_NORMED()
430 size_t globalsize[2] = { result.cols, result.rows }; in matchTemplate_SQDIFF_NORMED()
459 …:ReadOnlyNoSize(image_sums), ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, templ_sum); in matchTemplate_CCOEFF()
466 …OnlyNoSize(image_sums), ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, templ_sum); } in matchTemplate_CCOEFF()
468 size_t globalsize[2] = { result.cols, result.rows }; in matchTemplate_CCOEFF()
488 _result.create(size.height - templ.rows + 1, size.width - templ.cols + 1, CV_32F); in matchTemplate_CCOEFF_NORMED()
510 … ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, scale, templ_sum, templ_sqsum); in matchTemplate_CCOEFF_NORMED()
533 ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, scale, in matchTemplate_CCOEFF_NORMED()
536 size_t globalsize[2] = { result.cols, result.rows }; in matchTemplate_CCOEFF_NORMED()
571 IppiSize srcRoiSize = {src.cols,src.rows}; in ipp_crossCorr()
572 IppiSize tplRoiSize = {tpl.cols,tpl.rows}; in ipp_crossCorr()
604 IppiSize srcRoiSize = {src.cols,src.rows}; in ipp_sqrDistance()
605 IppiSize tplRoiSize = {tpl.cols,tpl.rows}; in ipp_sqrDistance()
658 corrsize.width <= img.cols + templ.cols - 1 ); in crossCorr()
667 blocksize.width = cvRound(templ.cols*blockScale); in crossCorr()
668 blocksize.width = std::max( blocksize.width, minBlockSize - templ.cols + 1 ); in crossCorr()
669 blocksize.width = std::min( blocksize.width, corr.cols ); in crossCorr()
674 dftsize.width = std::max(getOptimalDFTSize(blocksize.width + templ.cols - 1), 2); in crossCorr()
680 blocksize.width = dftsize.width - templ.cols + 1; in crossCorr()
681 blocksize.width = MIN( blocksize.width, corr.cols ); in crossCorr()
690 bufSize = templ.cols*templ.rows*CV_ELEM_SIZE(tdepth); in crossCorr()
693 bufSize = std::max( bufSize, (blocksize.width + templ.cols - 1)* in crossCorr()
707 Mat dst1(dftTempl, Rect(0, yofs, templ.cols, templ.rows)); in crossCorr()
719 if( dst.cols > templ.cols ) in crossCorr()
721 Mat part(dst, Range(0, templ.rows), Range(templ.cols, dst.cols)); in crossCorr()
727 int tileCountX = (corr.cols + blocksize.width - 1)/blocksize.width; in crossCorr()
739 roiofs.x, wholeSize.width-img.cols-roiofs.x); in crossCorr()
749 Size bsz(std::min(blocksize.width, corr.cols - x), in crossCorr()
751 Size dsz(bsz.width + templ.cols - 1, bsz.height + templ.rows - 1); in crossCorr()
754 int x2 = std::min(img0.cols, x0 + dsz.width); in crossCorr()
778 x1-x0, dst.cols-dst1.cols-(x1-x0), borderType); in crossCorr()
850 Size corrSize(img.cols - templ.cols + 1, img.rows - templ.rows + 1); in matchTemplateMask()
864 templSum2 *= ((double)templ.rows * templ.cols); in matchTemplateMask()
931 Size corrSize(img.cols - templ.cols + 1, img.rows - templ.rows + 1); in matchTemplate()
944 useIppMT = (templ.rows < img.rows/2 && templ.cols < img.cols/2); in matchTemplate()
978 double invArea = 1./((double)templ.rows * templ.cols); in matchTemplate()
1016 q1 = q0 + templ.cols*cn; in matchTemplate()
1018 q3 = q2 + templ.cols*cn; in matchTemplate()
1022 double* p1 = p0 + templ.cols*cn; in matchTemplate()
1024 double* p3 = p2 + templ.cols*cn; in matchTemplate()
1037 for( j = 0; j < result.cols; j++, idx += cn, idx2 += cn ) in matchTemplate()
1091 CV_Assert( result.size() == cv::Size(std::abs(img.cols - templ.cols) + 1, in cvMatchTemplate()