Package boofcv.alg.template
Class TemplateSqDiffNormed.U8
- All Implemented Interfaces:
TemplateIntensityImage.EvaluatorMethod<GrayU8>
- Enclosing class:
- TemplateSqDiffNormed<T extends ImageBase<T>>
-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.alg.template.TemplateSqDiffNormed
TemplateSqDiffNormed.F32, TemplateSqDiffNormed.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.void
setupTemplate
(GrayU8 template, @Nullable GrayU8 mask) Precompres template statistics hereMethods inherited from class boofcv.alg.template.TemplateSqDiffNormed
initialize, isBorderProcessed, isMaximize
-
Constructor Details
-
U8
public U8()
-
-
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
-
setupTemplate
Description copied from class:TemplateSqDiffNormed
Precompres template statistics here- Specified by:
setupTemplate
in classTemplateSqDiffNormed<GrayU8>
-