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  

|
Daniel Glen
May 22, 2005 09:52AM
The conversion of the ROI from anatomical resolution to the functional image resolution can be done with the 3dfractionize command as in the example below from the hands-on documentation. The clip level determines what fraction of the ROI has to be covered to be part of the new, resampled ROI. You might be able to adjust that to match what you want.

3dfractionize -template func+orig \
-input ROI_high_res+orig \
-clip 0.5 -preserve -prefix ROI_low_res

Another option would be to create your ROIs on the functional dataset, but you'd have to create a single sub-brik dataset to do that (either extracting a single sub-brik, an averaged sub-brik, a max sub-brik, or something else). You could use various commands to create this single sub-brik such as 3dcalc or 3dTstat.

I'm not sure why any other program would allow you to draw an ROI more precisely, but to get the ROI data from other software should not be too hard. You could create a mask from the ROI in that other software on some dataset with the same resolution and import that dataset into AFNI with to3d. Use a 3dcalc command to create a dataset with a value of 1,2,3,4,.... for each ROI/mask, e.g. "3dcalc -a maskimport+orig -expr '2*step(a)' "
Subject Author Posted

problem with sensitivity and specificity of seed placement

Liam Zaidel May 21, 2005 11:29PM

Re: problem with sensitivity and specificity of seed placement

Daniel Glen May 22, 2005 09:52AM

Re: problem with sensitivity and specificity of seed placement

Rich Hammett May 22, 2005 11:02AM

Re: problem with sensitivity and specificity of seed placement

Bob Cox May 22, 2005 11:14AM