SearchStrategy
Specifies how the features of the image are used during the search phase. Use the search strategy parameter to optimize the speed of the pattern matching algorithm by allowing the algorithm to inspect less data from the image. Refer to the NI Vision for LabWindows/CVI User Manual for more information about these strategies.
Elements
Name | Value | Description |
---|---|---|
IMAQ_CONSERVATIVE | 1 | Instructs the pattern matching algorithm to use the largest possible amount of information from the image at the expense of slowing down the speed of the algorithm. |
IMAQ_BALANCED | 2 | Instructs the pattern matching algorithm to balance the amount of information from the image it uses with the speed of the algorithm. |
IMAQ_AGGRESSIVE | 3 | Instructs the pattern matching algorithm to use a lower amount of information from the image, which allows the algorithm to run quickly but at the expense of accuracy. |
IMAQ_VERY_AGGRESSIVE | 4 | Instructs the pattern matching algorithm to use the smallest possible amount of information from the image, which allows the algorithm to run at the highest speed possible but at the expense of accuracy. |
IMAQ_SEARCH_STRATEGY_SIZE_GUARD | 0xFFFFFFFF | Reserved |