HoughCircles detects too small circles (Bug #518)
Description
Hey guys,
I've found a bug with cv::HoughCircles. It detects circles, that do not lie in the specified radius range. See accompanying files.
Screenshot description: The window "hough" contains the detected circles in gray. The three white ones describe the range of accepted radius. The bottomleft-circle e.g. is definitely too small.
Im actually using OpenCV2.1 on Windows 7, 32bit, compiled with VS2005 SP1
Regards, Max
Related issues
related to Patch #951: HoughCircles low resolution | Done |
Associated revisions
decreased the lower canny threshold in HoughCircles, helps to detect some circles in low-contrast images (ticket #518)
another fix on the ticket #518 - ignore all the circles with radius outside of the specified range
Merge pull request #518 from asmorkalov:ts_refactor
History
Updated by anonymous - over 14 years ago
I think this post is related
Updated by Vadim Pisarevsky over 14 years ago
Ok, the problem is fixed in r3978. Circle radius calculation can still be improved, but from now on it should not return circles with radius outside of the specified range.
BTW, thanks for the good test sample and the image! Can we re-use the image for our automated tests for this algorithm?
- Status changed from Open to Done
- (deleted custom field) set to fixed
Updated by Maximilian Matthe over 14 years ago
Uh, thats nice if it works now. I've not tried it yet.
Yes, you are allowed to use the image or code for automated tests.