/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 103 yi_1 = ((CvPoint*)(reader.ptr))->y; 108 yi_1 = ((CvPoint2D32f*)(reader.ptr))->y; 113 yi_12 = yi_1 * yi_1; 131 dxy = xi_1 * yi - xi * yi_1; 133 yii_1 = yi_1 + yi; 139 a11 += dxy * (xi_1 * (yii_1 + yi_1) + xi * (yii_1 + yi)); 140 a02 += dxy * (yi_1 * yii_1 + yi2); 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 470 yi_1 = ((CvPoint*)(reader.ptr))->y; 475 yi_1 = ((CvPoint2D32f*)(reader.ptr))->y; 495 dxy = xi_1 * yi - xi * yi_1; 498 yi_1 = yi; 567 double xi, yi, xi_1, yi_1, x0, y0, dxy, sk, sk1, t; local 588 a00 = x0 = y0 = xi_1 = yi_1 = 0; 619 yi_1 = (double) pt.y; 621 y0 = yi_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 112 yi_1 = ptsi[lpt-1].y; 117 yi_1 = ptsf[lpt-1].y; 121 yi_12 = yi_1 * yi_1; 138 dxy = xi_1 * yi - xi * yi_1; 140 yii_1 = yi_1 + yi; 146 a11 += dxy * (xi_1 * (yii_1 + yi_1) + xi * (yii_1 + yi)); 147 a02 += dxy * (yi_1 * yii_1 + yi2); 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; 808 yi_1 = (double) pt.y; 810 y0 = yi_1; 825 dxy = xi_1 * yi - xi * yi_1; 844 dv = yi - yi_1; 849 t = ((yi_1 - pt_s.y) * du + dv * (pt_s.x - xi_1)) / 857 dxy = xi_1 * y_s - x_s * yi_1; 876 dxy = xi_1 * yi - xi * yi_1; 880 yi_1 = yi [all...] |