Adding feature 1544 and 1557
-cv::findHomography added a parameter for RANSAC iterations -cv::findHomography added a parameter for RANSAC confidence
This commit is contained in:
@@ -108,7 +108,8 @@ CV_EXPORTS_W void Rodrigues( InputArray src, OutputArray dst, OutputArray jacobi
|
||||
//! computes the best-fit perspective transformation mapping srcPoints to dstPoints.
|
||||
CV_EXPORTS_W Mat findHomography( InputArray srcPoints, InputArray dstPoints,
|
||||
int method = 0, double ransacReprojThreshold = 3,
|
||||
OutputArray mask=noArray());
|
||||
OutputArray mask=noArray(), const int maxIters = 2000,
|
||||
const double confidence = 0.995);
|
||||
|
||||
//! variant of findHomography for backward compatibility
|
||||
CV_EXPORTS Mat findHomography( InputArray srcPoints, InputArray dstPoints,
|
||||
|
@@ -140,7 +140,9 @@ CVAPI(int) cvFindHomography( const CvMat* src_points,
|
||||
CvMat* homography,
|
||||
int method CV_DEFAULT(0),
|
||||
double ransacReprojThreshold CV_DEFAULT(3),
|
||||
CvMat* mask CV_DEFAULT(0));
|
||||
CvMat* mask CV_DEFAULT(0),
|
||||
int maxIters CV_DEFAULT(2000),
|
||||
double confidence CV_DEFAULT(0.995));
|
||||
|
||||
/* Computes RQ decomposition for 3x3 matrices */
|
||||
CVAPI(void) cvRQDecomp3x3( const CvMat *matrixM, CvMat *matrixR, CvMat *matrixQ,
|
||||
|
Reference in New Issue
Block a user