M-File Help: ismooth | View code for ismooth |
Gaussian smoothing
out = ismooth(im, sigma) is the image im after convolution with a Gaussian kernel of standard deviation sigma.
out = ismooth(im, sigma, options) as above but the options are passed to CONV2.
'full' | returns the full 2-D convolution (default) |
'same' | returns OUT the same size as IM |
'valid' | returns the valid pixels only, those where the kernel does not exceed the bounds of the image. |
© 1990-2012 Peter Corke.