GetGeometricTemplateFeatureInfo Method
From NI Vision for Visual Basic
GetGeometricTemplateFeatureInfo Method
Syntax
CWIMAQVision.GetGeometricTemplateFeatureInfo Template, Features
Return Type
On success, this method returns 0. On failure, this method returns a negative number.
Purpose
Returns the features learned and stored in the passed geometric template.
Remarks
Use one of the following methods of configuring the template image you want to use with this method:
- Load a previously saved template image that you created using the NI Vision Template Editor using CWIMAQVision.ReadImageAndVisionInfo.
- Use CWIMAQVision.LearnGeometricPattern to learn the template image.
|
Note To use the NI Vision Template Editor to configure a template image, click Start»All Programs»National Instruments»Vision»Template Editor.
Use this method with U8 images. ParametersTemplate As CWIMAQImage The geometric template. Features As CWIMAQGeometricFeatureReport The set of geometric features returned from the template. See Also |