public class ParamFundamentalEpipolar
extends java.lang.Object
implements org.ddogleg.fitting.modelset.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 and Description |
|---|
ParamFundamentalEpipolar() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(double[] input,
org.ejml.data.DenseMatrix64F F) |
void |
encode(org.ejml.data.DenseMatrix64F F,
double[] param)
Examines the matrix structure to determine how to parameterize F.
|
int |
getParamLength() |
public int getParamLength()
getParamLength in interface org.ddogleg.fitting.modelset.ModelCodec<org.ejml.data.DenseMatrix64F>public void encode(org.ejml.data.DenseMatrix64F F,
double[] param)
encode in interface org.ddogleg.fitting.modelset.ModelCodec<org.ejml.data.DenseMatrix64F>public void decode(double[] input,
org.ejml.data.DenseMatrix64F F)
decode in interface org.ddogleg.fitting.modelset.ModelCodec<org.ejml.data.DenseMatrix64F>