HomeSort by relevance Sort by last modified time
    Searched refs:Point2f (Results 1 - 25 of 150) sorted by null

1 2 3 4 5 6

  /external/opencv3/modules/imgproc/src/
min_enclosing_triangle.cpp 107 static void advanceBToRightChain(const std::vector<cv::Point2f> &polygon,
113 static double angleOfLineWrtOxAxis(const cv::Point2f &a, const cv::Point2f &b);
115 static bool areEqualPoints(const cv::Point2f &point1, const cv::Point2f &point2);
124 double sideCExtraParam, cv::Point2f &intersectionPoint1,
125 cv::Point2f &intersectionPoint2);
127 static bool areOnTheSameSideOfLine(const cv::Point2f &p1, const cv::Point2f &p2,
128 const cv::Point2f &a, const cv::Point2f &b)
    [all...]
geometry.cpp 91 cv::RotatedRect(box).points((cv::Point2f*)pt);
95 double cv::pointPolygonTest( InputArray _contour, Point2f pt, bool measureDist )
111 const Point2f* cntf = (const Point2f*)cnt;
146 Point2f v0, v;
272 static int areaSign( Point2f a, Point2f b, Point2f c )
283 static bool between( Point2f a, Point2f b, Point2f c
    [all...]
subdivision2d.cpp 69 int Subdiv2D::edgeOrg(int edge, CV_OUT Point2f* orgpt) const
81 int Subdiv2D::edgeDst(int edge, CV_OUT Point2f* dstpt) const
94 Point2f Subdiv2D::getVertex(int vertex, CV_OUT int* firstEdge) const
150 Subdiv2D::Vertex::Vertex(Point2f _pt, bool _isvirtual, int _firstEdge)
213 static double triangleArea( Point2f a, Point2f b, Point2f c )
218 int Subdiv2D::isRightOf(Point2f pt, int edge) const
220 Point2f org, dst;
254 int Subdiv2D::newPoint(Point2f pt, bool isvirtual, int firstEdge
    [all...]
  /external/opencv3/modules/video/src/
lkpyramid.hpp 13 const Point2f* _prevPts, Point2f* _nextPts,
23 const Point2f* prevPts;
24 Point2f* nextPts;
  /external/opencv3/modules/calib3d/src/
circlesgrid.hpp 65 void findGrid(const std::vector<cv::Point2f> &points, cv::Size patternSize, std::vector<cv::Point2f>& centers);
68 void hierarchicalClustering(const std::vector<cv::Point2f> &points, const cv::Size &patternSize, std::vector<cv::Point2f> &patternPoints);
70 void findCorners(const std::vector<cv::Point2f> &hull2f, std::vector<cv::Point2f> &corners);
71 void findOutsideCorners(const std::vector<cv::Point2f> &corners, std::vector<cv::Point2f> &outsideCorners);
72 void getSortedCorners(const std::vector<cv::Point2f> &hull2f, const std::vector<cv::Point2f> &corners, const std::vector<cv::Point2f> &outsideCorners, std::vector<cv::Point2f> &sortedCorners (…)
    [all...]
quadsubpix.cpp 57 static void orderContours(const std::vector<std::vector<Point> >& contours, Point2f point, std::vector<std::pair<int, float> >& order)
67 double dist = norm(Point2f((float)contours[i][j].x, (float)contours[i][j].y) - point);
77 inline void fitCurve2Order(const std::vector<Point2f>& /*points*/, std::vector<float>& /*curve*/)
82 inline void findCurvesCross(const std::vector<float>& /*curve1*/, const std::vector<float>& /*curve2*/, Point2f& /*cross_point*/)
86 static void findLinesCrossPoint(Point2f origin1, Point2f dir1, Point2f origin2, Point2f dir2, Point2f& cross_point)
89 Point2f offset = origin2 - origin1
    [all...]
  /external/opencv3/samples/cpp/tutorial_code/ImgTrans/
Geometric_Transforms_Demo.cpp 26 Point2f srcTri[3];
27 Point2f dstTri[3];
40 srcTri[0] = Point2f( 0,0 );
41 srcTri[1] = Point2f( src.cols - 1.f, 0 );
42 srcTri[2] = Point2f( 0, src.rows - 1.f );
44 dstTri[0] = Point2f( src.cols*0.0f, src.rows*0.33f );
45 dstTri[1] = Point2f( src.cols*0.85f, src.rows*0.25f );
46 dstTri[2] = Point2f( src.cols*0.15f, src.rows*0.7f );
  /external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
ModelRegistration.h 23 std::vector<cv::Point2f> get_points2d() const { return list_points2d_; }
29 void registerPoint(const cv::Point2f &point2d, const cv::Point3f &point3d);
38 std::vector<cv::Point2f> list_points2d_;
Model.h 21 std::vector<cv::Point2f> get_points2d_in() const { return list_points2d_in_; }
22 std::vector<cv::Point2f> get_points2d_out() const { return list_points2d_out_; }
29 void add_correspondence(const cv::Point2f &point2d, const cv::Point3f &point3d);
30 void add_outlier(const cv::Point2f &point2d);
45 std::vector<cv::Point2f> list_points2d_in_;
47 std::vector<cv::Point2f> list_points2d_out_;
ModelRegistration.cpp 21 void ModelRegistration::registerPoint(const cv::Point2f &point2d, const cv::Point3f &point3d)
PnPProblem.h 26 bool backproject2DPoint(const Mesh *mesh, const cv::Point2f &point2d, cv::Point3f &point3d);
28 std::vector<cv::Point2f> verify_points(Mesh *mesh);
29 cv::Point2f backproject3DPoint(const cv::Point3f &point3d);
30 bool estimatePose(const std::vector<cv::Point3f> &list_points3d, const std::vector<cv::Point2f> &list_points2d, int flags);
31 void estimatePoseRANSAC( const std::vector<cv::Point3f> &list_points3d, const std::vector<cv::Point2f> &list_points2d,
CsvWriter.h 17 void writeUVXYZ(const vector<Point3f> &list_points3d, const vector<Point2f> &list_points2d, const Mat &descriptors);
Utils.h 34 void drawPoints(cv::Mat image, std::vector<cv::Point2f> &list_points_2d, std::vector<cv::Point3f> &list_points_3d, cv::Scalar color);
37 void draw2DPoints(cv::Mat image, std::vector<cv::Point2f> &list_points, cv::Scalar color);
43 void draw3DCoordinateAxes(cv::Mat image, const std::vector<cv::Point2f> &list_points2d);
  /external/opencv3/modules/video/test/
test_tvl1optflow.cpp 59 void writeOpticalFlowToFile(const Mat_<Point2f>& flow, const string& fileName)
73 const Point2f u = flow(i, j);
84 void readOpticalFlowFromFile(Mat_<Point2f>& flow, const string& fileName)
103 Point2f u;
113 bool isFlowCorrect(Point2f u)
118 double calcRMSE(const Mat_<Point2f>& flow1, const Mat_<Point2f>& flow2)
127 const Point2f u1 = flow1(i, j);
128 const Point2f u2 = flow2(i, j);
132 const Point2f diff = u1 - u2
    [all...]
test_estimaterigid.cpp 76 Point2f operator()(const Point2f& p)
78 return Point2f( (float)(p.x * F[0] + p.y * F[1] + F[2]),
104 transform(fpts.ptr<Point2f>(), fpts.ptr<Point2f>() + n, tpts.ptr<Point2f>(), WrapAff2D(aff));
  /external/opencv3/modules/imgproc/test/
test_intersection.cpp 116 vector<Point2f> vertices;
142 vector<Point2f> vertices;
149 vector<Point2f> possibleVertices(4);
151 possibleVertices[0] = Point2f(0.0f, 0.0f);
152 possibleVertices[1] = Point2f(1.0f, 1.0f);
153 possibleVertices[2] = Point2f(0.0f, 1.0f);
154 possibleVertices[3] = Point2f(1.0f, 0.0f);
190 vector<Point2f> vertices;
197 vector<Point2f> possibleVertices(3);
199 possibleVertices[0] = Point2f(1.0f, 1.0f)
    [all...]
  /external/opencv3/modules/calib3d/test/
test_chessboardgenerator.hpp 21 Mat operator()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, std::vector<Point2f>& corners) const;
22 Mat operator()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, const Size2f& squareSize, std::vector<Point2f>& corners) const;
23 Mat operator()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, const Size2f& squareSize, const Point3f& pos, std::vector<Point2f>& corners) const;
31 float sqWidth, float sqHeight, const std::vector<Point3f>& whole, std::vector<Point2f>& corners) const;
  /external/opencv3/modules/core/test/
test_rotatedrect.cpp 56 Point2f a, b, c;
70 a = Point2f( rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL), rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL) );
73 b = Point2f( rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL), rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL) );
80 c = Point2f( (float) ((double) b.x + d * perp[0]), (float) ((double) b.y + d * perp[1]) );
91 Point2f vertices[4];
  /external/opencv3/samples/cpp/tutorial_code/features2D/AKAZE_tracking/
