Home
last modified time | relevance | path

Searched refs:xi_1 (Results 1 – 4 of 4) sorted by relevance

/external/opencv/cv/src/
Dcvmoments.cpp93 double xi, yi, xi2, yi2, xi_1, yi_1, xi_12, yi_12, dxy, xii_1, yii_1; in icvContourMoments() local
102 xi_1 = ((CvPoint*)(reader.ptr))->x; in icvContourMoments()
107 xi_1 = ((CvPoint2D32f*)(reader.ptr))->x; in icvContourMoments()
112 xi_12 = xi_1 * xi_1; in icvContourMoments()
131 dxy = xi_1 * yi - xi * yi_1; in icvContourMoments()
132 xii_1 = xi_1 + xi; in icvContourMoments()
138 a20 += dxy * (xi_1 * xii_1 + xi2); in icvContourMoments()
139 a11 += dxy * (xi_1 * (yii_1 + yi_1) + xi * (yii_1 + yi)); in icvContourMoments()
144 dxy * (xi_12 * (3 * yi_1 + yi) + 2 * xi * xi_1 * yii_1 + in icvContourMoments()
147 dxy * (yi_12 * (3 * xi_1 + xi) + 2 * yi * yi_1 * xii_1 + in icvContourMoments()
[all …]
Dcvshapedescr.cpp462 double a00 = 0, xi_1, yi_1; in icvContourArea() local
469 xi_1 = ((CvPoint*)(reader.ptr))->x; in icvContourArea()
474 xi_1 = ((CvPoint2D32f*)(reader.ptr))->x; in icvContourArea()
495 dxy = xi_1 * yi - xi * yi_1; in icvContourArea()
497 xi_1 = xi; in icvContourArea()
567 double xi, yi, xi_1, yi_1, x0, y0, dxy, sk, sk1, t; in icvContourSecArea() local
588 a00 = x0 = y0 = xi_1 = yi_1 = 0; in icvContourSecArea()
618 xi_1 = (double) pt.x; in icvContourSecArea()
620 x0 = xi_1; in icvContourSecArea()
636 dxy = xi_1 * yi - xi * yi_1; in icvContourSecArea()
[all …]
/external/opencv3/modules/imgproc/src/
Dmoments.cpp107 double xi, yi, xi2, yi2, xi_1, yi_1, xi_12, yi_12, dxy, xii_1, yii_1; in contourMoments() local
111 xi_1 = ptsi[lpt-1].x; in contourMoments()
116 xi_1 = ptsf[lpt-1].x; in contourMoments()
120 xi_12 = xi_1 * xi_1; in contourMoments()
138 dxy = xi_1 * yi - xi * yi_1; in contourMoments()
139 xii_1 = xi_1 + xi; in contourMoments()
145 a20 += dxy * (xi_1 * xii_1 + xi2); in contourMoments()
146 a11 += dxy * (xi_1 * (yii_1 + yi_1) + xi * (yii_1 + yi)); in contourMoments()
150 a21 += dxy * (xi_12 * (3 * yi_1 + yi) + 2 * xi * xi_1 * yii_1 + in contourMoments()
152 a12 += dxy * (yi_12 * (3 * xi_1 + xi) + 2 * yi * yi_1 * xii_1 + in contourMoments()
[all …]
Dshapedescr.cpp763 double xi, yi, xi_1, yi_1, x0, y0, dxy, sk, sk1, t; in icvContourSecArea() local
780 a00 = x0 = y0 = xi_1 = yi_1 = 0; in icvContourSecArea()
807 xi_1 = (double) pt.x; in icvContourSecArea()
809 x0 = xi_1; in icvContourSecArea()
825 dxy = xi_1 * yi - xi * yi_1; in icvContourSecArea()
845 du = xi - xi_1; in icvContourSecArea()
849 t = ((yi_1 - pt_s.y) * du + dv * (pt_s.x - xi_1)) / in icvContourSecArea()
852 t = (xi_1 - pt_s.x) / dx; in icvContourSecArea()
857 dxy = xi_1 * y_s - x_s * yi_1; in icvContourSecArea()
876 dxy = xi_1 * yi - xi * yi_1; in icvContourSecArea()
[all …]