Circles Method
Syntax
CWIMAQVision.Circles SourceImage, DestImage, CirclesReport [, MinRadius = 1] [, MaxRadius = 10]
Return Type
On success, this method returns 0. On failure, this method returns a negative number.
Purpose
Obsolete—Use FindCircles instead. Separates overlapping circular objects and classifies them depending on their radii. This method also draws the detected circles into the destination image.
Remarks
Use this method with U8 images. This method operates on circles with radii less than or equal to 256 pixels.
Parameters
SourceImage As CWIMAQImage
The image to transform.
DestImage As CWIMAQImage
The resulting image.
CirclesReport As CWIMAQCirclesReport
On return, a report containing the measurements for all detected circles. Circles with radii outside the limits of MinRadius or MaxRadius receive negative radii values in the report.
MinRadius As Variant
[Optional] The smallest radius (in pixels) to detect. Circles with radii smaller than this value do not appear in the destination image. These circles appear in the returned CirclesReport, but the method reports their radii as negative.
This parameter has a default value of 1.
MaxRadius As Variant
[Optional] The largest radius (in pixels) to detect. Circles with radii larger than this value do not appear in the destination image. These circles appear in the returned CirclesReport, but the method reports their radii as negative.
This parameter has a default value of 10.