public class TriangulateUncalibratedLinearDLT
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). Works with an uncalibrated camera. Pixel observations and camera projection matrices are input. Works on projective geometry. Normalization is automatically applied each row in the projective matrix.
A geometric test is done using singular values. There should be a fairly obvious null space. If this is not the case then the geometry will be considered bad
[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 |
|---|
TriangulateUncalibratedLinearDLT() |
| Modifier and Type | Method and Description |
|---|---|
double |
getSingularThreshold() |
static void |
normalizeRows(org.ejml.data.DMatrixRMaj A)
Normalized rows in A for better numerical stability.
|
void |
setSingularThreshold(double singularThreshold) |
GeometricResult |
triangulate(java.util.List<georegression.struct.point.Point2D_F64> observations,
java.util.List<org.ejml.data.DMatrixRMaj> cameraMatrices,
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.
|
public GeometricResult triangulate(java.util.List<georegression.struct.point.Point2D_F64> observations, java.util.List<org.ejml.data.DMatrixRMaj> cameraMatrices, 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.
observations - Observation in each view in pixel coordinates. Not modified.cameraMatrices - Camera projection matrices, e.g. x = P*X. 3 by 4 projectives. Not modified.found - Output, found 3D point in homogenous coordinates. Modified.public static void normalizeRows(org.ejml.data.DMatrixRMaj A)
public double getSingularThreshold()
public void setSingularThreshold(double singularThreshold)