arraycrop_full

PURPOSE ^

Used to crop a rectangular region from an n dimensional array.

SYNOPSIS ^

function I = arraycrop_full( I, start_locs, end_locs, padelement )

DESCRIPTION ^

 Used to crop a rectangular region from an n dimensional array.  
 
 Guarantees that the resulting array will have dimensions as specified by rect by filling
 in locations with padelement if the locations are outside of the image.

 INPUTS
   I             - n dimensional array to crop window from
   start_locs    - locations at which to start cropping along each dim
   end_locs      - locations at which to end cropping along each dim
   padelement    - [optional] element with which to pad (0 by default)

 OUTPUTS
   I             - cropped array

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

CROSS-REFERENCE INFORMATION ^

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