[Master Index] [Index for export/brede]

brede_vol_volumemean

(export/brede/brede_vol_volumemean.m)


Function Synopsis

g = brede_vol_volumemean(V, varargin)

Help text

 brede_vol_volumemean - Mean in volume

       g = brede_vol_volumemean(V)

       Input:    V     'Vol' structure

       Property: Type  [ {ordinary} | fullmean/8 ]

       Output:   g     Scalar volume mean

       Calculate the global mean. 
 
       For 'type'='ordinary' the mean across all non-NaN valued
       voxels is returned. 
 
       'Type'='Fullmean/8' is a volume mean calculation type from
       SPM2 where the output is the mean of the voxels with values
       above an eighth of the ordinary mean. If there is no voxels
       above the threshold then NaN is returned. 

       Ref: spm2/spm_global.c

       Example: 
         V = brede_read_analyze('s8np01160em01R');
         brede_vol_volumemean(V)

       See also BREDE, BREDE_VOL, BREDE_VOL_MEAN.

 $Id: brede_vol_volumemean.m,v 1.3 2007/09/21 13:05:17 fn Exp $

Cross-Reference Information

This function is called by

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