• Peter Fischer's avatar
    Fix bug: non-maximum suppression for hough circle · 332588fc
    Peter Fischer authored
    The non-maximum suppression in the Hough accumulator incorrectly ignores maxima that extend over more than one cell, i.e. two neighboring cells both have the same accumulator value. This maximum is dropped completely instead of picking at least one of the entries. This frequently results in obvious circles being missed.
    
    The behavior is now changed to be the same as for hough_lines.
    
    See also https://github.com/opencv/opencv/issues/4440
    332588fc
hough.cpp 43.4 KB