Skip to content

Commit

Permalink
RansacCalibrated
Browse files Browse the repository at this point in the history
- Provided convenience functions for adjusting inlier thresholds
  • Loading branch information
lessthanoptimal committed Apr 22, 2024
1 parent 2be8de1 commit b6ff12e
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Peter Abeles. All Rights Reserved.
* Copyright (c) 2024, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
Expand Down Expand Up @@ -109,6 +109,14 @@ public int getNumberOfViews() {
return fitter.getModelType();
}

public void setSampleSize( int sampleSize ) {
fitter.setSampleSize(sampleSize);
}

public void setThresholdFit( double thresholdFit ) {
fitter.setThresholdFit(thresholdFit);
}

@Override
public void setModel( Factory<ModelGenerator<Model, Point>> factoryGenerator,
Factory<DistanceFromModel<Model, Point>> factoryDistance ) {
Expand Down

0 comments on commit b6ff12e

Please sign in to comment.