/external/opencv3/modules/videostab/src/ |
D | global_motion.cpp | 59 int compactPoints(int N, float *points0, float *points1, const uchar *mask); 62 static void compactPoints(GpuMat &points0, GpuMat &points1, const GpuMat &mask) in compactPoints() argument 64 CV_Assert(points0.rows == 1 && points1.rows == 1 && mask.rows == 1); in compactPoints() 65 … CV_Assert(points0.type() == CV_32FC2 && points1.type() == CV_32FC2 && mask.type() == CV_8U); in compactPoints() 66 CV_Assert(points0.cols == mask.cols && points1.cols == mask.cols); in compactPoints() 70 npoints, (float*)points0.data, (float*)points1.data, mask.data); in compactPoints() 73 points1 = points1.colRange(0, remaining); in compactPoints() 121 int npoints, Point2f *points0, Point2f *points1, float *rmse) in estimateGlobMotionLeastSquaresTranslation() argument 126 M(0,2) += points1[i].x - points0[i].x; in estimateGlobMotionLeastSquaresTranslation() 127 M(1,2) += points1[i].y - points0[i].y; in estimateGlobMotionLeastSquaresTranslation() [all …]
|
D | optical_flow.cpp | 58 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, in run() argument 61 calcOpticalFlowPyrLK(frame0, frame1, points0, points1, status, errors, winSize_, maxLevel_); in run() 75 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, in run() argument 90 points1_.download(points1.getMatRef()); in run() 97 cuda::GpuMat &points1, cuda::GpuMat &status, cuda::GpuMat &errors) in run() argument 101 optFlowEstimator_->calc(frame0, frame1, points0, points1, status, errors); in run() 107 cuda::GpuMat &points1, cuda::GpuMat &status) in run() argument 111 optFlowEstimator_->calc(frame0, frame1, points0, points1, status); in run()
|
D | outlier_rejection.cpp | 52 Size /*frameSize*/, InputArray points0, InputArray points1, OutputArray mask) in process() argument 54 CV_Assert(points0.type() == points1.type()); in process() 55 CV_Assert(points0.getMat().checkVector(2) == points1.getMat().checkVector(2)); in process() 71 Size frameSize, InputArray points0, InputArray points1, OutputArray mask) in process() argument 73 CV_Assert(points0.type() == points1.type()); in process() 74 CV_Assert(points0.getMat().checkVector(2) == points1.getMat().checkVector(2)); in process() 79 const Point2f* points1_ = points1.getMat().ptr<Point2f>(); in process()
|
/external/opencv3/modules/calib3d/src/ |
D | triangulate.cpp | 192 cv::Ptr<CvMat> points1, points2; in cvCorrectMatches() local 227 points1.reset(cvCreateMat(points1_->rows,points1_->cols,CV_64FC2)); in cvCorrectMatches() 228 cvConvert(points1_, points1); in cvCorrectMatches() 250 for (int p = 0; p < points1->cols; ++p) { in cvCorrectMatches() 252 x1 = points1->data.db[p*2]; in cvCorrectMatches() 253 y1 = points1->data.db[p*2+1]; in cvCorrectMatches() 380 points1->data.db[p*2] = x1; in cvCorrectMatches() 381 points1->data.db[p*2+1] = y1; in cvCorrectMatches() 387 cvConvert( points1, new_points1 ); in cvCorrectMatches() 397 Mat points1 = _projPoints1.getMat(), points2 = _projPoints2.getMat(); in triangulatePoints() local [all …]
|
D | compat_ptsetreg.cpp | 338 CV_IMPL int cvFindFundamentalMat( const CvMat* points1, const CvMat* points2, in cvFindFundamentalMat() argument 342 cv::Mat m1 = cv::cvarrToMat(points1), m2 = cv::cvarrToMat(points2); in cvFindFundamentalMat()
|
D | five-point.cpp | 408 Mat points1, points2; in findEssentialMat() local 409 _points1.getMat().convertTo(points1, CV_64F); in findEssentialMat() 412 int npoints = points1.checkVector(2); in findEssentialMat() 414 points1.type() == points2.type()); in findEssentialMat() 416 if( points1.channels() > 1 ) in findEssentialMat() 418 points1 = points1.reshape(1, npoints); in findEssentialMat() 425 points1.at<double>(i, 0) = (points1.at<double>(i, 0) - pp.x)*ifocal; in findEssentialMat() 426 points1.at<double>(i, 1) = (points1.at<double>(i, 1) - pp.y)*ifocal; in findEssentialMat() 432 points1 = points1.reshape(2, npoints); in findEssentialMat() 439 …tSetRegistrator(makePtr<EMEstimatorCallback>(), 5, threshold, prob)->run(points1, points2, E, _mas… in findEssentialMat() [all …]
|
/external/opencv3/modules/videostab/include/opencv2/videostab/ |
D | optical_flow.hpp | 66 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, 101 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, 114 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, 117 …da::GpuMat &frame0, const cuda::GpuMat &frame1, const cuda::GpuMat &points0, cuda::GpuMat &points1, 120 …da::GpuMat &frame0, const cuda::GpuMat &frame1, const cuda::GpuMat &points0, cuda::GpuMat &points1,
|
D | outlier_rejection.hpp | 64 Size frameSize, InputArray points0, InputArray points1, OutputArray mask) = 0; 71 Size frameSize, InputArray points0, InputArray points1, OutputArray mask); 86 Size frameSize, InputArray points0, InputArray points1, OutputArray mask);
|
D | global_motion.hpp | 78 InputOutputArray points0, InputOutputArray points1, int model = MM_AFFINE, 91 InputArray points0, InputArray points1, int model = MM_AFFINE, 120 virtual Mat estimate(InputArray points0, InputArray points1, bool *ok = 0) = 0; 142 virtual Mat estimate(InputArray points0, InputArray points1, bool *ok = 0); 158 virtual Mat estimate(InputArray points0, InputArray points1, bool *ok = 0);
|
/external/opencv/cvaux/src/ |
D | cvtrifocal.cpp | 62 int icvComputeProjectMatrices6Points( CvMat* points1,CvMat* points2,CvMat* points3, 67 void GetGeneratorReduceFundSolution(CvMat* points1,CvMat* points2,CvMat* fundReduceCoef1,CvMat* fun… 75 void icvComputeTransform4D(CvMat* points1,CvMat* points2,CvMat* transMatr); 77 int icvComputeProjectMatricesNPoints( CvMat* points1,CvMat* points2,CvMat* points3, 84 int icvComputeProjectMatricesNPoints( CvMat* points1,CvMat* points2,CvMat* points3, 178 int icvComputeProjectMatrices6Points( CvMat* points1,CvMat* points2,CvMat* points3, in icvComputeProjectMatrices6Points() argument 190 if( points1 == 0 || points2 == 0 || points3 == 0 || in icvComputeProjectMatrices6Points() 196 if( !CV_IS_MAT(points1) || !CV_IS_MAT(points2) || !CV_IS_MAT(points3) || in icvComputeProjectMatrices6Points() 202 …if( (points1->cols != points2->cols) || (points1->cols != points3->cols) || (points1->cols != 6) /… in icvComputeProjectMatrices6Points() 207 if( points1->rows != 2 || points2->rows != 2 || points3->rows != 2 ) in icvComputeProjectMatrices6Points() [all …]
|
D | cvcorrimages.cpp | 180 CvMat *points1, in icvFindCorrForGivenPoints() argument 207 points1 == 0 || points2 == 0 || in icvFindCorrForGivenPoints() 229 if( !CV_IS_MAT(points1) || !CV_IS_MAT(points2) || in icvFindCorrForGivenPoints() 243 numPoints = points1->cols; in icvFindCorrForGivenPoints() 255 if( points1->rows != 2 || points2->rows != 2 ) in icvFindCorrForGivenPoints() 325 cornerPoints1[curr].x = (float)cvmGet(points1,0,i); in icvFindCorrForGivenPoints() 326 cornerPoints1[curr].y = (float)cvmGet(points1,1,i); in icvFindCorrForGivenPoints() 382 cvmSet(tmpPoints1,0,currPoint,cvmGet(points1,0,i)); in icvFindCorrForGivenPoints() 383 cvmSet(tmpPoints1,1,currPoint,cvmGet(points1,1,i)); in icvFindCorrForGivenPoints()
|
D | _cvvm.h | 123 CvStatus icvPoint7( int* points1, 244 int* points1, 249 CvStatus icvLMedS( int* points1,
|
D | cvlmeds.cpp | 48 icvLMedS( int *points1, int *points2, int numPoints, CvMatrix3 * fundamentalMatrix ) in icvLMedS() argument 85 ml[i * 3] = points1[i * 2]; in icvLMedS() 86 ml[i * 3 + 1] = points1[i * 2 + 1]; in icvLMedS() 1658 icvLMedS7( int *points1, int *points2, CvMatrix3 * matrix ) in icvLMedS7() argument 1664 points1 = points1; in icvLMedS7()
|
/external/opencv3/doc/tutorials/features2d/detection_of_planar_objects/ |
D | detection_of_planar_objects.markdown | 42 vector<Point2f> points1, points2; 45 Mat H = findHomography(Mat(points1), Mat(points2), RANSAC, ransacReprojThreshold); 50 Mat points1Projected; perspectiveTransform(Mat(points1), points1Projected, H);
|
/external/opencv3/modules/imgproc/test/ |
D | test_convhull.cpp | 206 CvSeq* points1; member in CV_BaseShapeDescrTest 219 points1 = 0; in CV_BaseShapeDescrTest() 246 points1 = 0; in clear() 353 points1 = cvCreateSeq( point_type, sizeof(CvSeq), CV_ELEM_SIZE(point_type), storage ); in prepare_test_case() 354 cvSeqPushMulti( points1, 0, size ); in prepare_test_case() 355 points = points1; in prepare_test_case() 389 if( points1 ) in extract_points() 391 points2 = cvCreateMat( 1, points1->total, CV_SEQ_ELTYPE(points1) ); in extract_points() 392 cvCvtSeqToArray( points1, points2->data.ptr ); in extract_points() 486 int sz = points1 ? points1->total : points2->cols + points2->rows - 1; in prepare_test_case() [all …]
|
/external/opencv3/modules/calib3d/test/ |
D | test_cameracalibration.cpp | 1300 virtual bool rectifyUncalibrated( const Mat& points1, 1304 const Mat &points1, const Mat &points2, 1307 const Mat &points1, const Mat &points2, 1568 Mat points1 = projectedPoints_1.t(); in run() local 1569 points1 = points1.reshape(2, 1); in run() 1572 correctMatches(F, points1, points2, newPoints1, newPoints2); in run() 1680 virtual bool rectifyUncalibrated( const Mat& points1, 1684 const Mat &points1, const Mat &points2, 1687 const Mat &points1, const Mat &points2, 1761 bool CV_StereoCalibrationTest_C::rectifyUncalibrated( const Mat& points1, in rectifyUncalibrated() argument [all …]
|
/external/opencv3/modules/java/src/ |
D | calib3d+Calib3d.java | 760 …public static boolean stereoRectifyUncalibrated(Mat points1, Mat points2, Mat F, Size imgSize, Mat… in stereoRectifyUncalibrated() argument 763 …boolean retVal = stereoRectifyUncalibrated_0(points1.nativeObj, points2.nativeObj, F.nativeObj, im… in stereoRectifyUncalibrated() 769 …public static boolean stereoRectifyUncalibrated(Mat points1, Mat points2, Mat F, Size imgSize, Mat… in stereoRectifyUncalibrated() argument 772 …boolean retVal = stereoRectifyUncalibrated_1(points1.nativeObj, points2.nativeObj, F.nativeObj, im… in stereoRectifyUncalibrated() 852 …public static Mat findFundamentalMat(MatOfPoint2f points1, MatOfPoint2f points2, int method, doubl… in findFundamentalMat() argument 854 Mat points1_mat = points1; in findFundamentalMat() 862 …public static Mat findFundamentalMat(MatOfPoint2f points1, MatOfPoint2f points2, int method, doubl… in findFundamentalMat() argument 864 Mat points1_mat = points1; in findFundamentalMat() 872 public static Mat findFundamentalMat(MatOfPoint2f points1, MatOfPoint2f points2) in findFundamentalMat() argument 874 Mat points1_mat = points1; in findFundamentalMat() [all …]
|
D | calib3d.cpp | 2836 Mat& points1 = *((Mat*)points1_nativeObj); in Java_org_opencv_calib3d_Calib3d_stereoRectifyUncalibrated_10() local 2842 …bool _retval_ = cv::stereoRectifyUncalibrated( points1, points2, F, imgSize, H1, H2, (double)thres… in Java_org_opencv_calib3d_Calib3d_stereoRectifyUncalibrated_10() 2862 Mat& points1 = *((Mat*)points1_nativeObj); in Java_org_opencv_calib3d_Calib3d_stereoRectifyUncalibrated_11() local 2868 bool _retval_ = cv::stereoRectifyUncalibrated( points1, points2, F, imgSize, H1, H2 ); in Java_org_opencv_calib3d_Calib3d_stereoRectifyUncalibrated_11() 3049 std::vector<Point2f> points1; in Java_org_opencv_calib3d_Calib3d_findFundamentalMat_10() local 3051 Mat_to_vector_Point2f( points1_mat, points1 ); in Java_org_opencv_calib3d_Calib3d_findFundamentalMat_10() 3056 …::Mat _retval_ = cv::findFundamentalMat( points1, points2, (int)method, (double)param1, (double)pa… in Java_org_opencv_calib3d_Calib3d_findFundamentalMat_10() 3076 std::vector<Point2f> points1; in Java_org_opencv_calib3d_Calib3d_findFundamentalMat_11() local 3078 Mat_to_vector_Point2f( points1_mat, points1 ); in Java_org_opencv_calib3d_Calib3d_findFundamentalMat_11() 3082 …::Mat _retval_ = cv::findFundamentalMat( points1, points2, (int)method, (double)param1, (double)pa… in Java_org_opencv_calib3d_Calib3d_findFundamentalMat_11() [all …]
|
/external/opencv3/modules/calib3d/include/opencv2/ |
D | calib3d.hpp | 1039 CV_EXPORTS_W bool stereoRectifyUncalibrated( InputArray points1, InputArray points2, 1170 CV_EXPORTS_W Mat findFundamentalMat( InputArray points1, InputArray points2, 1176 CV_EXPORTS Mat findFundamentalMat( InputArray points1, InputArray points2, 1214 CV_EXPORTS_W Mat findEssentialMat( InputArray points1, InputArray points2, 1276 CV_EXPORTS_W int recoverPose( InputArray E, InputArray points1, InputArray points2, 1346 CV_EXPORTS_W void correctMatches( InputArray F, InputArray points1, InputArray points2,
|
/external/opencv3/modules/videostab/src/cuda/ |
D | global_motion.cu | 55 int compactPoints(int N, float *points0, float *points1, const uchar *mask) in compactPoints() argument 58 thrust::device_ptr<float2> dpoints1((float2*)points1); in compactPoints()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
D | cv_util.py | 80 def SqDistances(points1, points2): argument 83 d = np.square(points1 - points2)
|
/external/opencv3/modules/features2d/misc/java/test/ |
D | Features2dTest.java | 132 MatOfPoint2f points1 = new MatOfPoint2f(lp1.toArray(new Point[0])); in testPTOD() local 135 Mat hmg = Calib3d.findHomography(points1, points2, Calib3d.RANSAC, 3); in testPTOD()
|
/external/opencv3/modules/calib3d/include/opencv2/calib3d/ |
D | calib3d_c.h | 102 CVAPI(int) cvFindFundamentalMat( const CvMat* points1, const CvMat* points2, 122 CVAPI(void) cvCorrectMatches(CvMat* F, CvMat* points1, CvMat* points2, 307 CVAPI(int) cvStereoRectifyUncalibrated( const CvMat* points1, const CvMat* points2,
|
/external/opencv/cv/include/ |
D | cvcompat.h | 386 CvMat points1 = cvMat( 1, num_points, CV_32SC2, points ); in cvConvexHull() local 389 cvConvexHull2( &points1, &hull1, orientation, 0 ); in cvConvexHull() 541 CV_INLINE void cvFindFundamentalMatrix( int* points1, int* points2, in cvFindFundamentalMatrix() argument 554 cvmSet(pointsMat1,0,i,points1[curr]);//x in cvFindFundamentalMatrix() 555 cvmSet(pointsMat1,1,i,points1[curr+1]);//y in cvFindFundamentalMatrix()
|
/external/opencv/cv/src/ |
D | cvfundam.cpp | 946 cvFindFundamentalMat( const CvMat* points1, const CvMat* points2, in cvFindFundamentalMat() argument 961 CV_ASSERT( CV_IS_MAT(points1) && CV_IS_MAT(points2) && CV_ARE_SIZES_EQ(points1, points2) ); in cvFindFundamentalMat() 965 count = MAX(points1->cols, points1->rows); in cvFindFundamentalMat() 970 cvConvertPointsHomogeneous( points1, m1 ); in cvFindFundamentalMat()
|