Package boofcv.alg.template
Class TemplateSqDiffNormed<T extends ImageBase<T>>
java.lang.Object
boofcv.alg.template.TemplateSqDiffNormed<T>
- All Implemented Interfaces:
TemplateIntensityImage.EvaluatorMethod<T>
- Direct Known Subclasses:
TemplateSqDiffNormed.F32
,TemplateSqDiffNormed.U8
public abstract class TemplateSqDiffNormed<T extends ImageBase<T>>
extends Object
implements TemplateIntensityImage.EvaluatorMethod<T>
Template matching which uses squared difference normed
error = -1*Sum(o,u) (I(x,y) - T(x-o,y-u)**2/sqrt(sum I(x,y)**2 * sum 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
abstract void
setupTemplate
(T template, T mask) Precompres template statistics hereMethods 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
-
TemplateSqDiffNormed
public TemplateSqDiffNormed()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceTemplateIntensityImage.EvaluatorMethod<T extends ImageBase<T>>
-
isMaximize
public boolean isMaximize()- Specified by:
isMaximize
in interfaceTemplateIntensityImage.EvaluatorMethod<T extends ImageBase<T>>
-
setupTemplate
Precompres template statistics here -
isBorderProcessed
public boolean isBorderProcessed()- Specified by:
isBorderProcessed
in interfaceTemplateIntensityImage.EvaluatorMethod<T extends ImageBase<T>>
-