public RansacFundamentalEstimator ( double threshold, double probability ) : System | ||
threshold | double | Inlier threshold. |
probability | double | Inlier probability. |
return | System |
public RansacFundamentalEstimator(double threshold, double probability)
{
// Create a new RANSAC with the selected threshold
ransac = new RANSAC<float[,]>(8, threshold, probability);
// Set RANSAC functions
ransac.Fitting = fundamental;
ransac.Distances = distance;
}