SearchStrategy Property

NI Vision for Visual Basic

SearchStrategy Property

Syntax

CWIMAQMatchColorPatternOptions.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

Search strategy. The default is cwimaqConservativeSearch.

Remarks

Refer to the NI Vision Concepts Manual for information about these strategies.