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
-
Method Summary
Modifier and TypeMethodDescriptiondouble
int
getInputIndex
(int matchIndex) int
int
Returns the new of views which need to be setboolean
void
reset()
void
setIntrinsic
(int view, CameraPinhole intrinsic) Specify intrinsic parameters for a particular viewvoid
setModel
(Factory<ModelGenerator<Model, Point>> factoryGenerator, Factory<DistanceFromModel<Model, Point>> factoryDistance) void
setSampleSize
(int sampleSize) void
setThresholdFit
(double thresholdFit)
-
Constructor Details
-
RansacCalibrated
-
-
Method Details
-
setIntrinsic
Description copied from interface:ModelMatcherMultiview
Specify intrinsic parameters for a particular view- Specified by:
setIntrinsic
in 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:ModelMatcherMultiview
Returns the new of views which need to be set- Specified by:
getNumberOfViews
in interfaceModelMatcherMultiview<Model,
Point>
-
process
- Specified by:
process
in interfaceModelMatcher<Model,
Point>
-
getModelParameters
- Specified by:
getModelParameters
in interfaceModelMatcher<Model,
Point>
-
getMatchSet
- Specified by:
getMatchSet
in interfaceModelMatcher<Model,
Point>
-
getInputIndex
public int getInputIndex(int matchIndex) - Specified by:
getInputIndex
in interfaceModelMatcher<Model,
Point>
-
getFitQuality
public double getFitQuality()- Specified by:
getFitQuality
in interfaceModelMatcher<Model,
Point>
-
getMinimumSize
public int getMinimumSize()- Specified by:
getMinimumSize
in interfaceModelMatcher<Model,
Point>
-
reset
public void reset()- Specified by:
reset
in interfaceModelMatcher<Model,
Point>
-
getPointType
- Specified by:
getPointType
in interfaceModelMatcher<Model,
Point>
-
getModelType
- Specified by:
getModelType
in 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:
setModel
in interfaceModelMatcherPost<Model,
Point>
-