public class EnforceTrifocalGeometry
extends java.lang.Object
Applies geometric constraints to an estimated trifocal tensor. See page 394 in [1].
References:
| Modifier and Type | Field and Description |
|---|---|
protected org.ejml.data.DenseMatrix64F |
E |
| Constructor and Description |
|---|
EnforceTrifocalGeometry() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeErrorVector(org.ejml.data.DenseMatrix64F A,
org.ejml.data.DenseMatrix64F errors)
Returns the algebraic error vector.
|
protected void |
constructE(georegression.struct.point.Point3D_F64 e2,
georegression.struct.point.Point3D_F64 e3)
The matrix E is a linear system for computing the trifocal tensor.
|
void |
extractSolution(TrifocalTensor tensor)
Inserts the found trifocal tensor into the provided object.
|
void |
process(georegression.struct.point.Point3D_F64 e2,
georegression.struct.point.Point3D_F64 e3,
org.ejml.data.DenseMatrix64F A)
Computes a trifocal tensor which minimizes the algebraic error given the
two epipoles and the linear constraint matrix.
|
public void process(georegression.struct.point.Point3D_F64 e2,
georegression.struct.point.Point3D_F64 e3,
org.ejml.data.DenseMatrix64F A)
e2 - Epipole of first image in the second imagee3 - Epipole of first image in the third imageA - Linear constraint matrix for trifocal tensor created from image observations.public void computeErrorVector(org.ejml.data.DenseMatrix64F A,
org.ejml.data.DenseMatrix64F errors)
public void extractSolution(TrifocalTensor tensor)
protected void constructE(georegression.struct.point.Point3D_F64 e2,
georegression.struct.point.Point3D_F64 e3)