GSM2D(1)						 GSM2D(1)



NAME
       gsm2d - 2D gaussian smoothing

SYNOPSIS
       MG = gsm(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.

EXAMPLE
       initial_dir = PWD;
       chdir (SIPDIR + 'examples');

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

       chdir(initial_dir);

AUTHORS
       Ricardo Fabbri <rfabbri@if.sc.usp.br>

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

	      http://cyvision.if.sc.usp.br/~rfabbri/sip/

SEE ALSO
       gsm, imconv, fft



SIP Toolbox		   January 2002			 GSM2D(1)
