Package boofcv.alg.geo.robust
Class RansacCalibrated<Model,Point>
java.lang.Object
boofcv.alg.geo.robust.RansacCalibrated<Model,Point>
- All Implemented Interfaces:
ModelMatcherMultiview<Model,,Point> ModelMatcher<Model,,Point> ModelMatcherPost<Model,Point>
public class RansacCalibrated<Model,Point>
extends Object
implements ModelMatcherMultiview<Model,Point>, ModelMatcherPost<Model,Point>
Extension of
Ransac for two calibrated camera views. Input point will be in normalized image coordinates-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleintgetInputIndex(int matchIndex) intintReturns the new of views which need to be setbooleanvoidreset()voidsetIntrinsic(int view, CameraPinhole intrinsic) Specify intrinsic parameters for a particular viewvoidsetModel(Factory<ModelGenerator<Model, Point>> factoryGenerator, Factory<DistanceFromModel<Model, Point>> factoryDistance) voidsetSampleSize(int sampleSize) voidsetThresholdFit(double thresholdFit)
-
Constructor Details
-
RansacCalibrated
-
-
Method Details
-
setIntrinsic
Description copied from interface:ModelMatcherMultiviewSpecify intrinsic parameters for a particular view- Specified by:
setIntrinsicin interfaceModelMatcherMultiview<Model,Point> - Parameters:
view- which view this belongs tointrinsic- intrinsic parameters that it should be set to
-
getNumberOfViews
public int getNumberOfViews()Description copied from interface:ModelMatcherMultiviewReturns the new of views which need to be set- Specified by:
getNumberOfViewsin interfaceModelMatcherMultiview<Model,Point>
-
process
- Specified by:
processin interfaceModelMatcher<Model,Point>
-
getModelParameters
- Specified by:
getModelParametersin interfaceModelMatcher<Model,Point>
-
getMatchSet
- Specified by:
getMatchSetin interfaceModelMatcher<Model,Point>
-
getInputIndex
public int getInputIndex(int matchIndex) - Specified by:
getInputIndexin interfaceModelMatcher<Model,Point>
-
getFitQuality
public double getFitQuality()- Specified by:
getFitQualityin interfaceModelMatcher<Model,Point>
-
getMinimumSize
public int getMinimumSize()- Specified by:
getMinimumSizein interfaceModelMatcher<Model,Point>
-
reset
public void reset()- Specified by:
resetin interfaceModelMatcher<Model,Point>
-
getPointType
- Specified by:
getPointTypein interfaceModelMatcher<Model,Point>
-
getModelType
- Specified by:
getModelTypein interfaceModelMatcher<Model,Point>
-
setSampleSize
public void setSampleSize(int sampleSize) -
setThresholdFit
public void setThresholdFit(double thresholdFit) -
setModel
public void setModel(Factory<ModelGenerator<Model, Point>> factoryGenerator, Factory<DistanceFromModel<Model, Point>> factoryDistance) - Specified by:
setModelin interfaceModelMatcherPost<Model,Point>
-