<p dir="auto">Transferred from <a href="http://code.opencv.org/issues/2318" rel="nofollow">http://code.opencv.org/issues/2318</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="|| Dmitry Ponv on 2012-08-27 23:52
|| Priority: Low
|| Affected: None
|| Category: imgproc, video
|| Tracker: Feature
|| Difficulty: None
|| PR: None
|| Platform: None / None"><pre class="notranslate"><code class="notranslate">|| Dmitry Ponv on 2012-08-27 23:52
|| Priority: Low
|| Affected: None
|| Category: imgproc, video
|| Tracker: Feature
|| Difficulty: None
|| PR: None
|| Platform: None / None
</code></pre></div>
<h2 dir="auto">Hough Circle detection to report the quality/accumulator count of each circle detected</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Currently the Hough circle (and line) detection algorithms do not report the quality/accumulator value of each detected circle. This value &quot;max_count&quot; is thrown out after the function 

        if( max_count &gt; acc_threshold )
        {
            float c[3];
            c[0] = cx;
            c[1] = cy;
            c[2] = (float)r_best;
        cvSeqPush( circles, c );
            if( circles-&gt;total &gt; circles_max )
                return;
        }

This makes the Hough circle detection almost completely useless, because it reports a number of circles and the programmer doesn't know which circles are more dominant than others. The only way for the programmer to know is to run the Hough circle detection repeatedly and decrease minimum accumulator level until a circle shows up.

This issue is also posted here
http://tech.groups.yahoo.com/group/OpenCV/message/88871

I may have already submitted this feature, but I'm not sure if it went through, I didn't find it in the list,"><pre class="notranslate"><code class="notranslate">Currently the Hough circle (and line) detection algorithms do not report the quality/accumulator value of each detected circle. This value "max_count" is thrown out after the function 

        if( max_count &gt; acc_threshold )
        {
            float c[3];
            c[0] = cx;
            c[1] = cy;
            c[2] = (float)r_best;
        cvSeqPush( circles, c );
            if( circles-&gt;total &gt; circles_max )
                return;
        }

This makes the Hough circle detection almost completely useless, because it reports a number of circles and the programmer doesn't know which circles are more dominant than others. The only way for the programmer to know is to run the Hough circle detection repeatedly and decrease minimum accumulator level until a circle shows up.

This issue is also posted here
http://tech.groups.yahoo.com/group/OpenCV/message/88871

I may have already submitted this feature, but I'm not sure if it went through, I didn't find it in the list,
</code></pre></div>
<h2 dir="auto">History</h2>
<h5 dir="auto">Kirill Kornyakov on 2012-09-24 12:06</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Dmitry, thank you for the request, but please note:
# You shouldn't use High priority for things like this. We need more people asking for the same feature to say if it is important.
# You can propose your patch for the feature. It can be submitted as a pull request at the github.
-   Priority changed from High to Low
-   Category set to imgproc, video"><pre class="notranslate"><code class="notranslate">Dmitry, thank you for the request, but please note:
# You shouldn't use High priority for things like this. We need more people asking for the same feature to say if it is important.
# You can propose your patch for the feature. It can be submitted as a pull request at the github.
-   Priority changed from High to Low
-   Category set to imgproc, video
</code></pre></div>
<h5 dir="auto">Mikulas Krupicka on 2012-11-12 00:30</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Indeed, the accumulator output would be useful (for both the Line and Circular Hough). Though it forced me to write my own implementation of Hough transform to get accumulator, it is unfurtunately quite slow."><pre class="notranslate"><code class="notranslate">Indeed, the accumulator output would be useful (for both the Line and Circular Hough). Though it forced me to write my own implementation of Hough transform to get accumulator, it is unfurtunately quite slow.
</code></pre></div>
<h5 dir="auto">Neo Carlitos on 2013-03-04 10:36</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="+1 It would be useful.

I believe the returned circles are ordered according to their accumulator value (?)"><pre class="notranslate"><code class="notranslate">+1 It would be useful.

I believe the returned circles are ordered according to their accumulator value (?)
</code></pre></div>
<p dir="auto">Transferred from <a href="http://code.opencv.org/issues/1409" rel="nofollow">http://code.opencv.org/issues/1409</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="|| ivansorokin - on 2011-10-07 15:02
|| Priority: Normal
|| Affected: None
|| Category: imgproc, video
|| Tracker: Feature
|| Difficulty: None
|| PR: None
|| Platform: None / None"><pre class="notranslate"><code class="notranslate">|| ivansorokin - on 2011-10-07 15:02
|| Priority: Normal
|| Affected: None
|| Category: imgproc, video
|| Tracker: Feature
|| Difficulty: None
|| PR: None
|| Platform: None / None
</code></pre></div>
<h2 dir="auto">ability to get Hough accumulator value</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Currently it is not possible to get Hough accumulator value (after stage 1 in icvHoughLinesStandard).

http://stackoverflow.com/questions/3265987/opencv-get-hough-accumulator-value

I also need this value. Currently I've just copy-paste this part of function from OpenCV, but I think it can be extracted in separate function."><pre class="notranslate"><code class="notranslate">Currently it is not possible to get Hough accumulator value (after stage 1 in icvHoughLinesStandard).

http://stackoverflow.com/questions/3265987/opencv-get-hough-accumulator-value

I also need this value. Currently I've just copy-paste this part of function from OpenCV, but I think it can be extracted in separate function.
</code></pre></div>
<h2 dir="auto">History</h2>
<h5 dir="auto">Alexander Shishkov on 2012-02-12 20:26</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="-   Description changed from Currently it is not possible to get Hough
    accumulator value (after stage 1 in... to Currently it is not
    possible to get Hough accumulator value (after stage 1 in... More"><pre class="notranslate"><code class="notranslate">-   Description changed from Currently it is not possible to get Hough
    accumulator value (after stage 1 in... to Currently it is not
    possible to get Hough accumulator value (after stage 1 in... More
</code></pre></div>