# Hough Circle Estimate RadiusInvoker code

**URL:** <https://forum.opencv.org/t/hough-circle-estimate-radiusinvoker-code/9750>\
**Category:** C++\
**Tags:** imgproc\
**Created:** [August 5, 2022, 9:01pm UTC](https://forum.opencv.org/t/hough-circle-estimate-radiusinvoker-code/9750 "2022-08-05T21:01:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarlan](https://avatars.discourse-cdn.com/v4/letter/t/ed655f/32.png) [@Tarlan](https://forum.opencv.org/u/Tarlan)\
**Post date:** [August 5, 2022, 9:01pm UTC](https://forum.opencv.org/t/hough-circle-estimate-radiusinvoker-code/9750/1 "2022-08-05T21:01:10Z")

</div>

Hi everybody.

I trying to learn hough.cpp code .  
There is function  
inline int filterCircles(const Point2f& curCenter, float\* ddata) const;  
which contains the following code :  
float rCur = (upbin + j)/2.f /nBinsPerDr \* dr + minRadius;.  
I think this code has error and it supposed to be  
float rCur = (upbin + j)/2.f \*nBinsPerDr \* dr + minRadius;.

Please help me make this clear
