Package boofcv.alg.geo.trifocal
Class TrifocalAlgebraicPoint7
java.lang.Object
boofcv.alg.geo.trifocal.TrifocalLinearPoint7
boofcv.alg.geo.trifocal.TrifocalAlgebraicPoint7
Initially computes the trifocal tensor using the linear method TrifocalLinearPoint7
, but
then iteratively refines the solution to minimize algebraic error by adjusting the two epipoles.
The solution will enforce all the constraints and be geometrically valid. See page 395 in [1].
Note: This works with planes!
References:
- R. Hartley, and A. Zisserman, "Multiple View Geometry in Computer Vision", 2nd Ed, Cambridge 2003
-
Field Summary
Fields inherited from class boofcv.alg.geo.trifocal.TrifocalLinearPoint7
A, e2, e3, enforce, extractEpipoles, N1, N2, N3, p1_norm, p2_norm, p3_norm, solutionN, svdNull, vectorizedSolution
-
Constructor Summary
ConstructorDescriptionTrifocalAlgebraicPoint7
(UnconstrainedLeastSquares optimizer, int maxIterations, double ftol, double gtol) Configures optimization algorithms -
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(List<AssociatedTriple> observations, TrifocalTensor solution) Estimates the trifocal tensor given the set of observationsMethods inherited from class boofcv.alg.geo.trifocal.TrifocalLinearPoint7
createLinearSystem, removeNormalization, solveLinearSystem
-
Constructor Details
-
TrifocalAlgebraicPoint7
public TrifocalAlgebraicPoint7(UnconstrainedLeastSquares optimizer, int maxIterations, double ftol, double gtol) Configures optimization algorithms- Parameters:
optimizer
- Which least squares minimizer should be used.maxIterations
- Maximum number of iterations it will optimize forftol
- Convergence tolerance. SeeUnconstrainedLeastSquares
for details.gtol
- Convergence tolerance. SeeUnconstrainedLeastSquares
for details.
-
-
Method Details
-
process
Description copied from class:TrifocalLinearPoint7
Estimates the trifocal tensor given the set of observations- Overrides:
process
in classTrifocalLinearPoint7
- Parameters:
observations
- Set of observationssolution
- Output: Where the solution is written to- Returns:
- true if successful and false if it fails
-