Hi David,
B. Can be done in SUMA by creating a 'Displayable Object' (DO) that is a bunch of directions. I made some code changes that allow for this to be done in the manner shown below. Commands are in tcsh syntax and to be run from the FATCAT_DEMO/DTI directory. See @Install_FATCAT_DEMO for details if you don't have it already.
cd FATCAT_DEMO/DTI
echo '#directions' > DT_V1.1D
3dmaskdump -xyz -noijk -cmask '-a DT_FA+orig -expr (step(a-0.2)*within(k,37,45))' DT_V1+orig >> DT_V1.1D
suma -vol DT_FA+orig -drive_com '-com viewer_cont -load_do DT_V1.1D'
The 3dmaskdump command creates the DO file containing the primary eigen vectors at each voxel from DT_V1+orig, the cmask expression creates a mask on the fly where only voxels with FA > 0.2 and from slice k index between 37 and 45 (see 3dcalc -h_view for syntax) and SUMA's interactive help (ctrl+h in SUMA window) for all the variants possible on Displayable Objects.
I do plan to make it so that directions can be shown at the click of a button when rendering slices within SUMA, but that might take some time, so this should get you going for now.
Note that you will need to get binaries postdating this message to get '#directions' DOs to work. I plan to compile a new set of binaries tonight.
Here is an
image showing the result.
cheers,
Ziad
Edited 7 time(s). Last edit at 03/24/2015 12:01PM by ziad.