


brede_vol_scale - Scaling of a volume
function Vout = brede_vol_scale(Vin, 'PropertyName',
'PropertyValue')
Input: Vin 'Vol' structure
Property: Type [ {100fullmean/8} ]
Output: Vout 'Vol' structure
Scale the voxel values in a 'vol' structure.
'100fullmean/8' will scale the voxel values so their 'volume
mean' will be 100. The volume mean in this connection is
computed as the 'fullmean/8', i.e., the mean of the values of
the voxels which values are above an eighth of the ordinary
volume mean.
Ref: SPM.
Example:
% 'swr_nru00010_altanserin' is an example Analyze file
V = brede_read_analyze('swr_nru00010_altanserin');
Vscaled = brede_vol_scale(V, 'type', '100fullmean/8');
brede_vol_volumemean(Vscaled, 'type', 'fullmean/8')
% The last function should return 100.
See also BREDE, BREDE_VOL, BREDE_VOL_DIVIDE,
BREDE_VOL_VOLUMEMEAN, BREDE_MAT_SCALE,
BREDE_READ_ANALYZE.
$Id: brede_vol_scale.m,v 1.1 2005/07/13 13:51:28 fnielsen Exp $