• d.bouron's avatar
    Fix corruption exception in StaticSaliencySpectralResidual · 0e03fea4
    d.bouron authored
    In some case, Discrete Fourier Transform in computeSaliencyImpl() returns
    magnitude matrix which contains zero values.
    Then, log() returns -inf values and normalization with blur() returns -nan.
    When computeBinaryMap() is called double free or corruption exception occurs
    because kmeans() fails to compute distance.
    Signed-off-by: 's avatard.bouron <d.bouron@criteo.com>
    0e03fea4
Name
Last commit
Last update
..
BING Loading commit data...
motionSaliency.cpp Loading commit data...
motionSaliencyBinWangApr2014.cpp Loading commit data...
objectness.cpp Loading commit data...
precomp.hpp Loading commit data...
saliency.cpp Loading commit data...
staticSaliency.cpp Loading commit data...
staticSaliencyFineGrained.cpp Loading commit data...
staticSaliencySpectralResidual.cpp Loading commit data...