Home
last modified time | relevance | path

Searched refs:cv (Results 1 – 25 of 30) sorted by relevance

12

/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/include/
Dcirclesgrid.hpp59 CirclesGridClusterFinder(const cv::CirclesGridFinderParameters2 &parameters) in CirclesGridClusterFinder()
61 isAsymmetricGrid = parameters.gridType == cv::CirclesGridFinderParameters::ASYMMETRIC_GRID; in CirclesGridClusterFinder()
65 …void findGrid(const std::vector<cv::Point2f> &points, cv::Size patternSize, std::vector<cv::Point2…
68 …id hierarchicalClustering(const std::vector<cv::Point2f> &points, const cv::Size &patternSize, std…
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> &outside…
72cv::Point2f> &hull2f, const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f…
73 …atternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &sorted…
74 …rnPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &rectifiedP…
79 cv::Size patternSize;
[all …]
Dupnp.h60 upnp(const cv::Mat& cameraMatrix, const cv::Mat& opoints, const cv::Mat& ipoints);
63 double compute_pose(cv::Mat& R, cv::Mat& t);
68 void init_camera_parameters(const cv::Mat& cameraMatrix)
76 void init_points(const cv::Mat& opoints, const cv::Mat& ipoints)
92 … void fill_M(cv::Mat * M, const int row, const double * alphas, const double u, const double v);
98 void find_betas_and_focal_approx_1(cv::Mat * Ut, cv::Mat * Rho, double * betas, double * efs);
99 void find_betas_and_focal_approx_2(cv::Mat * Ut, cv::Mat * Rho, double * betas, double * efs);
100 void qr_solve(cv::Mat * A, cv::Mat * b, cv::Mat * X);
102 cv::Mat compute_constraint_distance_2param_6eq_2unk_f_unk(const cv::Mat& M1);
103cv::Mat compute_constraint_distance_3param_6eq_6unk_f_unk(const cv::Mat& M1, const cv::Mat& M2);
[all …]
Dap3p.h6 namespace cv {
10 void init_camera_parameters(const cv::Mat &cameraMatrix) { in init_camera_parameters()
18 … void extract_points(const cv::Mat &opoints, const cv::Mat &ipoints, std::vector<double> &points) { in extract_points()
46 ap3p(cv::Mat cameraMatrix);
48 bool solve(cv::Mat &R, cv::Mat &tvec, const cv::Mat &opoints, const cv::Mat &ipoints);
49 …int solve(std::vector<cv::Mat> &Rs, std::vector<cv::Mat> &tvecs, const cv::Mat &opoints, const cv:…
Dp3p.h11 p3p(cv::Mat cameraMatrix);
13 bool solve(cv::Mat& R, cv::Mat& tvec, const cv::Mat& opoints, const cv::Mat& ipoints);
14 …int solve(std::vector<cv::Mat>& Rs, std::vector<cv::Mat>& tvecs, const cv::Mat& opoints, const cv:…
29 void init_camera_parameters(const cv::Mat& cameraMatrix) in init_camera_parameters()
37 void extract_points(const cv::Mat& opoints, const cv::Mat& ipoints, std::vector<double>& points) in extract_points()
Dfisheye.hpp5 namespace cv { namespace internal { namespace
19 …void Init(const cv::Vec2d& f, const cv::Vec2d& c, const cv::Vec4d& k = Vec4d(0,0,0,0), const doubl…
22 void projectPoints(cv::InputArray objectPoints, cv::OutputArray imagePoints,
23 cv::InputArray _rvec,cv::InputArray _tvec,
24 const IntrinsicParams& param, cv::OutputArray jacobian);
47 void dAB(cv::InputArray A, InputArray B, OutputArray dABdA, OutputArray dABdB);
Depnp.h7 namespace cv
12 epnp(const cv::Mat& cameraMatrix, const cv::Mat& opoints, const cv::Mat& ipoints);
18 void compute_pose(cv::Mat& R, cv::Mat& t);
23 void init_camera_parameters(const cv::Mat& cameraMatrix) in init_camera_parameters()
31 void init_points(const cv::Mat& opoints, const cv::Mat& ipoints) in init_points()
Ddls.h9 using namespace cv; variable
14 dls(const cv::Mat& opoints, const cv::Mat& ipoints);
17 bool compute_pose(cv::Mat& R, cv::Mat& t);
23 void init_points(const cv::Mat& opoints, const cv::Mat& ipoints) in init_points()
52 cv::Mat LeftMultVec(const cv::Mat& v);
53 void run_kernel(const cv::Mat& pp);
54 void build_coeff_matrix(const cv::Mat& pp, cv::Mat& Mtilde, cv::Mat& D);
55 void compute_eigenvec(const cv::Mat& Mtilde, cv::Mat& eigenval_real, cv::Mat& eigenval_imag,
56 cv::Mat& eigenvec_real, cv::Mat& eigenvec_imag);
57 void fill_coeff(const cv::Mat * D);
[all …]
Dopencl_kernels_calib3d.hpp9 namespace cv namespace
16 extern struct cv::ocl::internal::ProgramEntry stereobm_oclsrc;
Drho.h79 namespace cv{
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/src/
Dcompat_ptsetreg.cpp50 using cv::Ptr;
61 solveMethod = cv::DECOMP_SVD; in CvLevMarq()
117 solveMethod = cv::DECOMP_SVD; in init()
261 static void subMatrix(const cv::Mat& src, cv::Mat& dst, const std::vector<uchar>& cols, in subMatrix()
263 int nonzeros_cols = cv::countNonZero(cols); in subMatrix()
264 cv::Mat tmp(src.rows, nonzeros_cols, CV_64FC1); in subMatrix()
274 int nonzeros_rows = cv::countNonZero(rows); in subMatrix()
290 using namespace cv; in step()
327 return cv::RANSACUpdateNumIters(p, ep, modelPoints, maxIters); in cvRANSACUpdateNumIters()
335 cv::Mat src = cv::cvarrToMat(_src), dst = cv::cvarrToMat(_dst); in cvFindHomography()
[all …]
Dcompat_stereo.cpp90 cv::Mat left = cv::cvarrToMat(leftarr), right = cv::cvarrToMat(rightarr); in cvFindStereoCorrespondenceBM()
91 const cv::Mat disp = cv::cvarrToMat(disparr); in cvFindStereoCorrespondenceBM()
95 cv::Ptr<cv::StereoBM> sm = cv::StereoBM::create(state->numberOfDisparities, in cvFindStereoCorrespondenceBM()
114 return cvRect(cv::getValidDisparityROI( roi1, roi2, minDisparity, in cvGetValidDisparityROI()
121 cv::Mat disp = cv::cvarrToMat(_disp), cost = cv::cvarrToMat(_cost); in cvValidateDisparity()
122 cv::validateDisparity( disp, cost, minDisparity, numberOfDisparities, disp12MaxDiff ); in cvValidateDisparity()
Dcheckchessboard.cpp49 using namespace cv;
52 …tQuadrangleHypotheses(const std::vector<std::vector< cv::Point > > & contours, const std::vector< in icvGetQuadrangleHypotheses()
58 typedef std::vector< std::vector< cv::Point > >::const_iterator iter_t; in icvGetQuadrangleHypotheses()
66 const std::vector< cv::Point > & c = *i; in icvGetQuadrangleHypotheses()
67 cv::RotatedRect box = cv::minAreaRect(c); in icvGetQuadrangleHypotheses()
119 static bool checkQuads(vector<pair<float, int> > & quads, const cv::Size & size) in checkQuads()
165 cv::Mat img = cv::cvarrToMat(src); in cvCheckChessboard()
169 int checkChessboard(const cv::Mat & img, const cv::Size & size) in checkChessboard()
200 int checkChessboardBinary(const cv::Mat & img, const cv::Size & size) in checkChessboardBinary()
Dap3p.cpp7 static inline double cbrt(double x) { return (double)cv::cubeRoot((float)x); }; in cbrt()
128 namespace cv { namespace
136 ap3p::ap3p(cv::Mat cameraMatrix) { in ap3p()
328 bool ap3p::solve(cv::Mat &R, cv::Mat &tvec, const cv::Mat &opoints, const cv::Mat &ipoints) { in solve()
335 extract_points<cv::Point3f, cv::Point2f>(opoints, ipoints, points); in solve()
337 extract_points<cv::Point3d, cv::Point2d>(opoints, ipoints, points); in solve()
339 extract_points<cv::Point3f, cv::Point2d>(opoints, ipoints, points); in solve()
341 extract_points<cv::Point3d, cv::Point2f>(opoints, ipoints, points); in solve()
348 cv::Mat(3, 1, CV_64F, translation).copyTo(tvec); in solve()
349 cv::Mat(3, 3, CV_64F, rotation_matrix).copyTo(R); in solve()
[all …]
Dcalibinit.cpp91 #define DPRINTF(...) CV_LOG_INFO(NULL, cv::format("calib3d: " __VA_ARGS__))
96 namespace cv { namespace
120 namespace cv {
133 cv::Point2f pt; // Coordinates of the corner
138 ChessBoardCorner(const cv::Point2f& pt_ = cv::Point2f()) : in ChessBoardCorner()
228 cv::Mat binarized_image;
231 cv::AutoBuffer<ChessBoardQuad> all_quads;
232 cv::AutoBuffer<ChessBoardCorner> all_corners;
249 void generateQuads(const cv::Mat& image_, int flags);
251 bool processQuads(std::vector<cv::Point2f>& out_corners, int &prev_sqr_size);
[all …]
Dcirclesgrid.cpp60 using namespace cv;
121 cv::min(dists.row(minLoc.x), dists.row(minLoc.y), tmpRow); in hierarchicalClustering()
142 void CirclesGridClusterFinder::findGrid(const std::vector<cv::Point2f> &points, cv::Size _patternSi… in findGrid()
195 void CirclesGridClusterFinder::findCorners(const std::vector<cv::Point2f> &hull2f, std::vector<cv::… in findCorners()
216cv::sort(sortedIndices.rowRange(0, cornersCount), cornersIndices, SORT_EVERY_COLUMN + SORT_ASCENDI… in findCorners()
224 …esGridClusterFinder::findOutsideCorners(const std::vector<cv::Point2f> &corners, std::vector<cv::P… in findOutsideCorners()
301 double pointLineDistance(const cv::Point2f &p, const cv::Vec4f &line) in pointLineDistance()
311cv::Point2f> &hull2f, const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f… in getSortedCorners()
387 …atternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &sorted… in rectifyPatternPoints()
423 …rnPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &rectifiedP… in parsePatternPoints()
[all …]
Dcalib3d_c_api.cpp10 using namespace cv;
36 bool res = cv::findChessboardCorners(image, pattern_size, out_corners, flags); in cvFindChessboardCorners()
Dcalibration.cpp58 using namespace cv;
982 cv::Scalar Mc; in cvFindExtrinsicCameraParams2()
1276 static void subMatrix(const cv::Mat& src, cv::Mat& dst, const std::vector<uchar>& cols, in subMatrix()
1278 int nonzeros_cols = cv::countNonZero(cols); in subMatrix()
1279 cv::Mat tmp(src.rows, nonzeros_cols, CV_64FC1); in subMatrix()
1289 int nonzeros_rows = cv::countNonZero(rows); in subMatrix()
1655 cv::invert(JtJN, JtJinv, DECOMP_SVD); in cvCalibrateCamera2Internal()
1739 cv::calibrationMatrixValues(cvarrToMat(calibMatr), imgSize, apertureWidth, apertureHeight, in cvCalibrationMatrixValues()
2253 cv::Rect_<float>& inner, cv::Rect_<float>& outer ) in icvGetRectangles()
2257 cv::Ptr<CvMat> _pts(cvCreateMat(1, N*N, CV_32FC2)); in icvGetRectangles()
[all …]
/device/soc/esp/esp32/components/pthread/
Dpthread_cond_var.c47 int pthread_cond_signal(pthread_cond_t *cv) in pthread_cond_signal() argument
49 if (cv == NULL || *cv == (pthread_cond_t) 0) { in pthread_cond_signal()
53 esp_pthread_cond_t *cond = (esp_pthread_cond_t *) *cv; in pthread_cond_signal()
66 int pthread_cond_broadcast(pthread_cond_t *cv) in pthread_cond_broadcast() argument
68 if (cv == NULL || *cv == (pthread_cond_t) 0) { in pthread_cond_broadcast()
72 esp_pthread_cond_t *cond = (esp_pthread_cond_t *) *cv; in pthread_cond_broadcast()
84 int pthread_cond_wait(pthread_cond_t *cv, pthread_mutex_t *mut) in pthread_cond_wait() argument
86 return pthread_cond_timedwait(cv, mut, NULL); in pthread_cond_wait()
89 int pthread_cond_timedwait(pthread_cond_t *cv, pthread_mutex_t *mut, const struct timespec *to) in pthread_cond_timedwait() argument
94 if (cv == NULL || *cv == (pthread_cond_t) 0) { in pthread_cond_timedwait()
[all …]
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/misc/python/test/
Dtest_calibration.py12 import cv2 as cv namespace
41 found, corners = cv.findChessboardCorners(img, pattern_size)
43 term = (cv.TERM_CRITERIA_EPS + cv.TERM_CRITERIA_COUNT, 30, 0.1)
44 cv.cornerSubPix(img, corners, (5, 5), (-1, -1), term)
53 …rms, camera_matrix, dist_coefs, _rvecs, _tvecs = cv.calibrateCamera(obj_points, img_points, (w, h)…
67 self.assertLess(cv.norm(camera_matrix - cameraMatrixTest, cv.NORM_L1), normCamEps)
68 self.assertLess(cv.norm(dist_coefs - distCoeffsTest, cv.NORM_L1), normDistEps)
Dtest_solvepnp.py6 import cv2 as cv namespace
23 x, r, t, e = cv.solvePnPGeneric(
38 x, r, t, e = cv.solvePnPGeneric(
52 x, r, t, e = cv.solvePnPGeneric(
59 eDump = cv.utils.dumpInputArray(e)
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/perf/
Dperf_pnp.cpp45 cv::add(points2d, noise, points2d);
52 cv::solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo);
89 cv::Rodrigues(rvec, rvec_tmp);
90 cv::Rodrigues(rvec_tmp, rvec);
92 cv::projectPoints(points3d, rvec, tvec, intrinsics, distortion, points2d);
97 cv::add(points2d, noise, points2d);
104 cv::solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo);
125 Mat dist_coef(1, 8, CV_32F, cv::Scalar::all(0));
127 vector<cv::Point2f> image_vec;
143 cv::solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec); in TEST_CYCLE()
Dperf_cicrlesGrid.cpp7 typedef tuple<std::string, cv::Size> String_Size_t;
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/include/opencv2/calib3d/
Dcalib3d_c.h406 cv::Ptr<CvMat> mask;
407 cv::Ptr<CvMat> prevParam;
408 cv::Ptr<CvMat> param;
409 cv::Ptr<CvMat> J;
410 cv::Ptr<CvMat> err;
411 cv::Ptr<CvMat> JtJ;
412 cv::Ptr<CvMat> JtJN;
413 cv::Ptr<CvMat> JtErr;
414 cv::Ptr<CvMat> JtJV;
415 cv::Ptr<CvMat> JtJW;
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/3rdparty/carotene/hal/
Dtegra_hal.hpp86 class TegraGenOp_##name##_Invoker : public cv::ParallelLoopBody \
93 cv::ParallelLoopBody(), SRC_STORE##src_cnt \
97 virtual void operator()(const cv::Range& range) const \
256 ((op) == cv::CMP_EQ) ? \
261 ((op) == cv::CMP_NE) ? \
266 ((op) == cv::CMP_GT) ? \
271 ((op) == cv::CMP_GE) ? \
276 ((op) == cv::CMP_LT) ? \
281 ((op) == cv::CMP_LE) ? \
613 ((op) == cv::CMP_EQ) ? \
[all …]
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/include/opencv2/
Dcalib3d.hpp437 namespace cv namespace
1412 CV_PROP_RW cv::Size2f densityNeighborhoodSize;
2700 CV_EXPORTS_W cv::Mat estimateAffine2D(InputArray from, InputArray to, OutputArray inliers = noArray…
2748 CV_EXPORTS_W cv::Mat estimateAffinePartial2D(InputArray from, InputArray to, OutputArray inliers = …
3084 const cv::Size& size, int m1type, OutputArray map1, OutputArray map2);
3115 InputArray K, InputArray D, InputArray Knew = cv::noArray(), const Size& new_size = Size());

12