GeneralizedHoughBallard
This FB provides the Generalized Hough Ballard functionality. First, set the parameters via the corresponding methods (optional, defaults are used otherwise). Then, set the template (required). Afterwards, the Detect method can be executed.
Syntax
Constructor:
GeneralizedHoughBallard()
Methods
Name |
Description |
---|---|
Detect the template in an image (SetTemplate must have been called before). | |
Sets the canny edge detection thresholds. | |
Sets the inverted ratio of the accumulator size in relation to the source image's size (e.g. a value of 2 means that the size is halved in both directions.) | |
Sets the number of R-table levels. | |
Sets the minimum distance between the centers of different objects. | |
Sets the template image to search for in the Detect method. | |
Sets the accumulator threshold, i.e. the number of votes required to detect a match (too small values lead to false detections). |
Required License
TC3 Vision Matching
System Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4024.54 or later | PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |