• 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
..
androidcamera Loading commit data...
calib3d Loading commit data...
contrib Loading commit data...
core Loading commit data...
features2d Loading commit data...
flann Loading commit data...
gpu Loading commit data...
highgui Loading commit data...
imgproc Loading commit data...
java Loading commit data...
legacy Loading commit data...
ml Loading commit data...
nonfree Loading commit data...
objdetect Loading commit data...
ocl Loading commit data...
photo Loading commit data...
python Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videostab Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...
refman.rst.in Loading commit data...