/external/opencv/cv/src/ |
cvmoments.cpp | 93 double xi, yi, xi2, yi2, xi_1, yi_1, xi_12, yi_12, dxy, xii_1, yii_1; local 102 xi_1 = ((CvPoint*)(reader.ptr))->x; 107 xi_1 = ((CvPoint2D32f*)(reader.ptr))->x; 112 xi_12 = xi_1 * xi_1; 131 dxy = xi_1 * yi - xi * yi_1; 132 xii_1 = xi_1 + xi; 138 a20 += dxy * (xi_1 * xii_1 + xi2); 139 a11 += dxy * (xi_1 * (yii_1 + yi_1) + xi * (yii_1 + yi)); 144 dxy * (xi_12 * (3 * yi_1 + yi) + 2 * xi * xi_1 * yii_1 [all...] |
cvshapedescr.cpp | 462 double a00 = 0, xi_1, yi_1; local 469 xi_1 = ((CvPoint*)(reader.ptr))->x; 474 xi_1 = ((CvPoint2D32f*)(reader.ptr))->x; 495 dxy = xi_1 * yi - xi * yi_1; 497 xi_1 = xi; 567 double xi, yi, xi_1, yi_1, x0, y0, dxy, sk, sk1, t; local 588 a00 = x0 = y0 = xi_1 = yi_1 = 0; 618 xi_1 = (double) pt.x; 620 x0 = xi_1; 636 dxy = xi_1 * yi - xi * yi_1 [all...] |
/external/opencv3/modules/imgproc/src/ |
moments.cpp | 107 double xi, yi, xi2, yi2, xi_1, yi_1, xi_12, yi_12, dxy, xii_1, yii_1; local 111 xi_1 = ptsi[lpt-1].x; 116 xi_1 = ptsf[lpt-1].x; 120 xi_12 = xi_1 * xi_1; 138 dxy = xi_1 * yi - xi * yi_1; 139 xii_1 = xi_1 + xi; 145 a20 += dxy * (xi_1 * xii_1 + xi2); 146 a11 += dxy * (xi_1 * (yii_1 + yi_1) + xi * (yii_1 + yi)); 150 a21 += dxy * (xi_12 * (3 * yi_1 + yi) + 2 * xi * xi_1 * yii_1 [all...] |
shapedescr.cpp | 763 double xi, yi, xi_1, yi_1, x0, y0, dxy, sk, sk1, t; local 780 a00 = x0 = y0 = xi_1 = yi_1 = 0; 807 xi_1 = (double) pt.x; 809 x0 = xi_1; 825 dxy = xi_1 * yi - xi * yi_1; 845 du = xi - xi_1; 849 t = ((yi_1 - pt_s.y) * du + dv * (pt_s.x - xi_1)) / 852 t = (xi_1 - pt_s.x) / dx; 857 dxy = xi_1 * y_s - x_s * yi_1; 876 dxy = xi_1 * yi - xi * yi_1 [all...] |