Home | History | Annotate | Download | only in src

Lines Matching defs:moments

64     CvMoments moments;
75 moments.m00 = moments.m10 = moments.m01 = 0;
101 CV_CALL( cvMoments( &cur_win, &moments ));
104 if( fabs(moments.m00) < DBL_EPSILON )
107 inv_m00 = moments.inv_sqrt_m00*moments.inv_sqrt_m00;
108 dx = cvRound( moments.m10 * inv_m00 - windowIn.width*0.5 );
109 dy = cvRound( moments.m01 * inv_m00 - windowIn.height*0.5 );
139 comp->area = (float)moments.m00;
171 CvMoments moments;
211 /* Calculating moments in new center mass */
212 CV_CALL( cvMoments( &cur_win, &moments ));
214 m00 = moments.m00;
215 m10 = moments.m10;
216 m01 = moments.m01;
217 mu11 = moments.mu11;
218 mu20 = moments.mu20;
219 mu02 = moments.mu02;