Class TemplateNCC.U8

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

public static class TemplateNCC.U8 extends TemplateNCC<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)
      Description copied from class: TemplateNCC
      Precompres template statistics here
      Specified by:
      setupTemplate in class TemplateNCC<GrayU8>