


brede_ta3_volslice - Construct 3D Talairach volume slices
function h = brede_ta3_volslice(S, ...
'PropertyName', 'PropertyValue')
Input: S Volume structure
Property: Colormap [ {gray} | hot | ... ] Colormap for the
slice. Can either be a string or a matrix
as, eg, return from the 'hot' function.
Orthotype [ {transversal} | coronal | sagittal ]
Position [ {0} ] Where to position the slice, eg,
if 'orthotype' is 'transversal' a
'position' of 0.065 will position the
transversal 6.5 centimeter above the AC-PC
line
Range Range for the colormap
Threshold {NaN} Threshold for transparency. Only
values above the threshold are opaque.
Output: h Graphic handle
This function will construct an orthogonal slice of the
volume.
Right clicking on the geometry (the slice) will produce a
menu.
Examples:
% If SPM99 is in the path: load single subject MNI template
fn = [fileparts(which('spm')) '/canonical/single_subj_T1']
S = brede_read_analyze(fn)
% Render a sagittal slice a bit to the right of the
% ACPC-plane excluding voxel (pixels) under the value 50000
brede_ta3_volslice(S, 'position', 0.03, 'orthotype', ...
'sagittal', 'threshold', 50000)
fn = [ fileparts(which('spm')) '/templates/PET' ];
PET = brede_read_analyze(fn);
brede_ta3_frame
brede_ta3_volslice(PET, 'orthotype', 'sagittal', ...
'Position', -0.01, ...
'Colormap', jet, ...
'Threshold', 0.002, ...
'Range', [0.002 max(PET.volume(:)) ]);
See also: BREDE, BREDE_TA3_VOLSURF, BREDE_TA3_FRAME,
BREDE_VRML_VOLSURF.
$Id: brede_ta3_volslice.m,v 1.12 2008/03/12 14:31:58 fn Exp $