Package boofcv.alg.template
Interface TemplateIntensityImage.EvaluatorMethod<T extends ImageBase<T>>
- All Known Implementing Classes:
TemplateNCC
,TemplateNCC.F32
,TemplateNCC.U8
,TemplateSqDiffNormed
,TemplateSqDiffNormed.F32
,TemplateSqDiffNormed.U8
,TemplateSumAbsoluteDifference
,TemplateSumAbsoluteDifference.F32
,TemplateSumAbsoluteDifference.U8
,TemplateSumSquaredError
,TemplateSumSquaredError.F32
,TemplateSumSquaredError.U8
- Enclosing class:
- TemplateIntensityImage<T extends ImageBase<T>>
public static interface TemplateIntensityImage.EvaluatorMethod<T extends ImageBase<T>>
-
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
initialize
(TemplateIntensityImage<T> owner) boolean
boolean
-
Method Details
-
initialize
-
evaluate
float evaluate(int tl_x, int tl_y) 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
float evaluateMask(int tl_x, int tl_y) 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
-
isMaximize
boolean isMaximize() -
isBorderProcessed
boolean isBorderProcessed()
-