Package boofcv.abst.geo.triangulate
Class TriangulateThenRefineMetric
- java.lang.Object
-
- boofcv.abst.geo.triangulate.TriangulateThenRefineMetric
-
- All Implemented Interfaces:
TriangulateNViewsMetric
public class TriangulateThenRefineMetric extends java.lang.Object implements TriangulateNViewsMetric
Estimates the triangulated point then refines it
-
-
Constructor Summary
Constructors Constructor Description TriangulateThenRefineMetric(TriangulateNViewsMetric estimator, RefineTriangulateMetric refiner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriangulateNViewsMetricgetEstimator()RefineTriangulateMetricgetRefiner()booleantriangulate(java.util.List<georegression.struct.point.Point2D_F64> observations, java.util.List<georegression.struct.se.Se3_F64> worldToView, georegression.struct.point.Point3D_F64 location)Triangulate the points location.
-
-
-
Constructor Detail
-
TriangulateThenRefineMetric
public TriangulateThenRefineMetric(TriangulateNViewsMetric estimator, RefineTriangulateMetric refiner)
-
-
Method Detail
-
triangulate
public boolean triangulate(java.util.List<georegression.struct.point.Point2D_F64> observations, java.util.List<georegression.struct.se.Se3_F64> worldToView, georegression.struct.point.Point3D_F64 location)Description copied from interface:TriangulateNViewsMetricTriangulate the points location.- Specified by:
triangulatein interfaceTriangulateNViewsMetric- Parameters:
observations- Observations of the 3D point in normalized image coordinates from different camera views..worldToView- Transform from world to each of the different camera viewslocation- Computed location of feature in world coordinates.- Returns:
- true if successful, false otherwise.
-
getEstimator
public TriangulateNViewsMetric getEstimator()
-
getRefiner
public RefineTriangulateMetric getRefiner()
-
-