Class DistanceAffine2DSq

java.lang.Object
boofcv.alg.geo.robust.DistanceAffine2DSq
All Implemented Interfaces:
DistanceFromModel<Affine2D_F64,AssociatedPair>

public class DistanceAffine2DSq extends Object implements DistanceFromModel<Affine2D_F64,AssociatedPair>

Applies an affine transformation to the associated pair and computes the euclidean distance squared between their locations. This reduces computations by avoiding the square root functions, which is computationally expensive. While both this error metric and euclidean distance have the same minimum, this exaggerates the magnitude of outliers. The transform is applied to the "keyLoc".