Package boofcv.abst.geo.pose
Class WrapP3PLineDistance
- java.lang.Object
-
- boofcv.abst.geo.pose.WrapP3PLineDistance
-
- All Implemented Interfaces:
EstimateNofPnP,GeoModelEstimatorN<georegression.struct.se.Se3_F64,Point2D3D>
public class WrapP3PLineDistance extends java.lang.Object implements EstimateNofPnP
Converts solutions generated by P3PLineDistance into rigid body motions.
-
-
Constructor Summary
Constructors Constructor Description WrapP3PLineDistance(P3PLineDistance alg, georegression.fitting.MotionTransformPoint<georegression.struct.se.Se3_F64,georegression.struct.point.Point3D_F64> motionFit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMinimumPoints()Minimum number of points required to estimate the model.booleanprocess(java.util.List<Point2D3D> inputs, org.ddogleg.struct.FastQueue<georegression.struct.se.Se3_F64> solutions)Estimates a set of models which fit the given a set of observations.
-
-
-
Constructor Detail
-
WrapP3PLineDistance
public WrapP3PLineDistance(P3PLineDistance alg, georegression.fitting.MotionTransformPoint<georegression.struct.se.Se3_F64,georegression.struct.point.Point3D_F64> motionFit)
-
-
Method Detail
-
process
public boolean process(java.util.List<Point2D3D> inputs, org.ddogleg.struct.FastQueue<georegression.struct.se.Se3_F64> solutions)
Description copied from interface:GeoModelEstimatorNEstimates a set of models which fit the given a set of observations. A FastQueue is used to store the found models. Each time this function is invoked 'estimatedModels' is reset and new models are requested using the FastQueue.pop() function.- Specified by:
processin interfaceGeoModelEstimatorN<georegression.struct.se.Se3_F64,Point2D3D>- Parameters:
inputs- Input: Set of observations. Not modified.solutions- Output: Storage for the set of estimated models. Modified.- Returns:
- true if successful
-
getMinimumPoints
public int getMinimumPoints()
Description copied from interface:GeoModelEstimatorNMinimum number of points required to estimate the model.- Specified by:
getMinimumPointsin interfaceGeoModelEstimatorN<georegression.struct.se.Se3_F64,Point2D3D>- Returns:
- Minimum number of points.
-
-