Package boofcv.alg.template
Class TemplateSumAbsoluteDifference.F32
java.lang.Object
boofcv.alg.template.TemplateSumAbsoluteDifference<GrayF32>
boofcv.alg.template.TemplateSumAbsoluteDifference.F32
- All Implemented Interfaces:
TemplateIntensityImage.EvaluatorMethod<GrayF32>
- Enclosing class:
- TemplateSumAbsoluteDifference<T extends ImageBase<T>>
public static class TemplateSumAbsoluteDifference.F32
extends TemplateSumAbsoluteDifference<GrayF32>
-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.alg.template.TemplateSumAbsoluteDifference
TemplateSumAbsoluteDifference.F32, TemplateSumAbsoluteDifference.U8
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
evaluate
(int tl_x, int tl_y) Evaluate the template at the specified location.float
evaluateMask
(int tl_x, int tl_y) Evaluate the masked template at the specified location.Methods inherited from class boofcv.alg.template.TemplateSumAbsoluteDifference
initialize, isBorderProcessed, isMaximize
-
Constructor Details
-
F32
public F32()
-
-
Method Details
-
evaluate
public float evaluate(int tl_x, int tl_y) Description copied from interface:TemplateIntensityImage.EvaluatorMethod
Evaluate the template at the specified location.- Parameters:
tl_x
- Template's top left corner x-coordinatetl_y
- Template's top left corner y-coordinate- Returns:
- match value with better matches having a more positive value
-
evaluateMask
public float evaluateMask(int tl_x, int tl_y) Description copied from interface:TemplateIntensityImage.EvaluatorMethod
Evaluate the masked template at the specified location.- Parameters:
tl_x
- Template's top left corner x-coordinatetl_y
- Template's top left corner y-coordinate- Returns:
- match value with better matches having a more positive value
-