Home | History | Annotate | Download | only in src

Lines Matching full:sqsum

107     CvMat sum, sqsum, tilted;
420 #define sqsum_elem_ptr(sqsum,row,col) \
421 ((sqsumtype*)CV_MAT_ELEM_PTR_FAST((sqsum),(row),(col),sizeof(sqsumtype)))
439 CvMat sqsum_stub, *sqsum = (CvMat*)_sqsum;
454 sqsum = cvGetMat( sqsum, &sqsum_stub, &coi1 ));
459 if( !CV_ARE_SIZES_EQ( sum, sqsum ))
462 if( CV_MAT_TYPE(sqsum->type) != CV_64FC1 ||
465 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" );
478 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" );
494 cascade->sqsum = *sqsum;
508 cascade->pq0 = sqsum_elem_ptr(*sqsum, equ_rect.y, equ_rect.x);
509 cascade->pq1 = sqsum_elem_ptr(*sqsum, equ_rect.y, equ_rect.x + equ_rect.width );
510 cascade->pq2 = sqsum_elem_ptr(*sqsum, equ_rect.y + equ_rect.height, equ_rect.x );
511 cascade->pq3 = sqsum_elem_ptr(*sqsum, equ_rect.y + equ_rect.height,
716 pq_offset = pt.y * (cascade->sqsum.step/sizeof(sqsumtype)) + pt.x;
864 CvMat *temp = 0, *sum = 0, *tilted = 0, *sqsum = 0, *norm_img = 0, *sumcanny = 0, *img_small = 0;
901 CV_CALL( sqsum
966 sqsum1 = cvMat( sz.height+1, sz.width+1, CV_64FC1, sqsum->data.ptr );
1094 cvIntegral( img, sum, sqsum, tilted );
1145 cvSetImagesForHaarClassifierCascade( cascade, sum, sqsum, tilted, factor );
1523 cvReleaseMat( &sqsum );