Home | History | Annotate | Download | only in src

Lines Matching full:cols

103     if( img->cols < templ->cols || img->rows < templ->rows )
108 corr->cols > img->cols + templ->cols - 1 )
112 blocksize.width = cvRound(templ->cols*block_scale);
113 blocksize.width = MAX( blocksize.width, min_block_size - templ->cols + 1 );
114 blocksize.width = MIN( blocksize.width, corr->cols );
119 dftsize.width = cvGetOptimalDFTSize(blocksize.width + templ->cols - 1);
127 blocksize.width = dftsize.width - templ->cols + 1;
128 blocksize.width = MIN( blocksize.width, corr->cols );
140 buf_size = templ->cols*templ->rows*CV_ELEM_SIZE(templ_depth);
143 buf_size = MAX( buf_size, (blocksize.width + templ->cols - 1)*
163 dst = cvGetSubRect( dft_templ, &dstub, cvRect(0,yofs,templ->cols,templ->rows));
168 cvInitMatHeader( &temp, templ->rows, templ->cols, templ_depth, buf[0] );
177 if( dft_templ->cols > templ->cols )
179 cvGetSubRect( dft_templ, dst, cvRect(templ->cols, yofs,
180 dft_templ->cols - templ->cols, templ->rows) );
187 tile_count_x = (corr->cols + blocksize.width - 1)/blocksize.width;
209 csz.width = MIN( csz.width, corr->cols - x );
211 isz.width = csz.width + templ->cols - 1;
213 x2 = MIN( img->cols, x0 + isz.width );
368 if( img->rows < templ->rows || img->cols < templ->cols )
375 result->cols != img->cols - templ->cols + 1 )
384 if( is_normed && cn == 1 && templ->rows > 8 && templ->cols > 8 &&
385 img->rows > templ->cols && img->cols > templ->cols )
408 cols; j++ )
423 inv_area = 1./((double)templ->rows * templ->cols);
425 CV_CALL( sum = cvCreateMat( img->rows + 1, img->cols + 1,
436 CV_CALL( sqsum = cvCreateMat( img->rows + 1, img->cols + 1,
465 q1 = q0 + templ->cols*cn;
467 q3 = q2 + templ->cols*cn;
471 p1 = p0 + templ->cols*cn;
473 p3 = p2 + templ->cols*cn;
484 for( j = 0; j < result->cols; j++, idx += cn, idx2 += cn )