AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
May 12, 2015 04:27AM
Hi--

There are various ways to put ROIs together in a single volume. Each target for tracking is the set of voxels with a given integer value, so you will want each target unique target to have a different integer value.

If you have just 2 in the same volume space (in your case, 'thalamus.nii' and 'mpfc.nii'), and you are sure that they do not overlap spatially, then you can do the following:

$ 3dcalc -a thalamus.nii -b mpfc.nii -expr 'step(a) + 2*step(b)' -prefix OUTPUT.nii.gz

I used 'step' above because I wasn't sure if you had already made masks of your ROI files or not. The nonzero voxels from the 'thalamus' file will have integer values of 1, and those of the 'mpfc' file will have values of 2. After this, you can use OUTPUT.nii.gz as your -netrois file.

Then, if you wanted to do mini-probabilistic tracking to find the connections between these targets, then you could do the following (adapting several names from your input example above):

$ 3dTrackID -mode MINIP -dti_in DT -mini_num 7 -uncert UNCERT_UNI+orig <some details..> -netrois OUTPUT.nii.gz -logic AND -prefix o.TM -do_trk_out

And I'll note that lots of tracking/visualization help can be found in the online documentation:
[afni.nimh.nih.gov]

--pt
Subject Author Posted

How to make multibrick ROI for 3dTrackID?

leetaey May 12, 2015 12:48AM

Re: How to make multibrick ROI for 3dTrackID?

ptaylor May 12, 2015 04:27AM

Re: How to make multibrick ROI for 3dTrackID?

leetaey May 12, 2015 08:35AM

Re: How to make multibrick ROI for 3dTrackID?

ptaylor May 12, 2015 09:26AM

Re: How to make multibrick ROI for 3dTrackID?

leetaey May 30, 2015 09:23PM

Re: How to make multibrick ROI for 3dTrackID?

ptaylor June 01, 2015 04:49PM

Re: How to make multibrick ROI for 3dTrackID?

leetaey June 01, 2015 06:34PM

Re: How to make multibrick ROI for 3dTrackID?

ptaylor June 02, 2015 06:42AM

Re: How to make multibrick ROI for 3dTrackID?

leetaey June 03, 2015 10:14AM

Re: How to make multibrick ROI for 3dTrackID?

ptaylor June 03, 2015 01:44PM

Re: How to make multibrick ROI for 3dTrackID?

leetaey June 10, 2015 11:20PM

Re: How to make multibrick ROI for 3dTrackID?

ptaylor June 10, 2015 11:55PM