Package boofcv.alg.geo.robust
Class LeastMedianOfSquaresCalibrated<Model,Point>
java.lang.Object
boofcv.alg.geo.robust.LeastMedianOfSquaresCalibrated<Model,Point>
- All Implemented Interfaces:
ModelMatcherMultiview<Model,
,Point> ModelMatcher<Model,
,Point> ModelMatcherPost<Model,
Point>
public class LeastMedianOfSquaresCalibrated<Model,Point>
extends Object
implements ModelMatcherMultiview<Model,Point>, ModelMatcherPost<Model,Point>
Extension of
LeastMedianOfSquares
for two calibrated camera views. Input point must be
normalized image coordinates.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
int
getInputIndex
(int i) 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)
-
Constructor Details
-
LeastMedianOfSquaresCalibrated
-
-
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 i) - 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>
-
setModel
public void setModel(Factory<ModelGenerator<Model, Point>> factoryGenerator, Factory<DistanceFromModel<Model, Point>> factoryDistance) - Specified by:
setModel
in interfaceModelMatcherPost<Model,
Point>
-