Package boofcv.abst.geo.triangulate
Class Wrap2ViewsTriangulateProjectiveDLT
- java.lang.Object
-
- boofcv.abst.geo.triangulate.Wrap2ViewsTriangulateProjectiveDLT
-
- All Implemented Interfaces:
Triangulate2ViewsProjective
public class Wrap2ViewsTriangulateProjectiveDLT extends java.lang.Object implements Triangulate2ViewsProjective
Wrapper aroundTriangulateMetricLinearDLTforTriangulate2ViewsProjective.
-
-
Constructor Summary
Constructors Constructor Description Wrap2ViewsTriangulateProjectiveDLT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriangulateProjectiveLinearDLTgetAlgorithm()booleantriangulate(georegression.struct.point.Point2D_F64 obsA, georegression.struct.point.Point2D_F64 obsB, org.ejml.data.DMatrixRMaj projectionA, org.ejml.data.DMatrixRMaj projectionB, georegression.struct.point.Point4D_F64 foundInA)Triangulate the points 3D location from pixel observations given two views.
-
-
-
Method Detail
-
triangulate
public boolean triangulate(georegression.struct.point.Point2D_F64 obsA, georegression.struct.point.Point2D_F64 obsB, org.ejml.data.DMatrixRMaj projectionA, org.ejml.data.DMatrixRMaj projectionB, georegression.struct.point.Point4D_F64 foundInA)Description copied from interface:Triangulate2ViewsProjectiveTriangulate the points 3D location from pixel observations given two views.- Specified by:
triangulatein interfaceTriangulate2ViewsProjective- Parameters:
obsA- View from position A in pixels.obsB- View from position B in pixelsprojectionA- Camera matrix for view A. x = P*XprojectionB- Camera matrix for view B. x = P*XfoundInA- The found triangulated 3D point in A's reference frame. Homogenous coordinates.- Returns:
- true if successful, false otherwise.
-
getAlgorithm
public TriangulateProjectiveLinearDLT getAlgorithm()
-
-