Class TriangulateMetricLinearDLT
- java.lang.Object
-
- boofcv.alg.geo.triangulate.TriangulateMetricLinearDLT
-
public class TriangulateMetricLinearDLT extends java.lang.ObjectTriangulates the location of a 3D point given two or more views of the point using the Discrete Linear Transform (DLT). Modified to work only with a calibrated camera. The second singular value is checked to see if a solution was possible.
[1] Page 312 in R. Hartley, and A. Zisserman, "Multiple View Geometry in Computer Vision", 2nd Ed, Cambridge 2003
-
-
Field Summary
Fields Modifier and Type Field Description doublesingularThreshold
-
Constructor Summary
Constructors Constructor Description TriangulateMetricLinearDLT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetSingularThreshold()voidsetSingularThreshold(double singularThreshold)GeometricResulttriangulate(georegression.struct.point.Point2D_F64 a, georegression.struct.point.Point2D_F64 b, georegression.struct.se.Se3_F64 fromAtoB, georegression.struct.point.Point4D_F64 foundInA)Given two observations of the same point from two views and a known motion between the two views, triangulate the point's position in camera 'b' reference frame.GeometricResulttriangulate(java.util.List<georegression.struct.point.Point2D_F64> observations, java.util.List<georegression.struct.se.Se3_F64> worldToView, georegression.struct.point.Point4D_F64 found)Given N observations of the same point from two views and a known motion between the two views, triangulate the point's position in camera 'b' reference frame.
-
-
-
Method Detail
-
triangulate
public GeometricResult triangulate(java.util.List<georegression.struct.point.Point2D_F64> observations, java.util.List<georegression.struct.se.Se3_F64> worldToView, georegression.struct.point.Point4D_F64 found)
Given N observations of the same point from two views and a known motion between the two views, triangulate the point's position in camera 'b' reference frame.
Modification of [1] to be less generic and use calibrated cameras.
- Parameters:
observations- Observation in each view in normalized coordinates. Not modified.worldToView- Transformations from world to the view. Not modified.found- (Output) 3D point in homogenous coordinates. Modified.
-
triangulate
public GeometricResult triangulate(georegression.struct.point.Point2D_F64 a, georegression.struct.point.Point2D_F64 b, georegression.struct.se.Se3_F64 fromAtoB, georegression.struct.point.Point4D_F64 foundInA)
Given two observations of the same point from two views and a known motion between the two views, triangulate the point's position in camera 'b' reference frame.
Modification of [1] to be less generic and use calibrated cameras.
- Parameters:
a- Observation 'a' in normalized coordinates. Not modified.b- Observation 'b' in normalized coordinates. Not modified.fromAtoB- Transformation from camera view 'a' to 'b' Not modified.foundInA- Output, the found 3D position of the point. Modified.
-
getSingularThreshold
public double getSingularThreshold()
-
setSingularThreshold
public void setSingularThreshold(double singularThreshold)
-
-