Home
last modified time | relevance | path

Searched refs:inv_m00 (Results 1 – 5 of 5) sorted by relevance

/external/opencv/cv/src/
Dcvcamshift.cpp98 double inv_m00; in cvMeanShift() local
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()
172 double m00 = 0, m10, m01, mu20, mu11, mu02, inv_m00; in cvCamShift() local
224 inv_m00 = 1. / m00; in cvCamShift()
225 xc = cvRound( m10 * inv_m00 + windowIn.x ); in cvCamShift()
226 yc = cvRound( m01 * inv_m00 + windowIn.y ); in cvCamShift()
227 a = mu20 * inv_m00; in cvCamShift()
228 b = mu11 * inv_m00; in cvCamShift()
[all …]
Dcvmoments.cpp55 double inv_m00 = 1. / moments->m00; in icvCompleteMomentState() local
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()
/external/opencv3/modules/video/src/
Dcamshift.cpp149 double inv_m00 = 1. / m00; in CamShift() local
150 int xc = cvRound( m10 * inv_m00 + window.x ); in CamShift()
151 int yc = cvRound( m01 * inv_m00 + window.y ); in CamShift()
152 double a = mu20 * inv_m00, b = mu11 * inv_m00, c = mu02 * inv_m00; in CamShift()
166 double length = std::sqrt( rotate_a * inv_m00 ) * 4; in CamShift()
167 double width = std::sqrt( rotate_c * inv_m00 ) * 4; in CamShift()
/external/opencv3/modules/imgproc/src/
Dmoments.cpp52 double inv_m00 = 0.0; in completeMomentState() local
57 inv_m00 = 1. / moments->m00; in completeMomentState()
58 cx = moments->m10 * inv_m00; in completeMomentState()
59 cy = moments->m01 * inv_m00; in completeMomentState()
84 double inv_sqrt_m00 = std::sqrt(std::abs(inv_m00)); in completeMomentState()
85 double s2 = inv_m00*inv_m00, s3 = s2*inv_sqrt_m00; in completeMomentState()
457 double cx = 0, cy = 0, inv_m00 = 0; in Moments() local
460 inv_m00 = 1./m00; in Moments()
461 cx = m10*inv_m00; cy = m01*inv_m00; in Moments()
473 double inv_sqrt_m00 = std::sqrt(std::abs(inv_m00)); in Moments()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_moments.cpp303 double inv_m00 = m.inv_sqrt_m00*m.inv_sqrt_m00; in prepare_to_validation() local
304 double s2 = inv_m00*inv_m00; /* 1./(m00 ^ (2/2 + 1)) */ in prepare_to_validation()
405 double inv_m00 = m->inv_sqrt_m00*m->inv_sqrt_m00; in prepare_to_validation() local
406 double s2 = inv_m00*inv_m00; /* 1./(m00 ^ (2/2 + 1)) */ in prepare_to_validation()