Comment on page
The Circle Detector block is a versatile tool within AugeLab Studio that allows you to detect circular patterns within an input image. This block is particularly useful for identifying circular objects or patterns within images, which can be valuable for various image analysis and processing tasks. This document will guide you through the features, functionality, and parameters of the Circle Detector block.
The Circle Detector block employs the Hough Circle Transform technique to detect circular shapes in an input image. This technique is widely used for circle detection, and it can be adjusted using various parameters to suit different image processing scenarios. The block analyzes the input image and returns the following information:
- 1.Resulting Image: The output image with detected circles highlighted.
- 2.Positions: The pixel coordinates (x, y) of the centers of detected circles.
- 3.Number of Circles: The total number of circles detected in the image.
- 4.Circles: A list of Circle objects, each representing a detected circle. Each Circle object contains information about the circle's center (x, y) and radius.
The Circle Detector block provides several adjustable parameters that allow you to fine-tune the circle detection process:
- dp: Controls the inverse ratio of the accumulator resolution to the image resolution. It influences the detection sensitivity. Range: 1.0 to 3.0.
- Edge Detection: A parameter that affects the edge detection threshold. Adjusting this value can help improve the accuracy of circle detection. Range: 0 to 300.
- Threshold: Specifies the accumulator threshold for circle detection. Higher values can lead to more accurate circle detection. Range: 0 to 100.
- Min Distance: Sets the minimum distance between the centers of two detected circles. Range: 10 to 200.
- Min Radius (% width): Defines the minimum radius of detected circles as a percentage of the image width. Range: 0% to 100%.
- Max Radius (% width): Specifies the maximum radius of detected circles as a percentage of the image width. Range: 0% to 100%.
- 1.Adding the Block: Drag and drop the Circle Detector block from the available blocks in the AugeLab Studio Node Editor.
- 2.Configuring Parameters: Adjust the block's parameters (dp, Edge Detection, Threshold, Min Distance, Min Radius, Max Radius) based on your image and circle detection requirements.
- 3.Connecting Inputs: Connect an input image to the Circle Detector block. Ensure that the input image contains the circular patterns you intend to detect.
- 4.Obtaining Output: The block will process the input image and provide the resulting output:
- The resulting image with detected circles highlighted.
- The positions (x, y) of the centers of detected circles.
- The total number of circles detected.
- A list of Circle objects, each representing a detected circle.
- Experiment with different parameter values to achieve optimal circle detection results based on your specific images.
- When adjusting Min Radius and Max Radius, consider the relative size of the circles you want to detect in relation to the image width.
- For accurate results, ensure that the input image has appropriate lighting and contrast to highlight the circular patterns.
The Circle Detector block is valuable for a wide range of applications, including:
- Quality control and inspection tasks in manufacturing environments.
- Detecting and counting circular objects or components.
- Identifying defects or irregularities in circular patterns.
By utilizing the Circle Detector block, you can efficiently identify and analyze circular features within images, enhancing your image processing and inspection capabilities in AugeLab Studio.