History of AFNI updates  

|
October 10, 2014 05:31PM
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.
Subject Author Posted

3dTrackID view direction per voxel

Cunnind6 October 08, 2014 07:35PM

Re: 3dTrackID view direction per voxel

ptaylor October 09, 2014 02:14AM

Re: 3dTrackID view direction per voxel

Cunnind6 October 09, 2014 11:34AM

Re: 3dTrackID view direction per voxel

Isaac Schwabacher October 09, 2014 11:42AM

Re: 3dTrackID view direction per voxel

ziad October 10, 2014 05:31PM

Re: 3dTrackID view direction per voxel

ziad October 10, 2014 05:34PM

Re: 3dTrackID view direction per voxel

Cunnind6 October 13, 2014 09:26AM



Sorry, only registered users may post in this forum.

Click here to login