Home > Util > down.m

down

PURPOSE ^

DOWN downsamples an image by a given factor

SYNOPSIS ^

function y=down(x,r);

DESCRIPTION ^

DOWN downsamples an image by a given factor
Usage: y=down(x,r)
 image y is obtained from image x by summing and down sampling
 image y will have the size (floor(m/r),floor(n/r)) 
 where (m,n) is the size of image x 

 Author: Ali Mohammad-Djafari
 Date: Nov. 4, 2002

 Test: 
 x=rand(9); y=down(x,2); y=down(x,3);

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Feb-2004 16:43:21 by m2html © 2003