utils.h 11 void drawBoundingBox(Mat image, vector<Point2f> bb);
14 vector<Point2f> Points(vector<KeyPoint> keypoints);
16 void drawBoundingBox(Mat image, vector<Point2f> bb)
50 vector<Point2f> Points(vector<KeyPoint> keypoints)
52 vector<Point2f> res;
  /external/opencv3/modules/shape/src/
tps_trans.cpp 105 static float distance(Point2f p, Point2f q)
107 Point2f diff = p - q;
115 static Point2f _applyTransformation(const Mat &shapeRef, const Point2f point, const Mat &tpsParameters)
117 Point2f out;
129 distance(Point2f(shapeRef.at<float>(j,0),shapeRef.at<float>(j,1)),
158 Point2f pt = _applyTransformation(shapeReference, Point2f(float(col), float(row)), tpsParameters);
180 Point2f pt=pts1.at<Point2f>(0,i)
    [all...]
aff_trans.cpp 109 static Mat _localAffineEstimate(const std::vector<Point2f>& shape1, const std::vector<Point2f>& shape2,
207 std::vector<Point2f> shape1; // transforming shape
208 std::vector<Point2f> shape2; // target shape
211 Point2f pt1=pts1.at<Point2f>(0,matches[i].queryIdx);
214 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx);
243 outMat.at<Point2f>(0,i)=fAffine.at<Point2f>(0,i)
    [all...]
  /external/opencv3/samples/cpp/
cout_mat.cpp 45 Point2f p(5, 1);
58 vector<Point2f> points(20);
60 points[i] = Point2f((float)(i * 5), (float)(i % 7));
delaunay2.cpp 19 static void draw_subdiv_point( Mat& img, Point2f fp, Scalar color )
54 static void locate_point( Mat& img, Subdiv2D& subdiv, Point2f fp, Scalar active_color )
65 Point2f org, dst;
80 vector<vector<Point2f> > facets;
81 vector<Point2f> centers;
122 Point2f fp( (float)(rand()%(rect.width-10)+5),
lkdemo.cpp 26 Point2f point;
33 point = Point2f((float)x, (float)y);
65 vector<Point2f> points[2];
117 vector<Point2f> tmp;
  /external/opencv3/modules/videostab/src/
global_motion.cpp 85 static Mat normalizePoints(int npoints, Point2f *points)
121 int npoints, Point2f *points0, Point2f *points1, float *rmse)
146 int npoints, Point2f *points0, Point2f *points1, float *rmse)
153 Point2f p0, p1;
182 int npoints, Point2f *points0, Point2f *points1, float *rmse)
184 Point2f p0, p1;
226 int npoints, Point2f *points0, Point2f *points1, float *rmse
    [all...]

Completed in 2633 milliseconds

1 2 3 4 5 6