Lines Matching refs:CvMat
63 virtual int runKernel( const CvMat* m1, const CvMat* m2, CvMat* model )=0;
64 virtual bool runLMeDS( const CvMat* m1, const CvMat* m2, CvMat* model,
65 CvMat* mask, double confidence=0.99, int maxIters=1000 );
66 virtual bool runRANSAC( const CvMat* m1, const CvMat* m2, CvMat* model,
67 CvMat* mask, double threshold,
69 virtual bool refine( const CvMat*, const CvMat*, CvMat*, int ) { return true; } in refine() argument
73 virtual void computeReprojError( const CvMat* m1, const CvMat* m2,
74 const CvMat* model, CvMat* error ) = 0;
75 virtual int findInliers( const CvMat* m1, const CvMat* m2,
76 const CvMat* model, CvMat* error,
77 CvMat* mask, double threshold );
78 virtual bool getSubset( const CvMat* m1, const CvMat* m2,
79 CvMat* ms1, CvMat* ms2, int maxAttempts=1000 );
80 virtual bool checkSubset( const CvMat* ms1, int count );
109 int CvModelEstimator2::findInliers( const CvMat* m1, const CvMat* m2, in findInliers()
110 const CvMat* model, CvMat* _err, in findInliers()
111 CvMat* _mask, double threshold ) in findInliers()
162 bool CvModelEstimator2::runRANSAC( const CvMat* m1, const CvMat* m2, CvMat* model, in runRANSAC()
163 CvMat* mask, double reprojThreshold, in runRANSAC()
167 CvMat* mask0 = mask, *tmask = 0, *t; in runRANSAC()
168 CvMat* models = 0, *err = 0; in runRANSAC()
169 CvMat *ms1 = 0, *ms2 = 0; in runRANSAC()
194 ms1 = (CvMat*)m1; in runRANSAC()
195 ms2 = (CvMat*)m2; in runRANSAC()
217 CvMat model_i; in runRANSAC()
257 bool CvModelEstimator2::runLMeDS( const CvMat* m1, const CvMat* m2, CvMat* model, in CV_IMPLEMENT_QSORT()
258 CvMat* mask, double confidence, int maxIters ) in CV_IMPLEMENT_QSORT()
262 CvMat* models = 0; in CV_IMPLEMENT_QSORT()
263 CvMat *ms1 = 0, *ms2 = 0; in CV_IMPLEMENT_QSORT()
264 CvMat* err = 0; in CV_IMPLEMENT_QSORT()
290 ms1 = (CvMat*)m1; in CV_IMPLEMENT_QSORT()
291 ms2 = (CvMat*)m2; in CV_IMPLEMENT_QSORT()
316 CvMat model_i; in CV_IMPLEMENT_QSORT()
353 bool CvModelEstimator2::getSubset( const CvMat* m1, const CvMat* m2, in getSubset()
354 CvMat* ms1, CvMat* ms2, int maxAttempts ) in getSubset()
396 bool CvModelEstimator2::checkSubset( const CvMat* m, int count ) in checkSubset()
429 virtual int runKernel( const CvMat* m1, const CvMat* m2, CvMat* model );
430 virtual bool refine( const CvMat* m1, const CvMat* m2,
431 CvMat* model, int maxIters );
433 virtual void computeReprojError( const CvMat* m1, const CvMat* m2,
434 const CvMat* model, CvMat* error );
444 int CvHomographyEstimator::runKernel( const CvMat* m1, const CvMat* m2, CvMat* H ) in runKernel()
451 CvMat _LtL = cvMat( 9, 9, CV_64F, LtL ); in runKernel()
452 CvMat _W = cvMat( 9, 9, CV_64F, W ); in runKernel()
453 CvMat _V = cvMat( 9, 9, CV_64F, V ); in runKernel()
454 CvMat _H0 = cvMat( 3, 3, CV_64F, V[8] ); in runKernel()
455 CvMat _Htemp = cvMat( 3, 3, CV_64F, V[7] ); in runKernel()
480 CvMat _invHnorm = cvMat( 3, 3, CV_64FC1, invHnorm ); in runKernel()
481 CvMat _Hnorm2 = cvMat( 3, 3, CV_64FC1, Hnorm2 ); in runKernel()
506 void CvHomographyEstimator::computeReprojError( const CvMat* m1, const CvMat* m2, in computeReprojError()
507 const CvMat* model, CvMat* _err ) in computeReprojError()
524 bool CvHomographyEstimator::refine( const CvMat* m1, const CvMat* m2, CvMat* model, int maxIters ) in refine()
530 CvMat modelPart = cvMat( solver.param->rows, solver.param->cols, model->type, model->data.ptr ); in refine()
535 const CvMat* _param = 0; in refine()
536 CvMat *_JtJ = 0, *_JtErr = 0; in refine()
576 cvFindHomography( const CvMat* objectPoints, const CvMat* imagePoints, in cvFindHomography()
577 CvMat* __H, int method, double ransacReprojThreshold, in cvFindHomography()
578 CvMat* mask ) in cvFindHomography()
582 CvMat *m = 0, *M = 0, *tempMask = 0; in cvFindHomography()
589 CvMat _H = cvMat( 3, 3, CV_64FC1, H ); in cvFindHomography()
663 virtual int runKernel( const CvMat* m1, const CvMat* m2, CvMat* model );
664 virtual int run7Point( const CvMat* m1, const CvMat* m2, CvMat* model );
665 virtual int run8Point( const CvMat* m1, const CvMat* m2, CvMat* model );
667 virtual void computeReprojError( const CvMat* m1, const CvMat* m2,
668 const CvMat* model, CvMat* error );
678 int CvFMEstimator::runKernel( const CvMat* m1, const CvMat* m2, CvMat* model ) in runKernel()
683 int CvFMEstimator::run7Point( const CvMat* _m1, const CvMat* _m2, CvMat* _fmatrix ) in run7Point()
688 CvMat A = cvMat( 7, 9, CV_64F, a ); in run7Point()
689 CvMat V = cvMat( 9, 9, CV_64F, v ); in run7Point()
690 CvMat W = cvMat( 7, 1, CV_64F, w ); in run7Point()
691 CvMat coeffs = cvMat( 1, 4, CV_64F, c ); in run7Point()
692 CvMat roots = cvMat( 1, 3, CV_64F, r ); in run7Point()
791 int CvFMEstimator::run8Point( const CvMat* _m1, const CvMat* _m2, CvMat* _fmatrix ) in run8Point()
794 CvMat W = cvMat( 1, 9, CV_64F, w ); in run8Point()
795 CvMat V = cvMat( 9, 9, CV_64F, v ); in run8Point()
796 CvMat A = cvMat( 9, 9, CV_64F, a ); in run8Point()
797 CvMat U, F0, TF; in run8Point()
894 CvMat T0, T1; in run8Point()
913 void CvFMEstimator::computeReprojError( const CvMat* _m1, const CvMat* _m2, in computeReprojError()
914 const CvMat* model, CvMat* _err ) in computeReprojError()
946 cvFindFundamentalMat( const CvMat* points1, const CvMat* points2, in cvFindFundamentalMat()
947 CvMat* fmatrix, int method, in cvFindFundamentalMat()
948 double param1, double param2, CvMat* mask ) in cvFindFundamentalMat()
951 CvMat *m1 = 0, *m2 = 0, *tempMask = 0; in cvFindFundamentalMat()
958 CvMat _F3x3 = cvMat( 3, 3, CV_64FC1, F ), _F9x3 = cvMat( 9, 3, CV_64FC1, F ); in cvFindFundamentalMat()
1029 cvComputeCorrespondEpilines( const CvMat* points, int pointImageID, in cvComputeCorrespondEpilines()
1030 const CvMat* fmatrix, CvMat* lines ) in cvComputeCorrespondEpilines()
1042 CvMat F = cvMat( 3, 3, CV_64F, f ); in cvComputeCorrespondEpilines()
1191 cvConvertPointsHomogeneous( const CvMat* src, CvMat* dst ) in cvConvertPointsHomogeneous()
1193 CvMat* temp = 0; in cvConvertPointsHomogeneous()
1194 CvMat* denom = 0; in cvConvertPointsHomogeneous()
1201 CvMat _src, _dst, _ones; in cvConvertPointsHomogeneous()
1202 CvMat* ones = 0; in cvConvertPointsHomogeneous()