/external/opencv3/modules/imgproc/src/ |
D | intersection.cpp | 55 Point2f pts1[4], pts2[4]; in rotatedRectangleIntersection() local 60 rect2.points(pts2); in rotatedRectangleIntersection() 70 … if( fabs(pts1[i].x - pts2[i].x) > samePointEps || (fabs(pts1[i].y - pts2[i].y) > samePointEps) ) in rotatedRectangleIntersection() 99 vec2[i].x = pts2[(i+1)%4].x - pts2[i].x; in rotatedRectangleIntersection() 100 vec2[i].y = pts2[(i+1)%4].y - pts2[i].y; in rotatedRectangleIntersection() 109 float x21 = pts2[j].x - pts1[i].x; in rotatedRectangleIntersection() 110 float y21 = pts2[j].y - pts1[i].y; in rotatedRectangleIntersection() 162 float C = -(A*pts2[j].x + B*pts2[j].y); in rotatedRectangleIntersection() 191 float x = pts2[i].x; in rotatedRectangleIntersection() 192 float y = pts2[i].y; in rotatedRectangleIntersection() [all …]
|
/external/eigen/test/ |
D | geo_homogeneous.cpp | 75 Matrix<Scalar, Size+1, Dynamic> pts1, pts2; in homogeneous() local 89 pts2 = pts1; in homogeneous() 90 pts2.row(Size).setRandom(); in homogeneous() 91 VERIFY_IS_APPROX((aff * pts2).colwise().hnormalized(), aff * pts2.colwise().hnormalized()); in homogeneous() 92 VERIFY_IS_APPROX((caff * pts2).colwise().hnormalized(), caff * pts2.colwise().hnormalized()); in homogeneous() 93 …VERIFY_IS_APPROX((proj * pts2).colwise().hnormalized(), (proj * pts2.colwise().hnormalized().colwi… in homogeneous()
|
/external/opencv3/modules/shape/src/ |
D | aff_trans.cpp | 186 Mat pts2 = _pts2.getMat(); in estimateTransformation() local 187 CV_Assert((pts1.channels()==2) && (pts1.cols>0) && (pts2.channels()==2) && (pts2.cols>0)); in estimateTransformation() 192 if (pts2.type() != CV_32F) in estimateTransformation() 193 pts2.convertTo(pts2, CV_32F); in estimateTransformation() 200 _matches[i].trainIdx<pts2.cols) in estimateTransformation() 214 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx); in estimateTransformation()
|
D | tps_trans.cpp | 192 Mat pts2 = _pts2.getMat(); in estimateTransformation() local 193 CV_Assert((pts1.channels()==2) && (pts1.cols>0) && (pts2.channels()==2) && (pts2.cols>0)); in estimateTransformation() 198 if (pts2.type() != CV_32F) in estimateTransformation() 199 pts2.convertTo(pts2, CV_32F); in estimateTransformation() 206 _matches[i].trainIdx<pts2.cols) in estimateTransformation() 221 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx); in estimateTransformation()
|
/external/opencv3/samples/cpp/tutorial_code/photo/seamless_cloning/ |
D | cloning_gui.cpp | 52 Point* pts2 = new Point[100]; variable 201 pts2[i].x = point.x + pts_diff[i].x; in destination() 202 pts2[i].y = point.y + pts_diff[i].y; in destination() 207 pts2[i].x = point.x + pts_diff[0].x; in destination() 208 pts2[i].y = point.y + pts_diff[0].y; in destination() 211 const Point* pts5[1] = {&pts2[0]}; in destination() 224 minxd = min(minxd,pts2[i].x); in destination() 225 maxxd = max(maxxd,pts2[i].x); in destination() 226 minyd = min(minyd,pts2[i].y); in destination() 227 maxyd = max(maxyd,pts2[i].y); in destination() [all …]
|
/external/opencv3/samples/cpp/ |
D | cloning_gui.cpp | 53 Point* pts2 = new Point[100]; variable 202 pts2[i].x = point.x + pts_diff[i].x; in destination() 203 pts2[i].y = point.y + pts_diff[i].y; in destination() 208 pts2[i].x = point.x + pts_diff[0].x; in destination() 209 pts2[i].y = point.y + pts_diff[0].y; in destination() 212 const Point* pts5[1] = {&pts2[0]}; in destination() 225 minxd = min(minxd,pts2[i].x); in destination() 226 maxxd = max(maxxd,pts2[i].x); in destination() 227 minyd = min(minyd,pts2[i].y); in destination() 228 maxyd = max(maxyd,pts2[i].y); in destination() [all …]
|
/external/skia/gm/ |
D | strokes.cpp | 250 SkPoint pts2[3]; variable 251 memcpy(pts2, pts, sizeof(pts)); 253 pts2[0].fX += tangent.fX * capOutset; 254 pts2[0].fY += tangent.fY * capOutset; 255 pts2[1].fX += tangent.fX * capOutset; 256 pts2[1].fY += tangent.fY * capOutset; 257 pts2[2].fX += -tangent.fX * capOutset; 258 pts2[2].fY += -tangent.fY * capOutset; 259 path.moveTo(pts2[0]); 260 path.quadTo(pts2[1], pts2[2]);
|
D | perspshaders.cpp | 56 SkPoint pts2[] = { in onOnceBeforeDraw() local 68 fLinearGrad2.reset(SkGradientShader::CreateLinear(pts2, colors, pos, in onOnceBeforeDraw()
|
D | pictureimagegenerator.cpp | 77 const SkPoint pts2[] = { SkPoint::Make(iBox.x() - iBox.width() * kGradientPad, 0), in draw_vector_logo() local 91 SkAutoTUnref<SkShader> gradient2(SkGradientShader::CreateLinear(pts2, colors2, pos2, in draw_vector_logo()
|
/external/opencv3/doc/py_tutorials/py_calib3d/py_epipolar_geometry/ |
D | py_epipolar_geometry.markdown | 98 pts2 = [] 104 pts2.append(kp2[m.trainIdx].pt) 110 pts2 = np.int32(pts2) 111 F, mask = cv2.findFundamentalMat(pts1,pts2,cv2.FM_LMEDS) 115 pts2 = pts2[mask.ravel()==1] 121 def drawlines(img1,img2,lines,pts1,pts2): 127 for r,pt1,pt2 in zip(lines,pts1,pts2): 140 lines1 = cv2.computeCorrespondEpilines(pts2.reshape(-1,1,2), 2,F) 142 img5,img6 = drawlines(img1,img2,lines1,pts1,pts2) 148 img3,img4 = drawlines(img2,img1,lines2,pts2,pts1)
|
/external/opencv3/doc/py_tutorials/py_imgproc/py_geometric_transformations/ |
D | py_geometric_transformations.markdown | 113 pts2 = np.float32([[10,100],[200,50],[100,250]]) 115 M = cv2.getAffineTransform(pts1,pts2) 142 pts2 = np.float32([[0,0],[300,0],[0,300],[300,300]]) 144 M = cv2.getPerspectiveTransform(pts1,pts2)
|
/external/kernel-headers/original/uapi/linux/ |
D | cm4000_cs.h | 37 unsigned char pts2; member
|
/external/opencv3/modules/calib3d/src/ |
D | calibinit.cpp | 196 icvCalcAffineTranf2D32f(CvPoint2D32f* pts1, CvPoint2D32f* pts2, int count, CvMat* affine_trans) 212 CV_MAT_ELEM( *xy, float, i*2+1, 2 ) = CV_MAT_ELEM( *xy, float, i*2, 0 ) = pts2[j].x; 213 CV_MAT_ELEM( *xy, float, i*2+1, 3 ) = CV_MAT_ELEM( *xy, float, i*2, 1 ) = pts2[j].y;
|
/external/selinux/sepolgen/tests/test_data/ |
D | httpd.log | 3850 …500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts2 comm="su" exe="/bin… 3852 …d=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts2 comm="xauth" exe="/… 3854 …d=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts2 comm="xauth" exe="/… 3856 …d=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts2 comm="xauth" exe="/… 3861 …500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts2 comm="su" exe="/bin… 3863 …500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts2 comm="su" exe="/bin… 3865 …8522 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 comm="xauth" exe="/… 3869 …8522 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 comm="xauth" exe="/… 3871 …8522 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 comm="xauth" exe="/… 3873 …8522 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 comm="xauth" exe="/… [all …]
|
D | audit.log | 72 …6449 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 comm="consoletype" … 1902 …500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts2 comm="su" exe="/bin… 1904 …d=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts2 comm="xauth" exe="/… 1906 …d=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts2 comm="xauth" exe="/… 1908 …d=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts2 comm="xauth" exe="/… 1913 …500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts2 comm="su" exe="/bin… 1915 …500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts2 comm="su" exe="/bin… 1917 …4299 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 comm="xauth" exe="/… 1921 …4299 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 comm="xauth" exe="/… 1923 …4299 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 comm="xauth" exe="/… [all …]
|
/external/opencv/cv/src/ |
D | cvcalibinit.cpp | 166 icvCalcAffineTranf2D32f(CvPoint2D32f* pts1, CvPoint2D32f* pts2, int count, CvMat* affine_trans) 182 CV_MAT_ELEM( *xy, float, i*2+1, 2 ) = CV_MAT_ELEM( *xy, float, i*2, 0 ) = pts2[j].x; 183 CV_MAT_ELEM( *xy, float, i*2+1, 3 ) = CV_MAT_ELEM( *xy, float, i*2, 1 ) = pts2[j].y;
|
/external/opencv3/modules/core/test/ |
D | test_arithm.cpp | 1799 vector<Point> pts, pts2(10); in TEST() local 1801 findNonZero(img, pts2); in TEST() 1802 ASSERT_TRUE(pts.empty() && pts2.empty()); in TEST()
|
/external/skia/tests/ |
D | PathOpsOpTest.cpp | 3872 SkPoint pts2[] = { {0,3}, {1,2}, {6,5}, {6,4} }; in cubicOp130a() local 3873 complex_to_quads(pts2, &path); in cubicOp130a()
|