boofcv.alg.geo.f
Class FundamentalResidualSimple
- java.lang.Object
-
- boofcv.alg.geo.f.FundamentalResidualSimple
-
- All Implemented Interfaces:
- ModelObservationResidual<org.ejml.data.DenseMatrix64F,AssociatedPair>
public class FundamentalResidualSimple extends java.lang.Object implements ModelObservationResidual<org.ejml.data.DenseMatrix64F,AssociatedPair>
Computes the residual just using the fundamental matrix constraint
-
-
Constructor Summary
Constructors Constructor and Description FundamentalResidualSimple()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublecomputeResidual(AssociatedPair observation)Compute the error for the observationvoidsetModel(org.ejml.data.DenseMatrix64F F)Specify the epipolar matrix being evaluated
-
-
-
Method Detail
-
setModel
public void setModel(org.ejml.data.DenseMatrix64F F)
Description copied from interface:ModelObservationResidualSpecify the epipolar matrix being evaluated- Specified by:
setModelin interfaceModelObservationResidual<org.ejml.data.DenseMatrix64F,AssociatedPair>- Parameters:
F- The model being optimized
-
computeResidual
public double computeResidual(AssociatedPair observation)
Description copied from interface:ModelObservationResidualCompute the error for the observation- Specified by:
computeResidualin interfaceModelObservationResidual<org.ejml.data.DenseMatrix64F,AssociatedPair>- Parameters:
observation- Observation of point feature in two views- Returns:
- residual Error magnitude
-
-
DataMelt 3.0 © DataMelt by jWork.ORG