Package boofcv.alg.geo.robust
Class MmmvModelChanger<ModelA,ModelB,Point>
java.lang.Object
boofcv.alg.geo.robust.MmmvModelChanger<ModelA,ModelB,Point>
- All Implemented Interfaces:
ModelMatcherMultiview<ModelB,
,Point> ModelMatcher<ModelB,
Point>
- Direct Known Subclasses:
MmmvSe3ToEssential
public abstract class MmmvModelChanger<ModelA,ModelB,Point>
extends Object
implements ModelMatcherMultiview<ModelB,Point>
Base class for when you want to change the output type of a
ModelMatcherMultiview
.-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
-
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 viewMethods 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
getModelParameters, getModelType
-
Field Details
-
mmmv
-
-
Constructor Details
-
MmmvModelChanger
-
MmmvModelChanger
protected MmmvModelChanger()
-
-
Method Details
-
reset
public void reset()- Specified by:
reset
in interfaceModelMatcher<ModelA,
ModelB>
-
setIntrinsic
Description copied from interface:ModelMatcherMultiview
Specify intrinsic parameters for a particular view- Specified by:
setIntrinsic
in interfaceModelMatcherMultiview<ModelA,
ModelB> - 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<ModelA,
ModelB>
-
process
- Specified by:
process
in interfaceModelMatcher<ModelA,
ModelB>
-
getMatchSet
- Specified by:
getMatchSet
in interfaceModelMatcher<ModelA,
ModelB>
-
getInputIndex
public int getInputIndex(int matchIndex) - Specified by:
getInputIndex
in interfaceModelMatcher<ModelA,
ModelB>
-
getFitQuality
public double getFitQuality()- Specified by:
getFitQuality
in interfaceModelMatcher<ModelA,
ModelB>
-
getMinimumSize
public int getMinimumSize()- Specified by:
getMinimumSize
in interfaceModelMatcher<ModelA,
ModelB>
-
getPointType
- Specified by:
getPointType
in interfaceModelMatcher<ModelA,
ModelB>
-