tanchinluh / IPCV

Scilab Image Processing and Computer Vision Module
GNU General Public License v3.0
1 stars 1 forks source link

fspecial.sci issue #13

Open tanchinluh opened 9 months ago

tanchinluh commented 9 months ago

Hi,

I'd like to report that I found bugs in the " case 'log' " part in fspecial.sci.

case 'log' wrong: x2 = ones(siz(1),1) ([-sizx:sizx]^2); y2 = ([-sizy:sizy]^2)' ones(1, siz(2)); correct: x2 = ones(siz(1),1) ([-sizx:sizx].^2); y2 = ([-sizy:sizy].^2)' ones(1, siz(2));

I checked the difference between "case 'gaussian' " part and "case 'log' " part. So, two "."(s) disappeared in the "case 'log' " part. These are what I found.

Y. Kawakami