Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: FactoryTemplateMatching

[6:14] static extends: object

Static wrappers for boofcv.factory.template.FactoryTemplateMatching.

Methods

  • createIntensity (string ScoreTypeName, string ImageClassName)

    Creates a template matching intensity algorithm.

    • @p ScoreTypeName is SUM_ABSOLUTE_DIFFERENCE, SUM_SQUARE_ERROR, NCC, CORRELATION, or SQUARED_DIFFERENCE_NORMED.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A TemplateMatchingIntensity wrapper.
  • createMatcher (string ScoreTypeName, string ImageClassName)

    Creates a template matcher.

    • @p ScoreTypeName is SUM_ABSOLUTE_DIFFERENCE, SUM_SQUARE_ERROR, NCC, CORRELATION, or SQUARED_DIFFERENCE_NORMED.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A TemplateMatching wrapper.

class: TemplateMatchingIntensity

[84:7] extends: object

TemplateMatchingIntensity wraps boofcv.alg.template.TemplateMatchingIntensity.

Members

  • obj

Methods

  • TemplateMatchingIntensity (object Obj)

    Wraps a BoofCV TemplateMatchingIntensity.

    • @p Obj is an existing intensity Java object or wrapper.
  • setInputImage (object Image)

    Sets the input image.

    • @p Image is the input image.
  • process (object Template, Mask = null)

    Processes a template, optionally with a mask.

    • @p Template is the template image.
    • @p Mask is an optional mask image or null.
  • getIntensity ()

    Gets the intensity image.

    • @r A GrayF32 Java object.
  • isBorderProcessed ()

    Gets whether borders are processed.

    • @r True if borders are processed.
  • getBorderX0 ()

    Gets the left border.

    • @r The left border size.
  • getBorderX1 ()

    Gets the right border.

    • @r The right border size.
  • getBorderY0 ()

    Gets the top border.

    • @r The top border size.
  • getBorderY1 ()

    Gets the bottom border.

    • @r The bottom border size.
  • isMaximize ()

    Gets whether the score should be maximized.

    • @r True if higher scores are better.

class: TemplateMatching

[46:7] extends: object

TemplateMatching wraps boofcv.alg.template.TemplateMatching.

Members

  • obj

Methods

  • TemplateMatching (object Obj)

    Wraps a BoofCV TemplateMatching.

    • @p Obj is an existing matcher Java object or wrapper.
  • setMinimumSeparation (int Separation)

    Sets the minimum separation between returned matches.

    • @p Separation is the minimum pixel separation.
  • setTemplate (object Template, Mask = null, int MaxResults = 1)

    Sets the template.

    • @p Template is the template image.
    • @p Mask is an optional mask image or null.
    • @p MaxResults is the maximum number of results.
  • setImage (object Image)

    Sets the input image.

    • @p Image is the input image.
  • process ()

    Runs template matching.

  • getResults ()

    Gets match results.

    • @r A DogArray of Match objects.

class: TemplateScoreType

[34:14] static extends: object

TemplateScoreType wraps boofcv.factory.template.TemplateScoreType.

Methods

  • valueOf (string Name)

    Looks up a template score enum.

    • @p Name is SUM_ABSOLUTE_DIFFERENCE, SUM_SQUARE_ERROR, NCC, CORRELATION, or SQUARED_DIFFERENCE_NORMED.
    • @r The enum Java object.