Package boofcv.alg.geo.robust
Class DistanceAffine2D
java.lang.Object
boofcv.alg.geo.robust.DistanceAffine2D
- All Implemented Interfaces:
DistanceFromModel<Affine2D_F64,
AssociatedPair>
public class DistanceAffine2D
extends Object
implements DistanceFromModel<Affine2D_F64,AssociatedPair>
Applies an affine transformation to the associated pair and computes the euclidean distance
between their locations. The transform is applied to the "keyLoc".
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
void
distances
(List<AssociatedPair> points, double[] distance) void
setModel
(Affine2D_F64 model)
-
Constructor Details
-
DistanceAffine2D
public DistanceAffine2D()
-
-
Method Details
-
setModel
- Specified by:
setModel
in interfaceDistanceFromModel<Affine2D_F64,
AssociatedPair>
-
distance
- Specified by:
distance
in interfaceDistanceFromModel<Affine2D_F64,
AssociatedPair>
-
distances
- Specified by:
distances
in interfaceDistanceFromModel<Affine2D_F64,
AssociatedPair>
-
getPointType
- Specified by:
getPointType
in interfaceDistanceFromModel<Affine2D_F64,
AssociatedPair>
-
getModelType
- Specified by:
getModelType
in interfaceDistanceFromModel<Affine2D_F64,
AssociatedPair>
-