Package boofcv.alg.geo.robust
Class LeastMedianOfSquaresProjective<Model,Point>
java.lang.Object
org.ddogleg.fitting.modelset.lmeds.LeastMedianOfSquares<Model,Point>
boofcv.alg.geo.robust.LeastMedianOfSquaresProjective<Model,Point>
- All Implemented Interfaces:
ModelMatcherViews<Model,,Point, ElevateViewInfo> InlierFraction,ModelMatcher<Model,,Point> ModelMatcherPost<Model,Point>
public class LeastMedianOfSquaresProjective<Model,Point>
extends LeastMedianOfSquares<Model,Point>
implements ModelMatcherViews<Model,Point,ElevateViewInfo>
LeastMedianOfSquares for dealing with projective geometry. Shape of input images is provided and that allows for proper
normalization / scaling of input data.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ddogleg.fitting.modelset.lmeds.LeastMedianOfSquares
LeastMedianOfSquares.TrialHelper -
Field Summary
Fields inherited from class org.ddogleg.fitting.modelset.lmeds.LeastMedianOfSquares
bestMedian, errorFraction, helper, initializeModels, inlierFrac, inlierSet, matchToInput, maxMedianError, modelManager, sampleSize, totalCycles, trialRNG -
Constructor Summary
ConstructorsConstructorDescriptionLeastMedianOfSquaresProjective(long randSeed, int totalCycles, double maxMedianError, double inlierFraction, ModelManager<Model> modelManager, ModelGeneratorViews<Model, Point, ElevateViewInfo> generator, DistanceFromModelViews<Model, Point, ElevateViewInfo> errorMetric) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the new of views which need to be setvoidsetView(int view, ElevateViewInfo info) Specify parameters for a particular viewMethods inherited from class org.ddogleg.fitting.modelset.lmeds.LeastMedianOfSquares
checkTrialGenerators, computeInlierSet, getErrorFraction, getFactoryDistance, getFactoryGenerator, getFitQuality, getInputIndex, getMatchSet, getMinimumSize, getModelParameters, getModelType, getPointType, getRandSeed, getTotalCycles, process, reset, setErrorFraction, setInitializeModels, setModel, setSampleSizeMethods 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
getFitQuality, getInputIndex, getMatchSet, getMinimumSize, getModelParameters, getModelType, getPointType, process, reset
-
Constructor Details
-
LeastMedianOfSquaresProjective
public LeastMedianOfSquaresProjective(long randSeed, int totalCycles, double maxMedianError, double inlierFraction, ModelManager<Model> modelManager, ModelGeneratorViews<Model, Point, ElevateViewInfo> generator, DistanceFromModelViews<Model, Point, ElevateViewInfo> errorMetric)
-
-
Method Details
-
setView
Description copied from interface:ModelMatcherViewsSpecify parameters for a particular view- Specified by:
setViewin interfaceModelMatcherViews<Model,Point, ElevateViewInfo> - Parameters:
view- which view this belongs toinfo- Information about this view. E.g. image dimension, intrinsic parameters, ...etc
-
getNumberOfViews
public int getNumberOfViews()Description copied from interface:ModelMatcherViewsReturns the new of views which need to be set- Specified by:
getNumberOfViewsin interfaceModelMatcherViews<Model,Point, ElevateViewInfo>
-