DetectSingleCircle
Finds the strongest circle of a given radius in the input image.
Applications:Detection of a circular or close-to-circular object like a hole, pin, pill or particle.
Syntax
C++
C#
Python
def DetectSingleCircle( inImage: Image, inRadius: float, /, *, inRoi: Region | None = None, inMinScore: float = 20.0, inEdgeThreshold: float = 10.0, diagGradientMagnitudeImage: Image | None = None, diagScoreImage: Image | None = None ) -> outCircle: HoughCircle | None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inRoi | Region | None | None | Input region of interest | |
![]() |
inRadius | float | 0.0 - ![]() |
Circle's radius | |
![]() |
inMinScore | float | 0.0 - ![]() |
20.0 | Minimum matching score |
![]() |
inEdgeThreshold | float | 10.0 | Minimum accepted edge magnitude | |
![]() |
outCircle | HoughCircle | None | Found circle | ||
![]() |
diagGradientMagnitudeImage | Image | None | None | Visualized gradients magnitude of an input image | |
![]() |
diagScoreImage | Image | None | None | Calculated score for each pixel of an input image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.




