Home
last modified time | relevance | path

Searched refs:moments (Results 1 – 6 of 6) sorted by relevance

/external/opencv/cv/src/
Dcvmoments.cpp45 icvCompleteMomentState( CvMoments* moments ) in icvCompleteMomentState() argument
50 assert( moments != 0 ); in icvCompleteMomentState()
51 moments->inv_sqrt_m00 = 0; in icvCompleteMomentState()
53 if( fabs(moments->m00) > DBL_EPSILON ) in icvCompleteMomentState()
55 double inv_m00 = 1. / moments->m00; in icvCompleteMomentState()
56 cx = moments->m10 * inv_m00; in icvCompleteMomentState()
57 cy = moments->m01 * inv_m00; in icvCompleteMomentState()
58 moments->inv_sqrt_m00 = sqrt( fabs(inv_m00) ); in icvCompleteMomentState()
62 mu20 = moments->m20 - moments->m10 * cx; in icvCompleteMomentState()
64 mu11 = moments->m11 - moments->m10 * cy; in icvCompleteMomentState()
[all …]
Dcvcamshift.cpp64 CvMoments moments; in cvMeanShift() local
75 moments.m00 = moments.m10 = moments.m01 = 0; in cvMeanShift()
101 CV_CALL( cvMoments( &cur_win, &moments )); in cvMeanShift()
104 if( fabs(moments.m00) < DBL_EPSILON ) in cvMeanShift()
107 inv_m00 = moments.inv_sqrt_m00*moments.inv_sqrt_m00; in cvMeanShift()
108 dx = cvRound( moments.m10 * inv_m00 - windowIn.width*0.5 ); in cvMeanShift()
109 dy = cvRound( moments.m01 * inv_m00 - windowIn.height*0.5 ); in cvMeanShift()
139 comp->area = (float)moments.m00; in cvMeanShift()
171 CvMoments moments; in cvCamShift() local
212 CV_CALL( cvMoments( &cur_win, &moments )); in cvCamShift()
[all …]
Dcvmatchcontours.cpp61 CvMoments moments; in cvMatchShapes() local
77 CV_CALL( cvMoments( contour1, &moments )); in cvMatchShapes()
80 CV_CALL( cvGetHuMoments( &moments, &huMoments )); in cvMatchShapes()
92 CV_CALL( cvMoments( contour2, &moments )); in cvMatchShapes()
95 CV_CALL( cvGetHuMoments( &moments, &huMoments )); in cvMatchShapes()
/external/opencv/cv/include/
Dcv.h348 CVAPI(void) cvMoments( const CvArr* arr, CvMoments* moments, int binary CV_DEFAULT(0)); in LOAD_CHDL()
351 CVAPI(double) cvGetSpatialMoment( CvMoments* moments, int x_order, int y_order ); in LOAD_CHDL()
352 CVAPI(double) cvGetCentralMoment( CvMoments* moments, int x_order, int y_order ); in LOAD_CHDL()
353 CVAPI(double) cvGetNormalizedCentralMoment( CvMoments* moments, in LOAD_CHDL()
357 CVAPI(void) cvGetHuMoments( CvMoments* moments, CvHuMoments* hu_moments ); in LOAD_CHDL()
Dcvcompat.h344 #define cvContourMoments( contour, moments ) \ argument
345 cvMoments( contour, moments, 0 )
/external/llvm/docs/
DGarbageCollection.rst910 to the moments when the function is suspended during a call to a subroutine.