Home > brede > brede_vol_volumemean.m

brede_vol_volumemean

PURPOSE ^

brede_vol_volumemean - Mean in volume

SYNOPSIS ^

function g = brede_vol_volumemean(V, varargin)

DESCRIPTION ^

 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 calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005