M-File Help: idecimate View code for idecimate

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.

Notes

See also

iscale, ismooth, ireplicate


 

© 1990-2012 Peter Corke.