imsubs2array

PURPOSE ^

Converts subs/vals image representation to array representation.

SYNOPSIS ^

function I = imsubs2array( subs, vals, siz, fillval )

DESCRIPTION ^

 Converts subs/vals image representation to array representation.

 imsubs is a 'bag of pixels' image representation which is useful for sparse arrays.

 INPUTS
   subs    - subscripts of point locations (n x d) 
   vals    - values at point locations (n x 1)
   siz     - image size vector (1xd) - must fully contain subs
   fillval - [optional] value to fill array with at nonspecified locs

 OUTPUTS
   I       - array of size siz

 DATESTAMP
   29-Sep-2005  2:00pm

 See also IMSUBS_RESIZE

CROSS-REFERENCE INFORMATION ^

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