Merge pull request #10041 from savuor:RevHoughWorks

HoughCircles rewritten (PR #7434 updated) (#10041)

* initial version of renewed HoughCircles done

* fixed compilation

* fixed SIMD ability & compilation warning

* fixed accumulator nonmax comparison

* common Mutex for all invokers

* nzLocal is std::vector

* nz is std::vector

* SSE2 -> SIMD128

* centers is now std::vector

* circles is std::vector

* estimateRadius updated

* accum calculation w/o mutex

* less deprecated code

* several bugs fixed

* back to mutex, TLS gathering doesn't work

* extra code removed

* little refactoring

* docs note updated

* a little speedup

* warning fixed
pull/10126/head
Rostislav Vasilikhin 7 years ago committed by Alexander Alekhin
parent 438e456ce9
commit 397b57dd72
  1. 2
      modules/imgproc/include/opencv2/imgproc.hpp
  2. 990
      modules/imgproc/src/hough.cpp

@ -2090,7 +2090,7 @@ Example: :
@note Usually the function detects the centers of circles well. However, it may fail to find correct
radii. You can assist to the function by specifying the radius range ( minRadius and maxRadius ) if
you know it. Or, you may ignore the returned radius, use only the center, and find the correct
you know it. Or, you may set maxRadius to 0 to return centers only without radius search, and find the correct
radius using an additional procedure.
@param image 8-bit, single-channel, grayscale input image.

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save