Download Canon WEBVIEW LIVESCOPE 3.2 User`s guide

Transcript
OpenCV Provider User’s Guide
- 106 -
<X> = VT_I4: X coordinates
<Y> = VT_I4: Y coordinates
<Angle> = VT_I4: Rotating angle
<Value> = VT_R8: Correlation value
Explanation
Perform extended template matching between current image and <Input ID> image.
Return values are the center point of a detected image which has the highest correlative
values up to <Max count>. If correlative value is below <Threshold> or the center
point is very near the highest correlative point, then the values are filterd.
When either current image or template image is grayscale, another image is converted
to grayscale first, and then template matching is executed.
A current image and <Imput ID> image must statisfy the following conditions.
min(W,H) >= L
[Note]
From Version 1.3.2,
the specification of the auguments and return value were
changed.
From Version 1.3.5, rotation dilection is changed to crockwise.
Related item
MatchTemplate, MatchShapesEx, MatchShapes2
Hint for high
speed search
・ If the search target image is in a specific area, specify ROI to limit search area for
faster search
・ If the rotation angle is in a specific range, appropriately specify the start angle and
end angle of matching search.
・ To search a round shape, specify start angle and end angle to 0.
MatchShapes2
Format
object.MatchShapes2( <Input ID>, <Method>, <Min scale>, <Similarity>,
<Max count> )
ORiN Forum
DENSO WAVE Inc.