


brede_vol_zero - Mask zero volume (partially)
Vout = brede_vol_zero(Vin, 'PropertyName', 'PropertyValue')
Input: Vin 'Vol' structure
Property: Position [ {0} | Voxel location in millimeter ]
Type [ {All} | Left | Left0 | Right | Right0 ]
Output: Vout 'Vol' structure
Zero the voxels of a volume. The 'All' type will zero all
voxels, while the 'left' type will zero the voxel in the left
hemisphere. The 'left0' type will zero the left hemisphere
voxels as well as the voxels in the mid-plane (x=0).
If 'position' is different from zero then the volume will not be
zeroed at the mid-plane, but rather from the spatial position
that is specified.
Example:
% With SPM99 installed
f = [ fileparts(which('spm')) '/canonical/single_subj_T1'];
T1 = brede_read_analyze(f);
figure, brede_ta3_frame
T1right = brede_vol_zero(T1, 'type', 'left0');
brede_ta3_volsurf(T1right, 'isoabsolute', 100000);
See also BREDE, BREDE_VOL, BREDE_VOL_BINARIZE, BREDE_VOL_MASK,
BREDE_VOL_PRODUCT, BREDE_VOL_THRESHOLD.
$Id: brede_vol_zero.m,v 1.4 2008/03/26 15:21:48 fn Exp $