Package boofcv.alg.geo.robust
Class DistanceScaleTranslate2DSq
java.lang.Object
boofcv.alg.geo.robust.DistanceScaleTranslate2DSq
- All Implemented Interfaces:
DistanceFromModel<ScaleTranslate2D,
AssociatedPair>
public class DistanceScaleTranslate2DSq
extends Object
implements DistanceFromModel<ScaleTranslate2D,AssociatedPair>
Computes distance squared between p1 after applying the
ScaleTranslate2D
motion model and p2.
||p2 - (p1*scale+trans)||^2-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
void
distances
(List<AssociatedPair> obs, double[] distance) void
setModel
(ScaleTranslate2D model)
-
Constructor Details
-
DistanceScaleTranslate2DSq
public DistanceScaleTranslate2DSq()
-
-
Method Details
-
setModel
- Specified by:
setModel
in interfaceDistanceFromModel<ScaleTranslate2D,
AssociatedPair>
-
distance
- Specified by:
distance
in interfaceDistanceFromModel<ScaleTranslate2D,
AssociatedPair>
-
distances
- Specified by:
distances
in interfaceDistanceFromModel<ScaleTranslate2D,
AssociatedPair>
-
getPointType
- Specified by:
getPointType
in interfaceDistanceFromModel<ScaleTranslate2D,
AssociatedPair>
-
getModelType
- Specified by:
getModelType
in interfaceDistanceFromModel<ScaleTranslate2D,
AssociatedPair>
-