<< gsm SIP - Scilab Image Processing Toolbox hello_sip >>

SIP - Scilab Image Processing Toolbox >> SIP - Scilab Image Processing Toolbox > gsm2d

gsm2d

2D gaussian smoothing

Calling Sequence

MG = gsm2d(M [,sigma])

Parameters

M
the matrix (intensity image) to be smoothed
sigma
the standard deviation of the gaussian kernel. Defaults to 5.
MG
the smoothed image.

Description

Function gsm performs 2D gaussian smoothing of the image M, with standard deviation sigma, using FFT.

Examples

initial_dir = PWD;
chdir (SIPDIR + 'images');

[Img,map] = imread('onca.gif');
clf
imshow(Img,map);
Img = im2gray(Img, map);     // Img is now 0-1 range
clf
imshow(Img);
Img = gsm2d(Img,2);
clf
imshow(Img);

chdir(initial_dir);

Authors

Availability

The latest version of the Scilab Image Processing toolbox can be found at

http://siptoolbox.sourceforge.net

See Also


<< gsm SIP - Scilab Image Processing Toolbox hello_sip >>