imaqSpoke
Usage
SpokeReport* imaqSpoke(const Image* image, const ROI* roi, SpokeDirection direction, EdgeProcess process, const SpokeOptions* options);
Purpose
Finds edges along radial lines specified inside an annular region.
![]() |
Note This function is obsolete. The replacement function is imaqSpoke2(). |
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 roiI must be an annulus. |
direction | SpokeDirection | The direction the function search for edges along the search lines. |
process | EdgeProcess | Defines which edges the function looks for. |
options | const SpokeOptions* | Describes how to search for the edges. |
Return Value
Type |
Description |
---|---|
SpokeReport* | On success, this function returns information describing the calculated edges and the spoke 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 options to NULL to use the default options, as follows:
threshold | 40 |
width | 4 |
steepness | 2 |
subsamplingRatio | 5 |
subpixelType | IMAQ_QUADRATIC |
subpixelDivisions | 1 |