Class TemplateSumAbsoluteDifference<T extends ImageBase<T>>

java.lang.Object
boofcv.alg.template.TemplateSumAbsoluteDifference<T>
All Implemented Interfaces:
TemplateIntensityImage.EvaluatorMethod<T>
Direct Known Subclasses:
TemplateSumAbsoluteDifference.F32, TemplateSumAbsoluteDifference.U8

public abstract class TemplateSumAbsoluteDifference<T extends ImageBase<T>> extends Object implements TemplateIntensityImage.EvaluatorMethod<T>

Scores the difference between the template and the image using sum of absolute difference (SAD) error. The error is multiplied by -1 to ensure that the best fits are peaks and not minimums.

error = -1*Sum(o,u) |I(x,y) - T(x-o,y-u)|