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 Details

    • initialize

      void initialize(TemplateIntensityImage<T> owner)
    • 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-coordinate
      tl_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-coordinate
      tl_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()