Detects circles in point sets. This tool can detect an arbitrary number of circles in boundary curves or other point sets. It can be used to accurately detect the location of circular objects, even when they overlap.
- The (x, y) coordinates of detected points in world coordinates (a N-by-2 matrix). The points may be in arbitrary order.
- The minimum radius of a circle, in world coordinates.
- The maximum radius of a circle, in world coordinates.
- The maximum number of detections. If this value is exceeded, the tool retains the strongest detections.
- The relative amount of variation allowed in radial direction. For example, if this value is set to 0.05, then all points that are within 5% of the estimated circle radius will be regarded as part of the circle.
- The minimum number of points required for a detection, relative to the circumference of the circle. For example, if this value is set to 0.5, then a detection is only accepted if there are at least 0.5 * 2 * pi * r points within radialTolerance.
- The center points (x, y) of each detected circle as an N-by-2 matrix.
- The location and orientation of the upper left corner of a rectangle that encloses the detected circle in world coordinates. A 4*N-by-4 matrix.
- The size of the rectangle that encloses a detected circle in world coordinates. An N-by-2 matrix. X- and Y-values are identical and equal to the diameter of the detected circle.
- The points that made up a detection. The number of points for each detection is given by the blockSize output.
- An N-by-1 matrix that stores the number of points that made each detection.