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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
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 viewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
resetin interfaceModelMatcher<ModelA,ModelB>
-
setIntrinsic
Description copied from interface:ModelMatcherMultiviewSpecify intrinsic parameters for a particular view- Specified by:
setIntrinsicin 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:ModelMatcherMultiviewReturns the new of views which need to be set- Specified by:
getNumberOfViewsin interfaceModelMatcherMultiview<ModelA,ModelB>
-
process
- Specified by:
processin interfaceModelMatcher<ModelA,ModelB>
-
getMatchSet
- Specified by:
getMatchSetin interfaceModelMatcher<ModelA,ModelB>
-
getInputIndex
public int getInputIndex(int matchIndex) - Specified by:
getInputIndexin interfaceModelMatcher<ModelA,ModelB>
-
getFitQuality
public double getFitQuality()- Specified by:
getFitQualityin interfaceModelMatcher<ModelA,ModelB>
-
getMinimumSize
public int getMinimumSize()- Specified by:
getMinimumSizein interfaceModelMatcher<ModelA,ModelB>
-
getPointType
- Specified by:
getPointTypein interfaceModelMatcher<ModelA,ModelB>
-