SearchStrategy Property

NI Vision for Visual Basic

SearchStrategy Property

Syntax

CWIMAQMatchPatternAdvancedOptions.SearchStrategy

Data Type

CWIMAQSearchStrategies

You can use the following constants with this data type:

  • cwimaqAggressiveSearch—Aggressive search. Extracts template information for Aggressive, Balanced, and Conservative matching.
  • cwimaqBalancedSearch—Balanced search. Extracts template information for Balanced and Conservative matching.
  • cwimaqConservativeSearch—Conservative search. Extracts template information for Conservative matching only.
  • cwimaqVeryAggressiveSearch—Very aggressive search. Similar to the Aggressive search, only more extreme. The Very Aggressive strategy is the fastest way to find templates in an image.

Purpose

Aggressiveness of the rotation search strategy. The default is Balanced.