Package boofcv.abst.geo.triangulate
Class Wrap2ViewsTriangulateProjectiveDLT
java.lang.Object
boofcv.abst.geo.triangulate.Wrap2ViewsTriangulateProjectiveDLT
- All Implemented Interfaces:
Triangulate2ViewsProjective
public class Wrap2ViewsTriangulateProjectiveDLT
extends Object
implements Triangulate2ViewsProjective
Wrapper around
TriangulateMetricLinearDLT
for Triangulate2ViewsProjective
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
triangulate
(Point2D_F64 obsA, Point2D_F64 obsB, DMatrixRMaj projectionA, DMatrixRMaj projectionB, Point4D_F64 foundInA) Triangulate the points 3D location from pixel observations given two views.
-
Constructor Details
-
Wrap2ViewsTriangulateProjectiveDLT
public Wrap2ViewsTriangulateProjectiveDLT()
-
-
Method Details
-
triangulate
public boolean triangulate(Point2D_F64 obsA, Point2D_F64 obsB, DMatrixRMaj projectionA, DMatrixRMaj projectionB, Point4D_F64 foundInA) Description copied from interface:Triangulate2ViewsProjective
Triangulate the points 3D location from pixel observations given two views.- Specified by:
triangulate
in 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.
-