Package boofcv.abst.geo.triangulate
Class TriangulateThenRefineProjective
- java.lang.Object
-
- boofcv.abst.geo.triangulate.TriangulateThenRefineProjective
-
- All Implemented Interfaces:
TriangulateNViewsProjective
public class TriangulateThenRefineProjective extends java.lang.Object implements TriangulateNViewsProjective
Estimates the triangulated point then refines it
-
-
Constructor Summary
Constructors Constructor Description TriangulateThenRefineProjective(TriangulateNViewsProjective estimator, RefineTriangulateProjective refiner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriangulateNViewsProjectivegetEstimator()RefineTriangulateProjectivegetRefiner()booleantriangulate(java.util.List<georegression.struct.point.Point2D_F64> observations, java.util.List<org.ejml.data.DMatrixRMaj> worldToView, georegression.struct.point.Point4D_F64 location)Triangulate the points location.
-
-
-
Constructor Detail
-
TriangulateThenRefineProjective
public TriangulateThenRefineProjective(TriangulateNViewsProjective estimator, RefineTriangulateProjective refiner)
-
-
Method Detail
-
triangulate
public boolean triangulate(java.util.List<georegression.struct.point.Point2D_F64> observations, java.util.List<org.ejml.data.DMatrixRMaj> worldToView, georegression.struct.point.Point4D_F64 location)Description copied from interface:TriangulateNViewsProjectiveTriangulate the points location.- Specified by:
triangulatein interfaceTriangulateNViewsProjective- Parameters:
observations- (Input) Observations of the 3D point in pixel coordinates from different camera viewsworldToView- (Input) Camera projection matrices. x = A*Xlocation- (Output) Homogenous coordinate of 3D feature in world coordinates.- Returns:
- true if successful, false otherwise.
-
getEstimator
public TriangulateNViewsProjective getEstimator()
-
getRefiner
public RefineTriangulateProjective getRefiner()
-
-