Lines Matching refs:modelPoints
53 int RANSACUpdateNumIters( double p, double ep, int modelPoints, int maxIters ) in RANSACUpdateNumIters() argument
55 if( modelPoints <= 0 ) in RANSACUpdateNumIters()
65 double denom = 1. - std::pow(1. - ep, modelPoints); in RANSACUpdateNumIters()
81 …: cb(_cb), modelPoints(_modelPoints), threshold(_threshold), confidence(_confidence), maxIters(_ma… in RANSACPointSetRegistrator()
109 cv::AutoBuffer<int> _idx(modelPoints); in getSubset()
118 ms1.create(modelPoints, 1, CV_MAKETYPE(m1.depth(), d1)); in getSubset()
119 ms2.create(modelPoints, 1, CV_MAKETYPE(m2.depth(), d2)); in getSubset()
123 CV_Assert( count >= modelPoints && count == count2 ); in getSubset()
130 for( i = 0; i < modelPoints && iters < maxAttempts; ) in getSubset()
156 if( !checkPartialSubsets && i == modelPoints && !cb->checkSubset(ms1, ms2, i)) in getSubset()
161 return i == modelPoints && iters < maxAttempts; in getSubset()
181 if( count < modelPoints ) in run()
198 if( count == modelPoints ) in run()
210 if( count > modelPoints ) in run()
232 if( goodCount > MAX(maxGoodCount, modelPoints-1) ) in run()
237 …iters = RANSACUpdateNumIters( confidence, (double)(count - goodCount)/count, modelPoints, niters ); in run()
263 int modelPoints; member in cv::RANSACPointSetRegistrator
295 if( count < modelPoints ) in run()
305 if( count == modelPoints ) in run()
314 int iter, niters = RANSACUpdateNumIters(confidence, outlierRatio, modelPoints, maxIters); in run()
320 if( count > modelPoints ) in run()
362 sigma = 2.5*1.4826*(1 + 5./(count - modelPoints))*std::sqrt(minMedian); in run()
374 result = count >= modelPoints; in run()