boofcv.abst.geo.pose
Class WrapP3PLineDistance
- java.lang.Object
-
- boofcv.abst.geo.pose.WrapP3PLineDistance
-
- All Implemented Interfaces:
- EstimateNofPnP, GeoModelEstimatorN<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 and Description WrapP3PLineDistance(P3PLineDistance alg, MotionTransformPoint<Se3_F64,Point3D_F64> motionFit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetMinimumPoints()Minimum number of points required to estimate the model.booleanprocess(java.util.List<Point2D3D> inputs, FastQueue<Se3_F64> solutions)Estimates a set of models which fit the given a set of observations.
-
-
-
Constructor Detail
-
WrapP3PLineDistance
public WrapP3PLineDistance(P3PLineDistance alg, MotionTransformPoint<Se3_F64,Point3D_F64> motionFit)
-
-
Method Detail
-
process
public boolean process(java.util.List<Point2D3D> inputs, FastQueue<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<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<Se3_F64,Point2D3D>- Returns:
- Minimum number of points.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG