mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Improve the documentation for cv::completeSymm and cv::RANSACUpdateNumIters.
This commit is contained in:
committed by
Fangjun Kuang
parent
4dc788ff84
commit
decf6cab5e
@@ -61,6 +61,21 @@
|
||||
namespace cv
|
||||
{
|
||||
|
||||
/**
|
||||
* Compute the number of iterations given the confidence, outlier ratio, number
|
||||
* of model points and the maximum iteration number.
|
||||
*
|
||||
* @param p confidence value
|
||||
* @param ep outlier ratio
|
||||
* @param modelPoints number of model points required for estimation
|
||||
* @param maxIters maximum number of iterations
|
||||
* @return
|
||||
* \f[
|
||||
* \frac{\ln(1-p)}{\ln\left(1-(1-ep)^\mathrm{modelPoints}\right)}
|
||||
* \f]
|
||||
*
|
||||
* If the computed number of iterations is less than maxIters, then 1 is returned.
|
||||
*/
|
||||
int RANSACUpdateNumIters( double p, double ep, int modelPoints, int maxIters );
|
||||
|
||||
class CV_EXPORTS LMSolver : public Algorithm
|
||||
|
||||
Reference in New Issue
Block a user