<p dir="auto">Transferred from <a href="http://code.opencv.org/issues/3363" rel="nofollow">http://code.opencv.org/issues/3363</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="|| caroline parcq on 2013-11-07 15:07
|| Priority: Normal
|| Affected: 2.4.6 (latest release)
|| Category: imgproc, video
|| Tracker: Bug
|| Difficulty: Medium
|| PR: 
|| Platform: x86 / Windows"><pre class="notranslate"><code class="notranslate">|| caroline parcq on 2013-11-07 15:07
|| Priority: Normal
|| Affected: 2.4.6 (latest release)
|| Category: imgproc, video
|| Tracker: Bug
|| Difficulty: Medium
|| PR: 
|| Platform: x86 / Windows
</code></pre></div>
<h2 dir="auto">Sorted circles by accumulator values</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="It would be nice to get, as output of the HoughCircles function, the circles sorted in order of importance, using the accumulator value.
Because actually, we do not have any idea in the circles list, which one is the most valuable circle."><pre class="notranslate"><code class="notranslate">It would be nice to get, as output of the HoughCircles function, the circles sorted in order of importance, using the accumulator value.
Because actually, we do not have any idea in the circles list, which one is the most valuable circle.
</code></pre></div>
<h2 dir="auto">History</h2>
<h5 dir="auto">Dinar Ahmatnurov on 2013-11-08 07:43</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Hi Caroline! thank you for your ticket!
As you may or may not be aware, OpenCV is opensource library, we don't have as many developers as we need, so if really want something urgent you have to implement it yourself and add to Opencv :)  http://code.opencv.org/projects/opencv/wiki/How_to_contribute
-   Difficulty changed from Easy to Medium
-   Priority changed from High to Normal
-   Assignee deleted (Vadim Pisarevsky)"><pre class="notranslate"><code class="notranslate">Hi Caroline! thank you for your ticket!
As you may or may not be aware, OpenCV is opensource library, we don't have as many developers as we need, so if really want something urgent you have to implement it yourself and add to Opencv :)  http://code.opencv.org/projects/opencv/wiki/How_to_contribute
-   Difficulty changed from Easy to Medium
-   Priority changed from High to Normal
-   Assignee deleted (Vadim Pisarevsky)
</code></pre></div>
<h5 dir="auto">Dinar Ahmatnurov on 2013-11-08 08:32</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="-   Status changed from New to Open"><pre class="notranslate"><code class="notranslate">-   Status changed from New to Open
</code></pre></div>
<h5 dir="auto">Hui Tay on 2013-11-28 08:40</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Hi, I'm new to openCV but was looking at hough.cpp recently. The icvHoughCirclesGradient function (and hence the output of the HoughCircles function) *already* returns circles sorted according to highest accumulated values based on circle centers with the highest vote from surrounding non-neg edge pixels (line 865). I believe the confusion may come about in the 2nd phase of the function when trying to find the best supported radius (around line 945), you can sort the circles according to 'max_count' of supporting radius pixels, but I think that makes less sense and didn't give such good results when I tried it out (since bigger circles then tend to have more support). 

Perhaps best ask someone who understands the houghcircle algorithm better :)
I'm glad to help if anyone finds other issues."><pre class="notranslate"><code class="notranslate">Hi, I'm new to openCV but was looking at hough.cpp recently. The icvHoughCirclesGradient function (and hence the output of the HoughCircles function) *already* returns circles sorted according to highest accumulated values based on circle centers with the highest vote from surrounding non-neg edge pixels (line 865). I believe the confusion may come about in the 2nd phase of the function when trying to find the best supported radius (around line 945), you can sort the circles according to 'max_count' of supporting radius pixels, but I think that makes less sense and didn't give such good results when I tried it out (since bigger circles then tend to have more support). 

Perhaps best ask someone who understands the houghcircle algorithm better :)
I'm glad to help if anyone finds other issues.
</code></pre></div>
<h5 dir="auto">Helen Wong on 2014-10-17 17:51</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I wish to work on this bug and have this bug assigned to me on this platform?"><pre class="notranslate"><code class="notranslate">I wish to work on this bug and have this bug assigned to me on this platform?
</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>