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>,org.ddogleg.fitting.modelset.ModelMatcher<ModelB,Point>
- Direct Known Subclasses:
MmmvSe3ToEssential
public abstract class MmmvModelChanger<ModelA,ModelB,Point> extends java.lang.Object implements ModelMatcherMultiview<ModelB,Point>
Base class for when you want to change the output type of aModelMatcherMultiview.
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelMatcherMultiview<ModelA,Point>mmmv
-
Constructor Summary
Constructors Constructor Description MmmvModelChanger()MmmvModelChanger(ModelMatcherMultiview<ModelA,Point> mmmv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetFitQuality()intgetInputIndex(int matchIndex)java.util.List<Point>getMatchSet()intgetMinimumSize()intgetNumberOfViews()Returns the new of views which need to be setjava.lang.Class<Point>getPointType()booleanprocess(java.util.List<Point> dataSet)voidreset()voidsetIntrinsic(int view, CameraPinhole intrinsic)Specify intrinsic parameters for a particular view
-
-
-
Field Detail
-
mmmv
protected ModelMatcherMultiview<ModelA,Point> mmmv
-
-
Constructor Detail
-
MmmvModelChanger
public MmmvModelChanger(ModelMatcherMultiview<ModelA,Point> mmmv)
-
MmmvModelChanger
public MmmvModelChanger()
-
-
Method Detail
-
reset
public void reset()
-
setIntrinsic
public void setIntrinsic(int view, CameraPinhole intrinsic)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 prameters 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
public boolean process(java.util.List<Point> dataSet)
-
getMatchSet
public java.util.List<Point> getMatchSet()
-
getInputIndex
public int getInputIndex(int matchIndex)
-
getFitQuality
public double getFitQuality()
-
getMinimumSize
public int getMinimumSize()
-
-