imaqEdgeTool3

NI Vision for LabWindows/CVI Function

imaqEdgeTool3

Usage

EdgeReport2* imaqEdgeTool3(const Image* image, const ROI* roi, EdgeProcess processType, const EdgeOptions2* edgeOptions);

Purpose

Finds edges along an ROI in an image.

Note  This function is obsolete. The replacement function is imaqEdgeTool4().

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL

Parameters

Name

Type

Description

image const Image* The image in which to find the edges.
roi const ROI* The ROI to find edges along.
processType EdgeProcess The edge process type.
edgeOptions const EdgeOptions2* Specifies the parameters that are used to compute the edge profile and detect edges.

Return Value

Type

Description

EdgeReport2* On success, this function returns a structure of information about the edges found. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with this structure, dispose of it by calling imaqDispose().

Parameter Discussion

edgeOptions—Set edgeOptions to NULL to use the following default values:

polarity IMAQ_SEARCH_FOR_ALL_EDGES
kernelSize 3
width 3
minThreshold 10.0
interpolationType IMAQ_BILINEAR_FIXED
columnProcessingMode IMAQ_MEDIAN_COLUMNS