imaqConcentricRake2
Usage
ConcentricRakeReport2* imaqConcentricRake2(Image* image, ROI* roi, ConcentricRakeDirection direction, EdgeProcess process, int stepSize, EdgeOptions2* edgeOptions);
Purpose
Finds edges along arcs inside an annular search region.
Image Types Supported
IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL
Parameters
Name
|
Type
|
Description
|
---|---|---|
image | Image* | The image in which to find edges. |
roi | 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. |
stepSize | int | Specifies the number of pixels between each search line. |
edgeOptions | EdgeOptions2* | Specifies the parameters that are used to compute the edge profile and detect edges. |
Return Value
Type |
Description |
---|---|
ConcentricRakeReport2* | 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
edgeOptions—Set edgeOptions to NULL to use the default options, as follows:
polarity | IMAQ_SEARCH_FOR_ALL_EDGES |
kernelSize | 3 |
numSearchLines | 3 |
minThreshold | 10.0 |
interpolationType | IMAQ_BILINEAR_FIXED |
columnProcessingMode | IMAQ_MEDIAN_COLUMNS |