Package boofcv.alg.geo.robust
Class Se3FromEssentialPointingGenerator
java.lang.Object
boofcv.alg.geo.robust.Se3FromEssentialPointingGenerator
- All Implemented Interfaces:
ModelGenerator<Se3_F64,
AssociatedPair3D>
public class Se3FromEssentialPointingGenerator
extends Object
implements ModelGenerator<Se3_F64,AssociatedPair3D>
Estimates the motion between two views up to a scale factor by computing an essential matrix,
decomposing it, and using the positive depth constraint to select the best candidate. The returned
motion is the motion from the first camera frame into the second camera frame.
-
Constructor Summary
ConstructorDescriptionSe3FromEssentialPointingGenerator
(Estimate1ofEpipolarPointing computeEssential, Triangulate2PointingMetricH triangulate) Specifies how the essential matrix is computed -
Method Summary
Modifier and TypeMethodDescriptionboolean
generate
(List<AssociatedPair3D> dataSet, Se3_F64 model) Computes the camera motion from the set of observations.int
-
Constructor Details
-
Se3FromEssentialPointingGenerator
public Se3FromEssentialPointingGenerator(Estimate1ofEpipolarPointing computeEssential, Triangulate2PointingMetricH triangulate) Specifies how the essential matrix is computed- Parameters:
computeEssential
- Algorithm for computing the essential matrix
-
-
Method Details
-
generate
Computes the camera motion from the set of observations. The motion is from the first into the second camera frame.- Specified by:
generate
in interfaceModelGenerator<Se3_F64,
AssociatedPair3D> - Parameters:
dataSet
- Associated pairs in normalized camera coordinates.model
- The best pose according to the positive depth constraint.
-
getMinimumPoints
public int getMinimumPoints()- Specified by:
getMinimumPoints
in interfaceModelGenerator<Se3_F64,
AssociatedPair3D>
-