Package boofcv.alg.geo.robust
Class RansacCalibrated2<Model,Point>
java.lang.Object
org.ddogleg.fitting.modelset.ransac.Ransac<Model,Point>
boofcv.alg.geo.robust.RansacCalibrated2<Model,Point>
- All Implemented Interfaces:
ModelMatcherMultiview2<Model,
,Point> InlierThreshold
,ModelMatcher<Model,
,Point> ModelMatcherPost<Model,
Point>
public class RansacCalibrated2<Model,Point>
extends Ransac<Model,Point>
implements ModelMatcherMultiview2<Model,Point>
Extension of
Ransac
for two calibrated camera views. Input observations will be in pointing vector
coordinates.-
Nested Class Summary
Nested classes/interfaces inherited from class org.ddogleg.fitting.modelset.ransac.Ransac
Ransac.InitializeModels<Model extends Object,
Point extends Object>, Ransac.TrialHelper -
Field Summary
Fields inherited from class org.ddogleg.fitting.modelset.ransac.Ransac
helper, initializeModels, masterModelManager, maxIterations, randSeed, sampleSize, thresholdFit, trialRNG
-
Constructor Summary
ConstructorDescriptionRansacCalibrated2
(long randSeed, int maxIterations, double thresholdFit, ModelManager<Model> modelManager, ModelGenerator<Model, Point> modelGenerator, DistanceFromModelMultiView2<Model, Point> modelDistance) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the new of views which need to be setvoid
setDistortion
(int view, Point3Transform2_F64 intrinsic) Specifies the camera model for a viewMethods inherited from class org.ddogleg.fitting.modelset.ransac.Ransac
addSelect, checkTrialGenerators, getFitQuality, getInputIndex, getMatchSet, getMaxIterations, getMinimumSize, getModelParameters, getModelType, getPointType, getThresholdFit, process, randomDraw, randomDraw, reset, setInitializeModels, setMaxIterations, setModel, setSampleSize, setThresholdFit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ddogleg.fitting.modelset.ModelMatcher
getFitQuality, getInputIndex, getMatchSet, getMinimumSize, getModelParameters, getModelType, getPointType, process, reset
-
Constructor Details
-
RansacCalibrated2
public RansacCalibrated2(long randSeed, int maxIterations, double thresholdFit, ModelManager<Model> modelManager, ModelGenerator<Model, Point> modelGenerator, DistanceFromModelMultiView2<Model, Point> modelDistance)
-
-
Method Details
-
setDistortion
Description copied from interface:ModelMatcherMultiview2
Specifies the camera model for a view- Specified by:
setDistortion
in interfaceModelMatcherMultiview2<Model,
Point> - Parameters:
view
- which view this belongs tointrinsic
- Camera model that goes from a pointing vector observation to pixel coordinate
-
getNumberOfViews
public int getNumberOfViews()Description copied from interface:ModelMatcherMultiview2
Returns the new of views which need to be set- Specified by:
getNumberOfViews
in interfaceModelMatcherMultiview2<Model,
Point>
-