Home
last modified time | relevance | path

Searched refs:Vec2f (Results 1 – 25 of 27) sorted by relevance

12

/external/opencv3/samples/gpu/
Dopengl.cpp80 Mat_<Vec2f> vertex(1, 4); in main()
81 vertex << Vec2f(-1, 1), Vec2f(-1, -1), Vec2f(1, -1), Vec2f(1, 1); in main()
83 Mat_<Vec2f> texCoords(1, 4); in main()
84 texCoords << Vec2f(0, 0), Vec2f(0, 1), Vec2f(1, 1), Vec2f(1, 0); in main()
/external/opencv3/modules/imgproc/perf/
Dperf_warp.cpp112 Mat srcVertices = (Mat_<Vec2f>(1, 4) << Vec2f(0, 0),
113 Vec2f(static_cast<float>(size.width-1), 0),
114Vec2f(static_cast<float>(size.width-1), static_cast<float>(size.height-1)),
115 Vec2f(0, static_cast<float>(size.height-1)));
116 Mat dstVertices = (Mat_<Vec2f>(1, 4) << Vec2f(0, static_cast<float>(shift)),
117 Vec2f(static_cast<float>(size.width-shift/2), 0),
118Vec2f(static_cast<float>(size.width-shift), static_cast<float>(size.height-shift)),
119Vec2f(static_cast<float>(shift/2), static_cast<float>(size.height-1)));
Dperf_remap.cpp52 map1.at<Vec2f>(j, i)[0] = static_cast<float>(src.cols - i - 1); in PERF_TEST_P()
53 map1.at<Vec2f>(j, i)[1] = static_cast<float>(j); in PERF_TEST_P()
/external/opencv3/modules/imgproc/test/ocl/
Dtest_houghlines.cpp18 bool operator()(const Vec2f& a, const Vec2f b) const in operator ()()
76 std::sort(lines_cpu.begin<Vec2f>(), lines_cpu.end<Vec2f>(), Vec2fComparator()); in PARAM_TEST_CASE()
77 std::sort(lines_gpu.begin<Vec2f>(), lines_gpu.end<Vec2f>(), Vec2fComparator()); in PARAM_TEST_CASE()
/external/opencv3/modules/imgproc/perf/opencl/
Dperf_houghLines.cpp20 bool operator()(const Vec2f& a, const Vec2f b) const in operator ()()
56 std::sort(result.begin<Vec2f>(), result.end<Vec2f>(), Vec2fComparator());
/external/opencv3/modules/core/test/
Dtest_rotatedrect.cpp76 Vec2f along(a - b); in prepare_test_case()
77 Vec2f perp = Vec2f(-along[1], along[0]); in prepare_test_case()
Dtest_operations.cpp774 Mat_<Vec2f> mf2; in TestTemplateMat()
/external/opencv3/modules/cudaimgproc/perf/
Dperf_hough.cpp75 bool operator()(const cv::Vec2f& a, const cv::Vec2f b) const in operator ()()
112 cv::Vec2f* begin = gpu_lines.ptr<cv::Vec2f>(0); in PERF_TEST_P()
113 cv::Vec2f* end = begin + gpu_lines.cols; in PERF_TEST_P()
119 std::vector<cv::Vec2f> cpu_lines; in PERF_TEST_P()
/external/opencv3/modules/imgproc/test/
Dtest_houghLines.cpp60 bool SimilarWith<Vec2f>::operator()(Vec2f other) in operator ()()
188 …count = countMatIntersection<Vec2f>(exp_lines, lines, (float) thetaStep + FLT_EPSILON, (float) rho… in run_test()
/external/opencv3/modules/core/src/
Dkmeans.cpp51 static void generateRandomCenter(const std::vector<Vec2f>& box, float* center, RNG& rng) in generateRandomCenter()
259 std::vector<Vec2f> _box(dims); in kmeans()
260 Vec2f* box = &_box[0]; in kmeans()
284 box[j] = Vec2f(sample[j], sample[j]); in kmeans()
Drand.cpp214 static void randf_32f( float* arr, int len, uint64* state, const Vec2f* p, bool ) in randf_32f()
502 Vec2f* fp = 0; in fill()
598 fp = (Vec2f*)(parambuf + cn*2); in fill()
693 Vec2f* p = (Vec2f*)param; in fill()
/external/opencv3/modules/calib3d/src/
Dfisheye.cpp90 f = Vec2f(K(0, 0), K(1, 1)); in projectPoints()
91 c = Vec2f(K(0, 2), K(1, 2)); in projectPoints()
117 Vec2f *xpf = imagePoints.getMat().ptr<Vec2f>(); in projectPoints()
263 f = Vec2f(camMat(0, 0), camMat(1, 1)); in distortPoints()
264 c = Vec2f(camMat(0, 2), camMat(1, 2)); in distortPoints()
275 const Vec2f* Xf = undistorted.getMat().ptr<Vec2f>(); in distortPoints()
277 Vec2f *xpf = distorted.getMat().ptr<Vec2f>(); in distortPoints()
326 f = Vec2f(camMat(0, 0), camMat(1, 1)); in undistortPoints()
327 c = Vec2f(camMat(0, 2), camMat(1, 2)); in undistortPoints()
356 const cv::Vec2f* srcf = distorted.getMat().ptr<cv::Vec2f>(); in undistortPoints()
[all …]
/external/opencv3/modules/viz/test/
Dtest_tutorial3.cpp37 …myWindow.showWidget("CPW_FRUSTUM", viz::WCameraPosition(Vec2f(0.889484f, 0.523599f)), camera_pose); in tutorial3()
/external/opencv3/modules/viz/src/
Dtypes.cpp107 …principal_point_ = Vec2f(static_cast<float>(window_size.width)*0.5f, static_cast<float>(window_siz… in Camera()
108 … focal_ = Vec2f(principal_point_[0] / tan(fov_[0]*0.5f), principal_point_[1] / tan(fov_[1]*0.5f)); in Camera()
/external/opencv3/samples/cpp/
Dhoughlines.cpp34 vector<Vec2f> lines; in main()
Ddetect_mser.cpp227 Mat_<Vec2f> texCoords(1, img.cols*img.rows); in DrawOpenGLMSER()
235 texCoords.at< Vec2f>(0, nbPix) = Vec2f(x, y); in DrawOpenGLMSER()
/external/opencv3/samples/cpp/tutorial_code/viz/
Dtransformations.cpp96 viz::WCameraPosition cpw_frustum(Vec2f(0.889484, 0.523599)); // Camera frustum in main()
/external/opencv3/modules/cudaimgproc/test/
Dtest_hough.cpp64 static void drawLines(cv::Mat& dst, const std::vector<cv::Vec2f>& lines) in PARAM_TEST_CASE()
102 std::vector<cv::Vec2f> lines; in CUDA_TEST_P()
/external/opencv3/samples/cpp/tutorial_code/ImgTrans/
DHoughLines_Demo.cpp88 vector<Vec2f> s_lines; in Standard_Hough()
/external/opencv3/modules/imgproc/src/
Dhough.cpp80 int threshold, std::vector<Vec2f>& lines, int linesMax, in HoughLinesStandard()
179 lines.push_back(Vec2f(line.rho, line.angle)); in HoughLinesStandard()
201 std::vector<Vec2f>& lines, int linesMax, in HoughLinesSDiv()
405 lines.push_back(Vec2f(lst[idx].rho, lst[idx].theta)); in HoughLinesSDiv()
857 std::vector<Vec2f> lines; in HoughLines()
891 std::vector<cv::Vec2f> l2; in cvHoughLines2()
/external/opencv3/doc/tutorials/viz/transformations/
Dtransformations.markdown62 viz::WCameraPosition cpw_frustum(Vec2f(0.889484, 0.523599)); // Camera frustum
/external/opencv3/doc/tutorials/imgproc/imgtrans/hough_lines/
Dhough_lines.markdown126 vector<Vec2f> lines;
/external/opencv3/modules/features2d/src/kaze/
DAKAZEFeatures.cpp401 Vec2f b(0, 0); in Do_Subpixel_Refinement()
402 Vec2f dst(0, 0); in Do_Subpixel_Refinement()
/external/opencv3/modules/python/src2/
Dcv2.cpp94 typedef std::vector<Vec2f> vector_Vec2f;
/external/opencv3/modules/core/include/opencv2/core/
Dmat.hpp2109 typedef Mat_<Vec2f> Mat2f;

12