Home > brede > brede_vol_vol2mat.m

brede_vol_vol2mat

PURPOSE ^

brede_vol_vol2mat - A 'mat' structure from a 'vol' structure

SYNOPSIS ^

function M = brede_vol_vol2mat(V, varargin)

DESCRIPTION ^

 brede_vol_vol2mat    - A 'mat' structure from a 'vol' structure

       brede_vol_vol2mat(V, 'PropertyName', 'PropertyValue')

       Input:    V     An array or cell array of 'vol' structures

       Property: Coord   Voxel coordinates that are extracted.
                 Description  String as description for that 'mat'
                         structure 
                 Rows    [ {description} | Exp | Bib | filename ]
                         Determines what should be contained in the
                         'rows' array of the output 'mat' structure.
                 VolumeMask  [ {[]} ] 'Vol' structure indicated
                         voxels to include. Non-zero voxels are
                         included. 

       Output:   M     A 'mat' structure

       This function converts an array of 'vol' structures into a
       'mat' structure. The volumes are vectorize and represented as
       a row in M.matrix.

       The voxel coordinates are represented in the 'columns' field.

       If 'Coord' is nonempty then the coordinates represented in a
       Nx3 matrix are extracted from the volume. Unique nearest
       neighbor are returned. 

       Example: 
         M = brede_vol_vol2mat(Vs, 'VolumeMask', Vmask)

       See also BREDE, BREDE_VOL, BREDE_BIB, BREDE_MAT,
                BREDE_VOL_MAT2VOL, BREDE_BIB_BIB2VOL.

 $Id: brede_vol_vol2mat.m,v 1.14 2005/10/20 18:39:11 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005