Opencv Hoff transform detection circular cvhoughcircles

Source: Internet
Author: User
CVAPI(CvSeq*) cvHoughCircles( CvArr* image, void* circle_storage,                              int method, double dp, double min_dist,                              double param1 CV_DEFAULT(100),                              double param2 CV_DEFAULT(100),                              int min_radius CV_DEFAULT(0),                              int max_radius CV_DEFAULT(0));

Image the 8-bit, single-channel, grayscale input image

Circles the output vector of found circles. Each vector is encoded as 3-element contains oating-point
Vector

Method currently, the only implemented method is CV fig, which is basically 21ht,
Described in [25].

DP the inverse ratio of the accumulator resolution to the image resolution. For example, if dp = 1,
The accumulator will have the same resolution as the input image, if dp = 2-accumulator will
Have half as big width and height, etc

Mindist minimum distance between the centers of the detected circles. If the parameter is too
Small, multiple neighbor circles may be falsely detected in addition to a true one. If it is too
Large, some circles may be missed

Param1 the specified rst method-speci found C parameter. In the case of CV Hough gradient It is the higher
Threshold of the two passed to CV: Canny edge detector (the lower one will be twice smaller)

Param2 the second method-speci limit C parameter. In the case of CV Hough gradient It is
Accumulator threshold at the center detection stage. The smaller it is, the more false circles
May be detected. circles, corresponding to the larger accumulator values, will be returned
fi RST

Minradius minimum circle radius

Maxradius maximum circle radius

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.