Package boofcv.alg.geo.f
Class FundamentalLinear
java.lang.Object
boofcv.alg.geo.f.FundamentalLinear
- Direct Known Subclasses:
FundamentalLinear7,FundamentalLinear8
Base class for linear algebra based algorithms for computing the Fundamental/Essential matrices.
The computed fundamental matrix follow the following convention (with no noise) for the associated pair:
x2T*F*x1 = 0
x1 = keyLoc and x2 = currLoc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DMatrixRMajprotected MassageSingularValuesprotected NormalizationPoint2Dprotected NormalizationPoint2Dprotected BoofLambdas.ProcessObject<DMatrixRMaj>protected BoofLambdas.ProcessObject<DMatrixRMaj>protected SolveNullSpace<DMatrixRMaj> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFundamentalLinear(boolean computeFundamental) Specifies which type of matrix is to be computed -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateA(List<AssociatedPair> points, DMatrixRMaj A) Reorganizes the epipolar constraint equation (xT2*F*x1 = 0) such that it is formulated as a standard linear system of the form Ax=0.protected booleanProjects the found estimate of E onto essential space.protected booleanProjects the found estimate of F onto Fundamental space.
-
Field Details
-
A
-
solverNull
-
massger
-
opEssential
-
opFundamental
-
N1
-
N2
-
-
Constructor Details
-
FundamentalLinear
protected FundamentalLinear(boolean computeFundamental) Specifies which type of matrix is to be computed- Parameters:
computeFundamental- true it computes a fundamental matrix and false for essential
-
-
Method Details
-
projectOntoEssential
Projects the found estimate of E onto essential space.- Returns:
- true if svd returned true.
-
projectOntoFundamentalSpace
Projects the found estimate of F onto Fundamental space.- Returns:
- true if svd returned true.
-
createA
Reorganizes the epipolar constraint equation (xT2*F*x1 = 0) such that it is formulated as a standard linear system of the form Ax=0. Where A contains the pixel locations and x is the reformatted fundamental matrix.- Parameters:
points- Set of associated points in left and right images.A- Matrix where the reformatted points are written to.
-