• Vadim Pisarevsky's avatar
    Merge pull request #16561 from vpisarev:better_hough_circles · cc259e49
    Vadim Pisarevsky authored
    * improved version of HoughCircles (HOUGH_GRADIENT_ALT method)
    
    * trying to fix build problems on Windows
    
    * fixed typo
    
    * * fixed warnings on Windows
    * make use of param2. make it minCos2 (minimal value of squared cosine between the gradient at the pixel edge and the vector connecting it with circle center). with minCos2=0.85 we can detect some more eyes :)
    
    * * added description of HOUGH_GRADIENT_ALT
    * cleaned up the implementation; added comments, replaced built-in numeic constants with symbolic constants
    * rewrote circle_popcount() to use built-in popcount() if possible
    * modified some of HoughCircles tests to use method parameter instead of the built-in loop
    
    * fixed warnings on Windows
    cc259e49
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...