Class TemplateSqDiffNormed.F32

java.lang.Object
boofcv.alg.template.TemplateSqDiffNormed<GrayF32>
boofcv.alg.template.TemplateSqDiffNormed.F32
All Implemented Interfaces:
TemplateIntensityImage.EvaluatorMethod<GrayF32>
Enclosing class:
TemplateSqDiffNormed<T extends ImageBase<T>>

public static class TemplateSqDiffNormed.F32 extends TemplateSqDiffNormed<GrayF32>
  • 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-coordinate
      tl_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-coordinate
      tl_y - Template's top left corner y-coordinate
      Returns:
      match value with better matches having a more positive value
    • setupTemplate

      public void setupTemplate(GrayF32 template, @Nullable @Nullable GrayF32 mask)
      Description copied from class: TemplateSqDiffNormed
      Precompres template statistics here
      Specified by:
      setupTemplate in class TemplateSqDiffNormed<GrayF32>