Lines Matching full:avg

201 //                 avg         - pointer to averaged object
214 void *userData, float *avg, int avgStep, in icvCalcCovarMatrixEx_8u32fR() argument
229 if( input == NULL || avg == NULL || covarMatrix == NULL ) in icvCalcCovarMatrixEx_8u32fR()
280 float *fu = avg; in icvCalcCovarMatrixEx_8u32fR()
310 float *fu = avg; in icvCalcCovarMatrixEx_8u32fR()
364 float *a = avg; in icvCalcCovarMatrixEx_8u32fR()
436 // avg - pointer to averaged object (has the same size as ROI)
473 CvTermCriteria* calcLimit, float* avg, in icvCalcEigenObjects_8u32fR() argument
495 if( input == NULL || output == NULL || avg == NULL ) in icvCalcEigenObjects_8u32fR()
567 bf = avg; in icvCalcEigenObjects_8u32fR()
592 bf = avg; in icvCalcEigenObjects_8u32fR()
598 bf = avg; in icvCalcEigenObjects_8u32fR()
616 (uchar *) buffer, userData, avg, 4 * avgStep, size, c ); in icvCalcEigenObjects_8u32fR()
735 bf = avg; in icvCalcEigenObjects_8u32fR()
823 bf = avg; in icvCalcEigenObjects_8u32fR()
875 // avg - pointer to averaged object
886 float *avg, int avgStep, CvSize size ) in icvCalcDecompCoeff_8u32fR() argument
894 if( obj == NULL || eigObj == NULL || avg == NULL ) in icvCalcDecompCoeff_8u32fR()
907 for( i = 0; i < size.height; i++, obj += objStep, eigObj += eigStep, avg += avgStep ) in icvCalcDecompCoeff_8u32fR()
913 float a = avg[k]; in icvCalcDecompCoeff_8u32fR()
918 a = avg[k + 1]; in icvCalcDecompCoeff_8u32fR()
922 a = avg[k + 2]; in icvCalcDecompCoeff_8u32fR()
926 a = avg[k + 3]; in icvCalcDecompCoeff_8u32fR()
930 w += eigObj[k] * ((float) obj[k] - avg[k]); in icvCalcDecompCoeff_8u32fR()
951 // avg - pointer to averaged object
963 void *userData, float *avg, int avgStep, in icvEigenDecomposite_8u32fR() argument
975 if( obj == NULL || eigInput == NULL || coeffs == NULL || avg == NULL ) in icvEigenDecomposite_8u32fR()
1007 eigStep, avg, avgStep, size ); in icvEigenDecomposite_8u32fR()
1023 eigStep, avg, avgStep, size ); in icvEigenDecomposite_8u32fR()
1044 // avg - Pointer to averaged object
1057 float *avg, int avgStep, uchar * rest, in icvEigenProjection_8u32fR() argument
1068 if( rest == NULL || eigInput == NULL || avg == NULL || coeffs == NULL ) in icvEigenProjection_8u32fR()
1091 for( i = 0; i < size.height; i++, avg += avgStep, b += size.width ) in icvEigenProjection_8u32fR()
1093 b[j] = avg[j]; in icvEigenProjection_8u32fR()
1145 for( i = 0; i < size.height; i++, avg += avgStep, b += size.width, rest += restStep ) in icvEigenProjection_8u32fR()
1173 // avg - averaged object
1183 IplImage* avg, float* covarMatrix ) in cvCalcCovarMatrixEx() argument
1194 cvGetImageRawData( avg, (uchar **) & avg_data, &avg_step, &avg_size ); in cvCalcCovarMatrixEx()
1195 if( avg->depth != IPL_DEPTH_32F ) in cvCalcCovarMatrixEx()
1197 if( avg->nChannels != 1 ) in cvCalcCovarMatrixEx()
1278 // avg - averaged object (has the same size as ROI)
1316 IplImage* avg, in cvCalcEigenObjects() argument
1329 cvGetImageRawData( avg, (uchar **) & avg_data, &avg_step, &avg_size ); in cvCalcEigenObjects()
1330 if( avg->depth != IPL_DEPTH_32F ) in cvCalcEigenObjects()
1332 if( avg->nChannels != 1 ) in cvCalcEigenObjects()
1525 // avg - averaged object
1533 cvCalcDecompCoeff( IplImage * obj, IplImage * eigObj, IplImage * avg ) in cvCalcDecompCoeff() argument
1559 cvGetImageRawData( avg, (uchar **) & avg_data, &avg_step, &avg_size ); in cvCalcDecompCoeff()
1560 if( avg->depth != IPL_DEPTH_32F ) in cvCalcDecompCoeff()
1562 if( avg->nChannels != 1 ) in cvCalcDecompCoeff()
1591 // avg - averaged object
1603 IplImage* avg, in cvEigenDecomposite() argument
1616 cvGetImageRawData( avg, (uchar **) & avg_data, &avg_step, &avg_size ); in cvEigenDecomposite()
1617 if( avg->depth != IPL_DEPTH_32F ) in cvEigenDecomposite()
1619 if( avg->nChannels != 1 ) in cvEigenDecomposite()
1708 // avg - averaged object
1720 IplImage* avg, in cvEigenProjection() argument
1733 cvGetImageRawData( avg, (uchar **) & avg_data, &avg_step, &avg_size ); in cvEigenProjection()
1734 if( avg->depth != IPL_DEPTH_32F ) in cvEigenProjection()
1736 if( avg->nChannels != 1 ) in cvEigenProjection()