• 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
..
imgproc Loading commit data...
imgproc.hpp Loading commit data...