Home > brede > brede_bib_bib2vol.m

brede_bib_bib2vol

PURPOSE ^

brede_bib_bib2vol - Convert a 'bib' structure to a 'vol'

SYNOPSIS ^

function V = brede_bib_bib2vol(B, varargin);

DESCRIPTION ^

 brede_bib_bib2vol    - Convert a 'bib' structure to a 'vol'

       function V = brede_bib_bib2vol(B, varargin);

       Input:    B  'Bib' structure(s)

       Property: NormalizeExp  [ {n} | none | sqrt ]
                 NormalizeLoc  [ {n} | none | sqrt ]
                 Template   [ spm99_default | spm95 | spm99_template
                            | {spm99_default_0.008} |
                            spm99_default_0.004 |
                            spm99_template_0.008 ] 
                 VoxelizationSigma [ {0.01} | LOOCV ] Standard
                            deviation of the voxelization kernel.
 
       Output:   V  'Vol' structure in cell array

       This function construct 'vol' structure(s) from a 'bib'
       structure(s) by iterating over all 'Exp' in the 'Bib' structure
       and voxelizing every 'Exp' by calling brede_loc_loc2vol. Each
       'Exp' structure is weighted with 1/N where N is the number of
       experiments.

       'VoxelizationSigma' determines the width of the voxelization
       kernel.  

       'Template' determines how the resulting volume should be in
       terms of resolution and bounding box, see brede_vol_gencoord.

       Example:
         f = fullfile(fileparts(which('brede')), 'xml', 'wobibs.xml');
         B = brede_read_xml(f, 'output', 'collapsesecond');
         V = brede_bib_bib2vol(B{14});
         figure
         brede_ta3_frame
         brede_ta3_exp(B{14}.Exp);
         brede_ta3_volsurf(V, 'isorelative', 0.5, 'type', 'edge');

       See also BREDE, BREDE_BIB, BREDE_VOL, BREDE_EXP,
                BREDE_BIB_BIB2MAT, BREDE_LOC_LOC2VOL, BREDE_VOL_GENCOORD.

 $Id: brede_bib_bib2vol.m,v 1.12 2005/06/10 18:02:08 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