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  

|
June 06, 2006 04:01PM
Hi Clara,

So what you might want is to take the ROI coordinates from
+tlrc space, warp them to +orig space, and then drop a 3x3x3
box down at each coordinate (for a set number of ROIs). How
does that sound?

I have not done this, but I suspect it can be done as follows:

1. Given a list of coordinates in text file coords.tlrc.1D,
transform the coordinates to +orig space for this subject:

Vecwarp -apar ${subj}_anat+tlrc -backward \
-input coords.tlrc.1D -output coords.orig.1D

2. Add ROI values at each of those coordinates (assuming that
vals.1D has the values that match those coordinates):

1dcat coords.orig.1D vals.1D > $subj.coords.vals.1D

3. Turn this into a dataset matching the subject's stats dset:

3dUndump -master ${subj}_stats+orig -prefix $subj.one.vox \
-xyz $subj.coords.vals.1D

It is possible that you may want '-orient RAI' here...

4. Then use 3dcalc with differential sub-scripts to blow the
single voxels in 3x3x3 voxel blocks, or perhaps little
spheres.

Maybe this will do what you want.

- rick

Subject Author Posted

3dfractionize: find clip level

Clara Scholl June 06, 2006 12:21PM

Re: 3dfractionize: find clip level

rick reynolds June 06, 2006 12:34PM

Re: 3dfractionize: find clip level

Clara Scholl June 06, 2006 02:33PM

Re: 3dfractionize: find clip level

rick reynolds June 06, 2006 04:01PM

Re: 3dfractionize: find clip level

Clara Scholl June 06, 2006 04:17PM

Re: 3dfractionize: find clip level

Clara Scholl June 06, 2006 04:54PM

Re: 3dfractionize: find clip level

rick reynolds June 06, 2006 05:24PM

Re: 3dfractionize: find clip level

Daniel Glen June 06, 2006 04:53PM