public class TriangulateCalibratedLinearDLT
extends java.lang.Object
Triangulates 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
| Modifier and Type | Field and Description |
|---|---|
double |
singularThreshold |
| Constructor and Description |
|---|
TriangulateCalibratedLinearDLT() |
| Modifier and Type | Method and Description |
|---|---|
double |
getSingularThreshold() |
void |
setSingularThreshold(double singularThreshold) |
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.
|
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.
|
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.
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.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.
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.public double getSingularThreshold()
public void setSingularThreshold(double singularThreshold)