imaqSkeleton
Usage
int imaqSkeleton(Image* dest, Image* source, SkeletonMethod method);
Purpose
Calculates the skeleton of the particles inside the image. The skeleton is made up of lines separating the zones of influence in the image.
Image Types Supported
IMAQ_IMAGE_U8
Parameters
Name
|
Type
|
Description
|
---|---|---|
dest | Image* | The destination image. |
source | Image* | The image whose skeleton the function derives. The calculation modifies the border of the source image. The border must be at least one pixel wide. |
method | SkeletonMethod | The method that the function uses to calculate the skeleton. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |
Parameter Discussion
source—This function modifies the source image. If you need the original image, create a copy of the image using imaqDuplicate() before using this function.