• 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
..
aruco Loading commit data...
bgsegm Loading commit data...
bioinspired Loading commit data...
ccalib Loading commit data...
cnn_3dobj Loading commit data...
cvv Loading commit data...
datasets Loading commit data...
dnn_objdetect Loading commit data...
dnns_easily_fooled Loading commit data...
dpm Loading commit data...
face Loading commit data...
freetype Loading commit data...
fuzzy Loading commit data...
hdf Loading commit data...
hfs Loading commit data...
img_hash Loading commit data...
line_descriptor Loading commit data...
matlab Loading commit data...
optflow Loading commit data...
ovis Loading commit data...
phase_unwrapping Loading commit data...
plot Loading commit data...
reg Loading commit data...
rgbd Loading commit data...
saliency Loading commit data...
sfm Loading commit data...
stereo Loading commit data...
structured_light Loading commit data...
surface_matching Loading commit data...
text Loading commit data...
tracking Loading commit data...
xfeatures2d Loading commit data...
ximgproc Loading commit data...
xobjdetect Loading commit data...
xphoto Loading commit data...
README.md Loading commit data...