Package boofcv.alg.template
Class TemplateSumSquaredError<T extends ImageBase<T>>
java.lang.Object
boofcv.alg.template.TemplateSumSquaredError<T>
- All Implemented Interfaces:
TemplateIntensityImage.EvaluatorMethod<T>
- Direct Known Subclasses:
TemplateSumSquaredError.F32
,TemplateSumSquaredError.U8
public abstract class TemplateSumSquaredError<T extends ImageBase<T>>
extends Object
implements TemplateIntensityImage.EvaluatorMethod<T>
Scores the difference between the template and the image using sum of squared error (SSE). 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)]^2
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(TemplateIntensityImage<T> owner) boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.alg.template.TemplateIntensityImage.EvaluatorMethod
evaluate, evaluateMask
-
Constructor Details
-
TemplateSumSquaredError
public TemplateSumSquaredError()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceTemplateIntensityImage.EvaluatorMethod<T extends ImageBase<T>>
-
isBorderProcessed
public boolean isBorderProcessed()- Specified by:
isBorderProcessed
in interfaceTemplateIntensityImage.EvaluatorMethod<T extends ImageBase<T>>
-
isMaximize
public boolean isMaximize()- Specified by:
isMaximize
in interfaceTemplateIntensityImage.EvaluatorMethod<T extends ImageBase<T>>
-