Package boofcv.alg.geo.f
Class ParamFundamentalEpipolar
- java.lang.Object
-
- boofcv.alg.geo.f.ParamFundamentalEpipolar
-
- All Implemented Interfaces:
org.ddogleg.fitting.modelset.ModelCodec<org.ejml.data.DMatrixRMaj>
public class ParamFundamentalEpipolar extends java.lang.Object implements org.ddogleg.fitting.modelset.ModelCodec<org.ejml.data.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
Constructors Constructor Description ParamFundamentalEpipolar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(double[] input, org.ejml.data.DMatrixRMaj F)voidencode(org.ejml.data.DMatrixRMaj F, double[] param)Examines the matrix structure to determine how to parameterize F.intgetParamLength()
-
-
-
Method Detail
-
getParamLength
public int getParamLength()
- Specified by:
getParamLengthin interfaceorg.ddogleg.fitting.modelset.ModelCodec<org.ejml.data.DMatrixRMaj>
-
encode
public void encode(org.ejml.data.DMatrixRMaj F, double[] param)Examines the matrix structure to determine how to parameterize F.- Specified by:
encodein interfaceorg.ddogleg.fitting.modelset.ModelCodec<org.ejml.data.DMatrixRMaj>
-
decode
public void decode(double[] input, org.ejml.data.DMatrixRMaj F)- Specified by:
decodein interfaceorg.ddogleg.fitting.modelset.ModelCodec<org.ejml.data.DMatrixRMaj>
-
-