boofcv.alg.geo.f
Class FundamentalLinear8
- java.lang.Object
-
- boofcv.alg.geo.f.FundamentalLinear
-
- boofcv.alg.geo.f.FundamentalLinear8
-
public class FundamentalLinear8 extends FundamentalLinear
Given a set of 8 or more points this class computes the essential or fundamental matrix. The result is often used as an initial guess for more accurate non-linear approaches.
The computed fundamental matrix follow the following convention (with no noise) for the associated pair: x2T*F*x1 = 0
x1 = keyLoc and x2 = currLoc.References:
- Y. Ma, S. Soatto, J. Kosecka, and S. S. Sastry, "An Invitation to 3-D Vision" Springer-Verlad, 2004
- R. Hartley, and A. Zisserman, "Multiple View Geometry in Computer Vision", 2nd Ed, Cambridge 2003
-
-
Constructor Summary
Constructors Constructor and Description FundamentalLinear8(boolean computeFundamental)Specifies which type of matrix is to be computed
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanprocess(java.util.List<AssociatedPair> points, org.ejml.data.DenseMatrix64F solution)Computes a fundamental or essential matrix from a set of associated point correspondences.-
Methods inherited from class boofcv.alg.geo.f.FundamentalLinear
getSvdS, getSvdU, getSvdV, isComputeFundamental
-
-
-
-
Constructor Detail
-
FundamentalLinear8
public FundamentalLinear8(boolean computeFundamental)
Specifies which type of matrix is to be computed- Parameters:
computeFundamental- true it computes a fundamental matrix and false for essential
-
-
Method Detail
-
process
public boolean process(java.util.List<AssociatedPair> points, org.ejml.data.DenseMatrix64F solution)
Computes a fundamental or essential matrix from a set of associated point correspondences.
- Parameters:
points- List of corresponding image coordinates. In pixel for fundamental matrix or normalized coordinates for essential matrix.- Returns:
- true If successful or false if it failed
-
-
DataMelt 3.0 © DataMelt by jWork.ORG