imshrink

PURPOSE ^

Used to shrink a multidimensional array I by integer amount.

SYNOPSIS ^

function I = imshrink( I, ratios )

DESCRIPTION ^

 Used to shrink a multidimensional array I by integer amount.

 ratios specifies the block dimensions.  For example, ratios=[2 3 4] shrinks a 3
 dimensional array I by a factor of 2 along the first dimension, 3 along the secong and 4
 along the third.  ratios must be strictly positive integers.  A value of 1 means no
 shrinking is done along a given dimension. 

 Can handle very large arrays in a memory efficient manner.
 All the work is done by localsum_block.

 INPUTS
   I       - k dimensional input array 
   ratios  - k element vector of shrinking factors

 OUTPUTS
   I   - shrunk version of input

 DATESTAMP
   29-Sep-2005  2:00pm

 See also IMRESIZE, LOCALSUM_BLOCK

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-May-2006 23:48:50 by m2html © 2003