imaqGetGeometricTemplateFeatureInfo

NI Vision for LabWindows/CVI Function

imaqGetGeometricTemplateFeatureInfo

Usage

FeatureData* imaqGetGeometricTemplateFeatureInfo(const Image* pattern, unsigned int* numFeatures);

Purpose

Returns the geometric features described by the template.

Image Types Supported

IMAGE_U8

Parameters

Name

Type

Description

pattern const Image* The template to extract features from.
numFeatures unsigned int* On return, the number of features described by the template. Set this parameter to NULL if you do not wish to return information about the number of features described by the template.

Return Value

Type

Description

FeatureData* On success, this function returns an array of features described by the template. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with the return value, dispose of the pointer by calling imaqDispose().