public class DistanceTrifocalReprojectionSq extends java.lang.Object implements org.ddogleg.fitting.modelset.DistanceFromModel<TrifocalTensor,AssociatedTriple>
| Constructor and Description |
|---|
DistanceTrifocalReprojectionSq() |
DistanceTrifocalReprojectionSq(double gtol,
int maxIterations)
Call this constructor if you wish to apply non-linear refinement.
|
| Modifier and Type | Method and Description |
|---|---|
double |
computeDistance(AssociatedTriple pt) |
void |
computeDistance(java.util.List<AssociatedTriple> observations,
double[] distance) |
java.lang.Class<TrifocalTensor> |
getModelType() |
java.lang.Class<AssociatedTriple> |
getPointType() |
void |
setModel(TrifocalTensor trifocalTensor) |
public DistanceTrifocalReprojectionSq(double gtol,
int maxIterations)
gtol - convergence tolerance. Try 1e-8maxIterations - Max iterations. Try 50public DistanceTrifocalReprojectionSq()
public void setModel(TrifocalTensor trifocalTensor)
setModel in interface org.ddogleg.fitting.modelset.DistanceFromModel<TrifocalTensor,AssociatedTriple>public double computeDistance(AssociatedTriple pt)
computeDistance in interface org.ddogleg.fitting.modelset.DistanceFromModel<TrifocalTensor,AssociatedTriple>public void computeDistance(java.util.List<AssociatedTriple> observations, double[] distance)
computeDistance in interface org.ddogleg.fitting.modelset.DistanceFromModel<TrifocalTensor,AssociatedTriple>public java.lang.Class<AssociatedTriple> getPointType()
getPointType in interface org.ddogleg.fitting.modelset.DistanceFromModel<TrifocalTensor,AssociatedTriple>public java.lang.Class<TrifocalTensor> getModelType()
getModelType in interface org.ddogleg.fitting.modelset.DistanceFromModel<TrifocalTensor,AssociatedTriple>