Home
last modified time | relevance | path

Searched refs:pts1 (Results 1 – 18 of 18) sorted by relevance

/external/opencv3/modules/imgproc/src/
Dintersection.cpp55 Point2f pts1[4], pts2[4]; in rotatedRectangleIntersection() local
59 rect1.points(pts1); in rotatedRectangleIntersection()
70 … if( fabs(pts1[i].x - pts2[i].x) > samePointEps || (fabs(pts1[i].y - pts2[i].y) > samePointEps) ) in rotatedRectangleIntersection()
83 intersection[i] = pts1[i]; in rotatedRectangleIntersection()
96 vec1[i].x = pts1[(i+1)%4].x - pts1[i].x; in rotatedRectangleIntersection()
97 vec1[i].y = pts1[(i+1)%4].y - pts1[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()
131 float xi = pts1[i].x + vec1[i].x*t1; in rotatedRectangleIntersection()
132 float yi = pts1[i].y + vec1[i].y*t1; in rotatedRectangleIntersection()
[all …]
/external/opencv3/modules/shape/src/
Dtps_trans.cpp169 Mat pts1 = inPts.getMat(); in applyTransformation() local
170 CV_Assert((pts1.channels()==2) && (pts1.cols>0)); in applyTransformation()
176 outPts.create(1,pts1.cols, CV_32FC2); in applyTransformation()
178 for (int i=0; i<pts1.cols; i++) in applyTransformation()
180 Point2f pt=pts1.at<Point2f>(0,i); in applyTransformation()
191 Mat pts1 = _pts1.getMat(); in estimateTransformation() local
193 CV_Assert((pts1.channels()==2) && (pts1.cols>0) && (pts2.channels()==2) && (pts2.cols>0)); in estimateTransformation()
196 if (pts1.type() != CV_32F) in estimateTransformation()
197 pts1.convertTo(pts1, CV_32F); in estimateTransformation()
205 if (_matches[i].queryIdx<pts1.cols && in estimateTransformation()
[all …]
Daff_trans.cpp185 Mat pts1 = _pts1.getMat(); in estimateTransformation() local
187 CV_Assert((pts1.channels()==2) && (pts1.cols>0) && (pts2.channels()==2) && (pts2.cols>0)); in estimateTransformation()
190 if (pts1.type() != CV_32F) in estimateTransformation()
191 pts1.convertTo(pts1, CV_32F); in estimateTransformation()
199 if (_matches[i].queryIdx<pts1.cols && in estimateTransformation()
211 Point2f pt1=pts1.at<Point2f>(0,matches[i].queryIdx); in estimateTransformation()
230 Mat pts1 = inPts.getMat(); in applyTransformation() local
231 CV_Assert((pts1.channels()==2) && (pts1.cols>0)); in applyTransformation()
235 transform(pts1, fAffine, affineMat); in applyTransformation()
/external/eigen/test/
Dgeo_homogeneous.cpp75 Matrix<Scalar, Size+1, Dynamic> pts1, pts2; in homogeneous() local
81 pts1 = pts.colwise().homogeneous(); in homogeneous()
82 VERIFY_IS_APPROX(aff * pts.colwise().homogeneous(), (aff * pts1).colwise().hnormalized()); in homogeneous()
83 VERIFY_IS_APPROX(caff * pts.colwise().homogeneous(), (caff * pts1).colwise().hnormalized()); in homogeneous()
84 VERIFY_IS_APPROX(proj * pts.colwise().homogeneous(), (proj * pts1)); in homogeneous()
86 VERIFY_IS_APPROX((aff * pts1).colwise().hnormalized(), aff * pts); in homogeneous()
87 VERIFY_IS_APPROX((caff * pts1).colwise().hnormalized(), caff * pts); in homogeneous()
89 pts2 = pts1; in homogeneous()
/external/opencv3/doc/py_tutorials/py_calib3d/py_epipolar_geometry/
Dpy_epipolar_geometry.markdown97 pts1 = []
105 pts1.append(kp1[m.queryIdx].pt)
109 pts1 = np.int32(pts1)
111 F, mask = cv2.findFundamentalMat(pts1,pts2,cv2.FM_LMEDS)
114 pts1 = pts1[mask.ravel()==1]
121 def drawlines(img1,img2,lines,pts1,pts2):
127 for r,pt1,pt2 in zip(lines,pts1,pts2):
142 img5,img6 = drawlines(img1,img2,lines1,pts1,pts2)
146 lines2 = cv2.computeCorrespondEpilines(pts1.reshape(-1,1,2), 1,F)
148 img3,img4 = drawlines(img2,img1,lines2,pts2,pts1)
/external/skia/experimental/
DSkSetPoly3To3_D.cpp28 const SkPoint pts1[3], const SkPoint& ave1) { in computeOuterProduct()
35 SkScalar x1 = pts1[i].fX - ave1.fX; in computeOuterProduct()
36 SkScalar y1 = pts1[i].fY - ave1.fY; in computeOuterProduct()
DSkSetPoly3To3.cpp15 const SkPoint pts1[3], const SkPoint& ave1) { in computeOuterProduct()
20 SkScalar x1 = pts1[i].fX - ave1.fX; in computeOuterProduct()
21 SkScalar y1 = pts1[i].fY - ave1.fY; in computeOuterProduct()
DSkSetPoly3To3_A.cpp28 const SkPoint pts1[3], const SkPoint& ave1) { in computeOuterProduct()
33 SkScalar x1 = pts1[i].fX - ave1.fX; in computeOuterProduct()
34 SkScalar y1 = pts1[i].fY - ave1.fY; in computeOuterProduct()
/external/opencv3/doc/py_tutorials/py_imgproc/py_geometric_transformations/
Dpy_geometric_transformations.markdown112 pts1 = np.float32([[50,50],[200,50],[50,200]])
115 M = cv2.getAffineTransform(pts1,pts2)
141 pts1 = np.float32([[56,65],[368,52],[28,387],[389,390]])
144 M = cv2.getPerspectiveTransform(pts1,pts2)
/external/kernel-headers/original/uapi/linux/
Dcm4000_cs.h36 unsigned char pts1; member
/external/skia/gm/
Dperspshaders.cpp52 SkPoint pts1[] = { in onOnceBeforeDraw() local
65 fLinearGrad1.reset(SkGradientShader::CreateLinear(pts1, colors, pos, in onOnceBeforeDraw()
Dpictureimagegenerator.cpp66 const SkPoint pts1[] = { SkPoint::Make(underlineRect.x(), 0), in draw_vector_logo() local
71 SkAutoTUnref<SkShader> gradient1(SkGradientShader::CreateLinear(pts1, colors1, pos1, in draw_vector_logo()
Dfilterfastbounds.cpp65 SkPoint pts1[2] = { { r.fLeft, r.fBottom }, { r.fRight, r.fTop } }; in draw_points() local
68 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, pts1, p); in draw_points()
/external/selinux/sepolgen/tests/test_data/
Dhttpd.log3185 …8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="dhcdbd" exe="…
3187 …8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="dhcdbd" exe="…
3202 …8111 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="dhcdbd" exe="…
3362 …8154 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="yum" exe="/us…
3364 …8154 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="yum" exe="/us…
3366 …8154 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="yum" exe="/us…
3369 …8154 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="yum" exe="/us…
3371 …8154 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="yum" exe="/us…
3375 …8154 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="yum" exe="/us…
3378 …8154 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="yum" exe="/us…
[all …]
Daudit.log16 …500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts1 comm="su" exe="/bin…
18 …d=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts1 comm="xauth" exe="/…
20 …d=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts1 comm="xauth" exe="/…
22 …d=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts1 comm="xauth" exe="/…
27 …500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts1 comm="su" exe="/bin…
29 …500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts1 comm="su" exe="/bin…
31 …6379 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="xauth" exe="/…
35 …6379 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="xauth" exe="/…
37 …6379 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="xauth" exe="/…
39 …6379 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="xauth" exe="/…
[all …]
/external/opencv3/modules/calib3d/src/
Dcalibinit.cpp196 icvCalcAffineTranf2D32f(CvPoint2D32f* pts1, CvPoint2D32f* pts2, int count, CvMat* affine_trans)
202 if( pts1[j].x >= 0 ) real_count++;
210 if( pts1[j].x >= 0 )
217 CV_MAT_ELEM( *uv, float, i*2, 0 ) = pts1[j].x;
218 CV_MAT_ELEM( *uv, float, i*2+1, 0 ) = pts1[j].y;
/external/opencv/cv/src/
Dcvcalibinit.cpp166 icvCalcAffineTranf2D32f(CvPoint2D32f* pts1, CvPoint2D32f* pts2, int count, CvMat* affine_trans)
172 if( pts1[j].x >= 0 ) real_count++;
180 if( pts1[j].x >= 0 )
187 CV_MAT_ELEM( *uv, float, i*2, 0 ) = pts1[j].x;
188 CV_MAT_ELEM( *uv, float, i*2+1, 0 ) = pts1[j].y;
/external/skia/tests/
DPathTest.cpp2318 SkPoint pts1[kPtCount]; in test_transform() local
2319 int count = p1.getPoints(pts1, kPtCount); in test_transform()
2323 REPORTER_ASSERT(reporter, newPt == pts1[i]); in test_transform()