[Master Index] [Index for export/brede]

brede_vol_vol2mat

(export/brede/brede_vol_vol2mat.m)


Function Synopsis

M = brede_vol_vol2mat(V, varargin)

Help text

 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

Produced by mat2html on Fri Jun 20 17:43:05 2008
Cross-Directory links are: OFF