imaqConcentricRake

NI Vision for LabWindows/CVI Function

imaqConcentricRake

Usage

ConcentricRakeReport* imaqConcentricRake(const Image* image, const ROI* roi, ConcentricRakeDirection direction, EdgeProcess process, const RakeOptions* options);

Purpose

Finds edges along concentric circular or annular paths in the image.

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

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 edges.
roi const ROI* The annular region the function looks in for the edges. The first contour of roi must be an annulus.
direction ConcentricRakeDirection The direction the function searches for edges along the search lines.
process EdgeProcess Defines the edges for which the function looks.
options const RakeOptions* Describes how to search for the edges.

Return Value

Type

Description

ConcentricRakeReport* On success, this function returns information describing the calculated edges and the concentric rake used by the function. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with the information, dispose of it by calling imaqDispose().

Parameter Discussion

options—Set the options parameter to NULL to use the default options, as follows:

threshold 40
width 4
steepness 2
subsamplingRatio 5
subpixelType IMAQ_QUADRATIC
subpixelDivisions 1