• Heinz Hofbauer's avatar
    Bugfix for an overlapping size of image and template for matchTemplate. · a26c4fa2
    Heinz Hofbauer authored
    Example: img of size 10x10 and templ of size 11x9.
    In subsequent code this will results in either width or height of
    corrSize to be zero (0).
    Line 261 will call crossCorr which will then have a zero size of either
    blocksize.width or blocksize.height resulting in a division by zero
    crach in lines 137 or 138.
    a26c4fa2
Name
Last commit
Last update
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...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
README Loading commit data...
index.rst Loading commit data...