Home
last modified time | relevance | path

Searched refs:sqsum (Results 1 – 7 of 7) sorted by relevance

/external/opencv/cv/src/
Dcvsumpixels.cpp49 sqsumtype* sqsum, int sqsumstep,\
64 if( sqsum ) \
66 memset( sqsum, 0, (size.width+1)*sizeof(sqsum[0])); \
67 sqsumstep /= sizeof(sqsum[0]); \
68 sqsum += sqsumstep + 1; \
78 if( sqsum == 0 && tilted == 0 ) \
95 sum += sumstep, sqsum += sqsumstep ) \
98 sqsum[-1] = 0; \
108 tq = sqsum[x - sqsumstep] + sq; \
110 sqsum[x] = tq; \
[all …]
DmycvHaarDetectObjects.cpp107 CvMat sum, sqsum, tilted; member
503 pq_offset = pt.y * (cascade->sqsum.step/sizeof(sqsumtype)) + pt.x; in mycvRunHaarClassifierCascade()
622 #define sqsum_elem_ptr(sqsum,row,col) \ argument
623 ((sqsumtype*)CV_MAT_ELEM_PTR_FAST((sqsum),(row),(col),sizeof(sqsumtype)))
638 CvMat sqsum_stub, *sqsum = (CvMat*)_sqsum; in mycvSetImagesForHaarClassifierCascade() local
653 CV_CALL( sqsum = cvGetMat( sqsum, &sqsum_stub, &coi1 )); in mycvSetImagesForHaarClassifierCascade()
658 if( !CV_ARE_SIZES_EQ( sum, sqsum )) in mycvSetImagesForHaarClassifierCascade()
661 if( CV_MAT_TYPE(sqsum->type) != CV_64FC1 || in mycvSetImagesForHaarClassifierCascade()
693 cascade->sqsum = *sqsum; in mycvSetImagesForHaarClassifierCascade()
707 cascade->pq0 = sqsum_elem_ptr(*sqsum, equ_rect.y, equ_rect.x); in mycvSetImagesForHaarClassifierCascade()
[all …]
Dcvtemplmatch.cpp327 CvMat* sqsum = 0; in cvMatchTemplate() local
436 CV_CALL( sqsum = cvCreateMat( img->rows + 1, img->cols + 1, in cvMatchTemplate()
438 CV_CALL( cvIntegral( img, sum, sqsum, 0 )); in cvMatchTemplate()
464 q0 = (double*)sqsum->data.ptr; in cvMatchTemplate()
466 q2 = (double*)(sqsum->data.ptr + templ->rows*sqsum->step); in cvMatchTemplate()
476 sqsum_step = sqsum ? sqsum->step / sizeof(double) : 0; in cvMatchTemplate()
533 cvReleaseMat( &sqsum ); in cvMatchTemplate()
Dcvhaar.cpp107 CvMat sum, sqsum, tilted; member
420 #define sqsum_elem_ptr(sqsum,row,col) \ argument
421 ((sqsumtype*)CV_MAT_ELEM_PTR_FAST((sqsum),(row),(col),sizeof(sqsumtype)))
439 CvMat sqsum_stub, *sqsum = (CvMat*)_sqsum; in cvSetImagesForHaarClassifierCascade() local
454 CV_CALL( sqsum = cvGetMat( sqsum, &sqsum_stub, &coi1 )); in cvSetImagesForHaarClassifierCascade()
459 if( !CV_ARE_SIZES_EQ( sum, sqsum )) in cvSetImagesForHaarClassifierCascade()
462 if( CV_MAT_TYPE(sqsum->type) != CV_64FC1 || in cvSetImagesForHaarClassifierCascade()
494 cascade->sqsum = *sqsum; in cvSetImagesForHaarClassifierCascade()
508 cascade->pq0 = sqsum_elem_ptr(*sqsum, equ_rect.y, equ_rect.x); in cvSetImagesForHaarClassifierCascade()
509 cascade->pq1 = sqsum_elem_ptr(*sqsum, equ_rect.y, equ_rect.x + equ_rect.width ); in cvSetImagesForHaarClassifierCascade()
[all …]
/external/opencv/cxcore/src/
Dcxmeansdv.cpp404 ICV_MEAN_SDV_EXIT_C##cn( sum, sqsum ); \
464 ICV_MEAN_SDV_EXIT_C1( sum, sqsum ); \
523 ICV_MEAN_SDV_EXIT_C##cn( sum, sqsum ); \
583 ICV_MEAN_SDV_EXIT_C1( sum, sqsum ); \
/external/opencv/cvaux/src/
Dcvbgfg_acmmm2003.cpp270 double sqsum=0; in cvChangeDetection() local
275 sqsum += double(j*j)*double(HISTOGRAM[j]); in cvChangeDetection()
281 double sigma = sqrt( sqsum/count - my*my); in cvChangeDetection()
/external/opencv/cv/include/
Dcv.h94 CvArr* sqsum CV_DEFAULT(NULL), in LOAD_CHDL()
558 CVAPI(void) cvSquareAcc( const CvArr* image, CvArr* sqsum, in LOAD_CHDL()
1139 const CvArr* sum, const CvArr* sqsum, in LOAD_CHDL()
1155 const CvArr* sum, const CvArr* sqsum, in LOAD_CHDL()