Package boofcv.abst.geo.pose
Class WrapP3PLineDistance
java.lang.Object
boofcv.abst.geo.pose.WrapP3PLineDistance
- All Implemented Interfaces:
EstimateNofPnP
,GeoModelEstimatorN<Se3_F64,
Point2D3D>
Converts solutions generated by P3PLineDistance into rigid body motions.
-
Constructor Summary
ConstructorDescriptionWrapP3PLineDistance
(P3PLineDistance alg, MotionTransformPoint<Se3_F64, Point3D_F64> motionFit) -
Method Summary
-
Constructor Details
-
WrapP3PLineDistance
public WrapP3PLineDistance(P3PLineDistance alg, MotionTransformPoint<Se3_F64, Point3D_F64> motionFit)
-
-
Method Details
-
process
Description copied from interface:GeoModelEstimatorN
Estimates a set of models which fit the given a set of observations. A DogArray is used to store the found models. Each time this function is invoked 'estimatedModels' is reset and new models are requested using the DogArray.pop() function.- Specified by:
process
in 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:GeoModelEstimatorN
Minimum number of points required to estimate the model.- Specified by:
getMinimumPoints
in interfaceGeoModelEstimatorN<Se3_F64,
Point2D3D> - Returns:
- Minimum number of points.
-