IMAQ Setup Learn Geometric Pattern VI

LabView NI Vision

IMAQ Setup Learn Geometric Pattern VI

Owning Palette: Searching and MatchingInstalled With: NI Vision Development Module

Sets parameters that are used during the learning process. Run this VI before using the IMAQ Learn Geometric Pattern.

IMAQ Setup Learn Geometric Pattern

ccclst.gif

Curve Parameters is a cluster containing information about how curves are extracted from the template image during the learn phase.

cu32.gif

Extraction Mode specifies how the VI identifies curves in the image. Choose from the following options:

Normal (0)

(Default) Select Normal if you want the VI to make no assumptions about the uniformity of objects in the image or the image background.

Uniform Regions (1)

Select Uniform Regions if you want the VI to assume that either the objects in the image or the image background consist of uniform pixel values. This allows the VI to more accurately calculate the external curves of the objects.

ci32.gif

Edge Threshold specifies the minimum contrast a seed point must have for it to be begin a curve. Valid values range from 1 to 360. The default value is 75.

cu32.gif

Edge Filter Size specifies the width of the edge filter that the VI uses to identify curves in the image. The following options are available:

Fine (0)

Sets the Edge Filter Size to fine.

Normal (1)

(Default) Sets the Edge Filter Size to normal.

ci32.gif

Min Length specifies the length, in pixels, of the smallest curve that you want the VI to identify. The VI ignores any curves that have a length less than this value. The default value is 25.

ci32.gif

Row Search Step Size specifies the distance, in the y direction, between the image rows that the algorithm inspects for curve seed points. Valid values range from 1 to 255. The default value is 15.

ci32.gif

Col Search Step Size specifies the distance, in the x direction, between the image columns that the algorithm inspects for curve seed points. Valid values range from 1 to 255. The default value is 15.

ci32.gif

Max Endpoint Gap specifies the maximum gap, in pixels, between the endpoints of a curve that the VI identifies as a closed curve. If the gap is larger than this value, the VI identifies the curve as an open curve. The default value is 10.

cbool.gif

Closed specifies whether to identify only closed curves in the image. The default value is FALSE, which specifies that the VI should identify both open and closed curves.

cbool.gif

Subpixel is ignored by the VI.

cerrcodeclst.gif

error in (no error) describes the error status before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.

cbool.gif

status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.

ci32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.

istr.gif

Learn Geometric Pattern Setup Data is a string that contains information about to the setup parameters selected for the learning phase. Connect this output to the IMAQ Learn Geometric Pattern VI or the IMAQ Advanced Setup Learn Geometric Pattern VI.

ierrcodeclst.gif

error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.