This function sets the specified model's search parameter for positional accuracy and the complexity of the image. You can enhance speed performance by selecting a lower positional accuracy. Also, whenever the positional accuracy of a model changes, the effect of any preprocessing is undone. Therefore, if the accuracy is changed, call MpatPreprocModel() before searching for the model.
The positional accuracy is also slightly affected by the search speed (MpatSetSpeed()).
Specifies the identifier of the model for which to change the positional accuracy search parameter.
Specifies the required positional accuracy for the search.
This parameter must be set to one of the values below. Note, the precision achieved is dependent on the quality of the model and the image (the tolerances listed below are typical for high-quality, low-noise images).
For specifying the positional accuracy of
the search
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_HIGH |
Specifies a high accuracy (typically ± 0.05 pixels). |
||||||||||||||||||||||||||||||||||||||
M_LOW |
Specifies a low accuracy (typically ± 0.20 pixels). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MEDIUM |
Specifies a medium accuracy (typically ± 0.10 pixels). (more details...) |
Header | Include mil.h. |
Library | Use mil.lib; milpat.lib. |
DLL | Requires mil.dll; milpat.dll. |