


brede_mat_mat2vol - Convert 'mat' to 'vol' structure
Input: M 'Mat' structure
Property Row [ {[]} | an row index ]
Output: V Cellarray of 'Vol' structures
Convert a 'mat' structure to 'vol' structure. The 'mat'
structure should have a 'columns' field which contains voxel
coordinates.
If 'Row' is non-empty then it should be an index for a row
in the input matrix. In that case the volume for that row will be
returned as a (single) structure - not as a cell array.
See also BREDE, BREDE_MAT, BREDE_VOL, BREDE_VOL_VOL2MAT.
$Id: brede_mat_mat2vol.m,v 1.8 2009/10/14 18:17:27 fn Exp $