boofcv.alg.geo.f
Class ParamFundamentalEpipolar
- java.lang.Object
-
- boofcv.alg.geo.f.ParamFundamentalEpipolar
-
- All Implemented Interfaces:
- ModelCodec<org.ejml.data.DenseMatrix64F>
public class ParamFundamentalEpipolar extends java.lang.Object implements ModelCodec<org.ejml.data.DenseMatrix64F>
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 and Description ParamFundamentalEpipolar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddecode(double[] input, org.ejml.data.DenseMatrix64F F)Converts the parameter array into a model.voidencode(org.ejml.data.DenseMatrix64F F, double[] param)Examines the matrix structure to determine how to parameterize F.intgetParamLength()Number of elements in array encoded parameters.
-
-
-
Method Detail
-
getParamLength
public int getParamLength()
Description copied from interface:ModelCodecNumber of elements in array encoded parameters.- Specified by:
getParamLengthin interfaceModelCodec<org.ejml.data.DenseMatrix64F>
-
encode
public void encode(org.ejml.data.DenseMatrix64F F, double[] param)Examines the matrix structure to determine how to parameterize F.- Specified by:
encodein interfaceModelCodec<org.ejml.data.DenseMatrix64F>- Parameters:
F- Input model.param- Output parameterized model. Can be null.
-
decode
public void decode(double[] input, org.ejml.data.DenseMatrix64F F)Description copied from interface:ModelCodecConverts the parameter array into a model.- Specified by:
decodein interfaceModelCodec<org.ejml.data.DenseMatrix64F>- Parameters:
input- input model parameters.F- Option (can be null) model.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG