MIL_ID ModelId, | //in |
MIL_INT NbOccurrences | //in |
This function sets the number of occurrences of a model for which to search when using MpatFindModel() or MpatFindMultipleModel(). Occurrences with match scores that are greater than or equal to the certainty level (set with MpatSetCertainty()) are returned, up to the number specified in NbOccurrences. If such occurrences are fewer than the specified number, the remaining occurrences returned are the best of those that are greater than or equal to the acceptance level (set with MpatSetAcceptance()). The default is 1 (that is, find only the first occurrence with a match score that is greater than or equal to the certainty level).
Specifies the maximum number of occurrences for which to look in the target image. The number of occurrences should be less than or equal to the number of result buffer entries or some results might be lost.
This parameter must be set to one of the values below.
For specifying the maximim number of
occurrences
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_ALL |
Specifies to look for all matches that are greater than or equal to the acceptance level. |
||||||||||||||||||||||||||||||||||||||
1 <= Value <= 1000 |
Specifies the maximum number of occurrences for which to look in the target image. (more details...) |
Header | Include mil.h. |
Library | Use mil.lib; milpat.lib. |
DLL | Requires mil.dll; milpat.dll. |