Maxsys and MX Series Software Administrator’s Guide 309
Search Algorithm
The search algorithm is as follows:
• For each point in the search area, compute a score. The first point found which
yields the best score (keeping in mind that there can be many occurrences of
the best score over the search area) will be the match point. If that match point
score is >= min score, it's good, else generate a target-not-found error.
Scoring at each point is conducted by:
• "Sample all the FOREGROUND pixels (the pixels specified on the target
image at color FOREGROUND). Generate a histogram of their light
intensities. Chop off the top N% (currently 10%) of the samples. This
generates a background threshold BT.
• “Sample all the BACKGROUND pixels (the pixels specified on the target
image at color BACKGROUND). Count the number of these pixel values that
are > BT. The percentage of background pixels > BT is the score at this point.
Thus, the score will always be between 0 and 100.
Kommentare zu diesen Handbüchern