Class TemplateSqDiffNormed.U8

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

public static class TemplateSqDiffNormed.U8 extends TemplateSqDiffNormed<GrayU8>
  • 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-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(GrayU8 template, @Nullable @Nullable GrayU8 mask)
      Description copied from class: TemplateSqDiffNormed
      Precompres template statistics here
      Specified by:
      setupTemplate in class TemplateSqDiffNormed<GrayU8>