Package boofcv.alg.geo.f
Class ParamFundamentalEpipolar
java.lang.Object
boofcv.alg.geo.f.ParamFundamentalEpipolar
- All Implemented Interfaces:
ModelCodec<DMatrixRMaj>
Parameterizes F by specifying the first two columns and the third being a linear combination of the first two. By setting one of the elements in f1 or f2 to be one, it can achieve the minimum possible parameter size of 7. Care is taken to avoid the degenerate case when f1 and f2 are linearly dependent.
F=[f1 , f2 , αf1 + β f2]
Page 286 in: R. Hartley, and A. Zisserman, "Multiple View Geometry in Computer Vision", 2nd Ed, Cambridge 2003
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(double[] input, DMatrixRMaj F) void
encode
(DMatrixRMaj F, double[] param) Examines the matrix structure to determine how to parameterize F.int
-
Constructor Details
-
ParamFundamentalEpipolar
public ParamFundamentalEpipolar()
-
-
Method Details
-
getParamLength
public int getParamLength()- Specified by:
getParamLength
in interfaceModelCodec<DMatrixRMaj>
-
encode
Examines the matrix structure to determine how to parameterize F.- Specified by:
encode
in interfaceModelCodec<DMatrixRMaj>
-
decode
- Specified by:
decode
in interfaceModelCodec<DMatrixRMaj>
-