Lines Matching full:sqsum
123 CvMat sum, sqsum, tilted;
413 #define sqsum_elem_ptr(sqsum,row,col) \
414 ((sqsumtype*)CV_MAT_ELEM_PTR_FAST((sqsum),(row),(col),sizeof(sqsumtype)))
431 CvMat sqsum_stub, *sqsum = (CvMat*)_sqsum;
446 sqsum = cvGetMat( sqsum, &sqsum_stub, &coi1 );
451 if( !CV_ARE_SIZES_EQ( sum, sqsum ))
454 if( CV_MAT_TYPE(sqsum->type) != CV_64FC1 ||
457 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" );
470 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" );
486 cascade->sqsum = *sqsum;
500 cascade->pq0 = sqsum_elem_ptr(*sqsum, equRect.y, equRect.x);
501 cascade->pq1 = sqsum_elem_ptr(*sqsum, equRect.y, equRect.x + equRect.width );
502 cascade->pq2 = sqsum_elem_ptr(*sqsum, equRect.y + equRect.height, equRect.x );
503 cascade->pq3 = sqsum_elem_ptr(*sqsum, equRect.y + equRect.height,
852 pq_offset = pt.y * (cascade->sqsum.step/sizeof(sqsumtype)) + pt.x;
1501 cv::Ptr<CvMat> temp, sum, tilted, sqsum, normImg, sumcanny, imgSmall;
1542 sqsum.reset(cvCreateMat( img->rows + 1, img->cols + 1, CV_64FC1 ));
1595 sqsum1 = cvMat( sz.height+1, sz.width+1, CV_64FC1, sqsum->data.ptr );
1635 cvIntegral( img, sum, sqsum, tilted );
1684 cvSetImagesForHaarClassifierCascade( cascade, sum, sqsum, tilted, factor );