www.gusucode.com > MATLAB实现图像的SIFT特征提取源码程序 > MATLAB实现图像的SIFT特征提取源码程序/scale-space/smooth.m

    function J = smooth(I,s)
%% file:        smooth.m
 % author:      Noemie Phulpin
 % description: smoothing image
 %%
 
%filter 
h=fspecial('gaussian',ceil(4*s),s);

%convolution
J=imfilter(I,h);

return;