/external/opencv3/modules/imgproc/test/ |
test_imgwarp.cpp | 624 Point2f s[4], d[4]; 630 s[0] = Point2f(0,0); 631 d[0] = Point2f(0,0); 632 s[1] = Point2f(src.cols-1.f,0); 633 d[1] = Point2f(dst.cols-1.f,0); 634 s[2] = Point2f(src.cols-1.f,src.rows-1.f); 635 d[2] = Point2f(dst.cols-1.f,dst.rows-1.f); 636 s[3] = Point2f(0,src.rows-1.f); 637 d[3] = Point2f(0,dst.rows-1.f); [all...] |
test_imgwarp_strict.cpp | 1019 M = getRotationMatrix2D(Point2f(src.cols / 2.f, src.rows / 2.f), [all...] |
test_convhull.cpp | 164 static cv::Point2f 165 cvTsMiddlePoint(const cv::Point2f &a, const cv::Point2f &b) 167 return cv::Point2f((a.x + b.x) / 2, (a.y + b.y) / 2); 171 cvTsIsPointOnLineSegment(const cv::Point2f &x, const cv::Point2f &a, const cv::Point2f &b) 527 std::vector<cv::Point2f> _hull; 699 r.points((cv::Point2f*)box_pt); 802 std::vector<cv::Point2f> getTriangleMiddlePoints() [all...] |
test_boundingrect.cpp | 141 vector <Point2f> src_vecf; checking_function_work(src_vecf, 1);
|
test_lsd.cpp | 88 Point2f vertices[4];
|
/external/opencv3/modules/superres/src/ |
btv_l1.cpp | 210 const Point2f* forwardMotionRow = forwardMotion.ptr<Point2f>(y); 211 const Point2f* backwardMotionRow = backwardMotion.ptr<Point2f>(y); 212 Point2f* forwardMapRow = forwardMap.ptr<Point2f>(y); 213 Point2f* backwardMapRow = backwardMap.ptr<Point2f>(y); 217 Point2f base(static_cast<float>(x), static_cast<float>(y)); [all...] |
/external/opencv3/modules/cudaoptflow/test/ |
test_optflow.cpp | 201 std::vector<cv::Point2f> pts; 215 std::vector<cv::Point2f> nextPts(d_nextPts.cols); 223 std::vector<cv::Point2f> nextPts_gold;
|
/external/opencv3/samples/cpp/ |
stereo_calib.cpp | 72 vector<vector<Point2f> > imagePoints[2]; 98 vector<Point2f>& corners = imagePoints[k][j]; 262 vector<Point2f> allimgpt[2];
|
/external/opencv3/modules/video/src/ |
lkpyramid.cpp | 196 const Point2f* _prevPts, Point2f* _nextPts, 226 Point2f halfWin((winSize.width-1)*0.5f, (winSize.height-1)*0.5f); 240 Point2f prevPt = prevPts[ptidx]*(float)(1./(1 << level)); 241 Point2f nextPt; 503 Point2f prevDelta; 683 Point2f delta( (float)((A12*b2 - A22*b1) * D), 704 Point2f nextPoint = nextPts[ptidx] - halfWin; [all...] |
/external/opencv3/modules/imgproc/src/ |
linefit.cpp | 48 static void fitLine2D_wods( const Point2f* points, int count, float *weights, float *line ) 202 static double calcDist2D( const Point2f* points, int count, float *_line, float *dist ) 315 static void fitLine2D( const Point2f * points, int count, int dist, 613 fitLine2D( points.ptr<Point2f>(), npoints2, distType,
|
samplers.cpp | 131 _DTp* dst, size_t dst_step, Size win_size, Point2f center, int cn ) 221 float* dst, size_t dst_step, Size win_size, Point2f center0, int cn ) 223 Point2f center = center0; 365 void cv::getRectSubPix( InputArray _image, Size patchSize, Point2f center,
|
lsd.cpp | [all...] |
approx.cpp | 695 nout = approxPolyDP_(curve.ptr<Point2f>(), npoints, (Point2f*)buf, closed, epsilon, &_stack); 794 nout = cv::approxPolyDP_((cv::Point2f*)src, npoints, 795 (cv::Point2f*)dst, closed, parameter, &stack);
|
generalized_hough.cpp | 240 std::vector< std::vector<Point2f> > grid(gridWidth * gridHeight); 248 Point2f p(oldPosBuf[ind][0], oldPosBuf[ind][1]); 270 const std::vector<Point2f>& m = grid[yy * gridWidth + xx]; 274 const Point2f d = p - m[j];
|
/external/opencv3/modules/cudaimgproc/test/ |
test_hough.cpp | 126 cv::circle(dst, cv::Point2f(circles[i][0], circles[i][1]), (int)circles[i][2], cv::Scalar::all(255), fill ? -1 : 1); 242 cv::Point2f p(pos[j][0], pos[j][1]);
|
/external/opencv3/modules/features2d/src/ |
draw.cpp | 179 Point2f pt1 = kp1.pt, 181 dpt2 = Point2f( std::min(pt2.x+outImg1.size().width, float(outImg.size().width-1)), pt2.y );
|
/external/opencv3/modules/imgproc/perf/ |
perf_warp.cpp | 41 Mat warpMat = getRotationMatrix2D(Point2f(src.cols/2.f, src.rows/2.f), 30., 2.2); 71 Mat rotMat = getRotationMatrix2D(Point2f(src.cols/2.f, src.rows/2.f), 30., 2.2);
|
/external/opencv3/modules/stitching/src/ |
matchers.cpp | 593 Point2f p = features1.keypoints[m.queryIdx].pt; 596 src_points.at<Point2f>(0, static_cast<int>(i)) = p; 601 dst_points.at<Point2f>(0, static_cast<int>(i)) = p; 638 Point2f p = features1.keypoints[m.queryIdx].pt; 641 src_points.at<Point2f>(0, inlier_idx) = p; 646 dst_points.at<Point2f>(0, inlier_idx) = p;
|
warpers.cpp | 82 Point2f PlaneWarper::warpPoint(const Point2f &pt, InputArray K, InputArray R, InputArray T) 85 Point2f uv; 90 Point2f PlaneWarper::warpPoint(const Point2f &pt, InputArray K, InputArray R)
|
/external/opencv3/modules/core/include/opencv2/core/ |
types.hpp | 137 typedef Point_<float> Point2f; 142 Point2f a(0.3f, 0.f), b(0.f, 0.4f); 179 typedef Point_<float> Point2f; 440 RotatedRect rRect = RotatedRect(Point2f(100,100), Size2f(100,50), 30); 442 Point2f vertices[4]; 468 RotatedRect(const Point2f& center, const Size2f& size, float angle); 473 RotatedRect(const Point2f& point1, const Point2f& point2, const Point2f& point3); 478 void points(Point2f pts[]) const [all...] |
/external/opencv3/modules/calib3d/test/ |
test_homography.cpp | 144 cout << "Type of srcPoints: "; if ((j>-1) && (j<2)) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; 145 cout << " Type of dstPoints: "; if (j % 2 == 0) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; cout << endl; 156 cout << "Type of srcPoints: "; if ((j>-1) && (j<2)) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; 157 cout << " Type of dstPoints: "; if (j % 2 == 0) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; cout << endl; 172 cout << "Type of srcPoints: "; if ((j>-1) && (j<2)) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; 173 cout << " Type of dstPoints: "; if (j % 2 == 0) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; cout << endl; 185 cout << "Type of srcPoints: "; if ((j>-1) && (j<2)) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; 186 cout << " Type of dstPoints: "; if (j % 2 == 0) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; cout << endl; 199 cout << "Type of srcPoints: "; if ((j>-1) && (j<2)) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; 200 cout << " Type of dstPoints: "; if (j % 2 == 0) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; cout << endl [all...] |
/external/opencv3/modules/java/src/ |
calib3d.cpp | [all...] |
/external/opencv3/modules/features2d/include/opencv2/ |
features2d.hpp | [all...] |
/external/opencv3/modules/core/test/ |
test_operations.cpp | 663 if (Mat_<Point2f>(1, 1).elemSize1() != sizeof(float)) throw test_excep(); 664 if (Mat_<Point2f>(1, 1).elemSize() != 2 * sizeof(float)) throw test_excep(); 665 if (Mat_<Point2f>(1, 1).depth() != CV_32F) throw test_excep(); 673 if (Mat_<Point2f>(1, 1).channels() != 2) throw test_excep(); 687 Mat_<Point2f> pntMat(2, 2, Point2f(1, 0)); [all...] |
/external/opencv3/modules/cudaimgproc/src/ |
generalized_hough.cpp | 363 std::vector< std::vector<Point2f> > grid(gridWidth * gridHeight); 371 Point2f p(oldPosBuf_[ind].x, oldPosBuf_[ind].y); 393 const std::vector<Point2f>& m = grid[yy * gridWidth + xx]; 397 const Point2f d = p - m[j];
|