localsum_block

PURPOSE ^

Calculates the sum in non-overlapping blocks of I of size dims.

SYNOPSIS ^

function I = localsum_block( I, dims )

DESCRIPTION ^

 Calculates the sum in non-overlapping blocks of I of size dims.  

 Similar to localsum except gets sum in non-overlapping windows. Equivalent to doing
 localsum, and then subsampling (except more efficient).

 INPUTS
   I       - matrix to compute sum over
   dims    - size of volume to compute sum over 

 OUTPUTS
   I       - resulting array 

 DATESTAMP
   29-Sep-2005  2:00pm
 
 See also LOCALSUM

CROSS-REFERENCE INFORMATION ^

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