Home
last modified time | relevance | path

Searched refs:yi_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
103 yi_1 = ((CvPoint*)(reader.ptr))->y; in icvContourMoments()
108 yi_1 = ((CvPoint2D32f*)(reader.ptr))->y; in icvContourMoments()
113 yi_12 = yi_1 * yi_1; in icvContourMoments()
131 dxy = xi_1 * yi - xi * yi_1; in icvContourMoments()
133 yii_1 = yi_1 + yi; in icvContourMoments()
139 a11 += dxy * (xi_1 * (yii_1 + yi_1) + xi * (yii_1 + yi)); in icvContourMoments()
140 a02 += dxy * (yi_1 * yii_1 + yi2); in icvContourMoments()
144 dxy * (xi_12 * (3 * yi_1 + yi) + 2 * xi * xi_1 * yii_1 + in icvContourMoments()
145 xi2 * (yi_1 + 3 * yi)); in icvContourMoments()
[all …]
Dcvshapedescr.cpp462 double a00 = 0, xi_1, yi_1; in icvContourArea() local
470 yi_1 = ((CvPoint*)(reader.ptr))->y; in icvContourArea()
475 yi_1 = ((CvPoint2D32f*)(reader.ptr))->y; in icvContourArea()
495 dxy = xi_1 * yi - xi * yi_1; in icvContourArea()
498 yi_1 = yi; 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()
619 yi_1 = (double) pt.y; in icvContourSecArea()
621 y0 = yi_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
112 yi_1 = ptsi[lpt-1].y; in contourMoments()
117 yi_1 = ptsf[lpt-1].y; in contourMoments()
121 yi_12 = yi_1 * yi_1; in contourMoments()
138 dxy = xi_1 * yi - xi * yi_1; in contourMoments()
140 yii_1 = yi_1 + yi; in contourMoments()
146 a11 += dxy * (xi_1 * (yii_1 + yi_1) + xi * (yii_1 + yi)); in contourMoments()
147 a02 += dxy * (yi_1 * yii_1 + yi2); in contourMoments()
150 a21 += dxy * (xi_12 * (3 * yi_1 + yi) + 2 * xi * xi_1 * yii_1 + in contourMoments()
151 xi2 * (yi_1 + 3 * yi)); 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()
808 yi_1 = (double) pt.y; in icvContourSecArea()
810 y0 = yi_1; in icvContourSecArea()
825 dxy = xi_1 * yi - xi * yi_1; in icvContourSecArea()
844 dv = yi - yi_1; in icvContourSecArea()
849 t = ((yi_1 - pt_s.y) * du + dv * (pt_s.x - xi_1)) / in icvContourSecArea()
857 dxy = xi_1 * y_s - x_s * yi_1; in icvContourSecArea()
876 dxy = xi_1 * yi - xi * yi_1; in icvContourSecArea()
880 yi_1 = yi; in icvContourSecArea()
[all …]