gsm2d — 2D gaussian smoothing
MG = gsm2d(M [,sigma])
Function gsm performs 2D gaussian smoothing of the image M, with standard deviation sigma, using FFT.
initial_dir = PWD; chdir (SIPDIR + 'images'); [Img,map] = imread('onca.gif'); xbasc() imshow(Img,map); Img = im2gray(Img, map); // Img is now 0-1 range xbasc() imshow(Img); Img = gsm2d(Img,2); xbasc() imshow(Img); chdir(initial_dir);