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