M-File Help: idecimate | View code for idecimate |
an image
s = idecimate(im, m) is a decimated version of the image im whose size is reduced by m (an integer) in both dimensions. The image is smoothed with a Gaussian kernel with standard deviation m/2 then subsampled.
s = idecimate(im, m, sd) as above but the standard deviation of the smoothing kernel is set to sd.
s = idecimate(im, m, []) as above but no smoothing is applied prior to decimation.
© 1990-2012 Peter Corke.