HomeSort by relevance Sort by last modified time
    Searched refs:moments (Results 1 - 6 of 6) sorted by null

  /external/opencv/cv/src/
cvmoments.cpp 43 /* The function calculates center of gravity and central second order moments */
45 icvCompleteMomentState( CvMoments* moments )
50 assert( moments != 0 );
51 moments->inv_sqrt_m00 = 0;
53 if( fabs(moments->m00) > DBL_EPSILON )
55 double inv_m00 = 1. / moments->m00;
56 cx = moments->m10 * inv_m00;
57 cy = moments->m01 * inv_m00;
58 moments->inv_sqrt_m00 = sqrt( fabs(inv_m00) );
62 mu20 = moments->m20 - moments->m10 * cx
    [all...]
cvcamshift.cpp 64 CvMoments moments; local
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 )
171 CvMoments moments; local
    [all...]
cvmatchcontours.cpp 61 CvMoments moments; local
76 /* first moments calculation */
77 CV_CALL( cvMoments( contour1, &moments ));
79 /* Hu moments calculation */
80 CV_CALL( cvGetHuMoments( &moments, &huMoments ));
91 /* second moments calculation */
92 CV_CALL( cvMoments( contour2, &moments ));
94 /* Hu moments calculation */
95 CV_CALL( cvGetHuMoments( &moments, &huMoments ));
  /external/opencv/cv/include/
cv.h 347 /* Calculates all spatial and central moments up to the 3rd order */
348 CVAPI(void) cvMoments( const CvArr* arr, CvMoments* moments, int binary CV_DEFAULT(0));
350 /* Retrieve particular spatial, central or normalized central moments */
351 CVAPI(double) cvGetSpatialMoment( CvMoments* moments, int x_order, int y_order );
352 CVAPI(double) cvGetCentralMoment( CvMoments* moments, int x_order, int y_order );
353 CVAPI(double) cvGetNormalizedCentralMoment( CvMoments* moments,
356 /* Calculates 7 Hu's invariants from precalculated spatial and central moments */
357 CVAPI(void) cvGetHuMoments( CvMoments* moments, CvHuMoments* hu_moments );
757 /* Compares two contours by matching their moments */
    [all...]
cvcompat.h 344 #define cvContourMoments( contour, moments ) \
345 cvMoments( contour, moments, 0 )
    [all...]
  /frameworks/base/docs/html/
gms_navtree_data.js 63 , null ], [ "com.google.android.gms.plus.model.moments", "reference/com/google/android/gms/plus/model/moments/package-summary.html", [ [ "Interfaces", null, [ [ "ItemScope", "reference/com/google/android/gms/plus/model/moments/ItemScope.html", null, null ], [ "Moment", "reference/com/google/android/gms/plus/model/moments/Moment.html", null, null ] ]
64 , null ], [ "Classes", null, [ [ "ItemScope.Builder", "reference/com/google/android/gms/plus/model/moments/ItemScope.Builder.html", null, null ], [ "Moment.Builder", "reference/com/google/android/gms/plus/model/moments/Moment.Builder.html", null, null ], [ "MomentBuffer", "reference/com/google/android/gms/plus/model/moments/MomentBuffer.html", null, null ] ]

Completed in 61 milliseconds