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  

|
April 08, 2020 04:36PM
Hi Laura,
Hope all is good with you.
Large changes between runs could be problematic, but every case is different. We usually recommend 3dvolreg, of course, for data within "sessions", but that can depend on how a session is defined. For 3dvolreg to work properly, you have to have exactly the same coordinate system between runs - no shift of origins and exactly the same grid (number and size of voxels in all three directions are the same across runs). Also sometimes reshimming happens with large changes and EPI data needs more than a rigid body alignment to correct for motion and achieve voxelwise correspondence across runs. 3dvolreg can take slightly larger motion with the -twopass option. Large motion between runs isn't included in censoring, so that's not a problem. You will probably want to use -regress_motion_per_run to better account for motion.

Check to see if the correction worked the usual way - assuming you have used afni_proc.py to process your data, you should have a pbnn.volreg dataset. See if that is both aligned to the final anatomical dataset in the afni GUI, and check for motion there using the graph and image viewers. If 3dvolreg couldn't handle the larger changes, you might have a few options.

1. Per run base volume, affine align across runs. One is to use an intermediate base volume for each run. In afni_proc.py, use the option "-volreg_post_vr_allin yes" to do this. With this option, 3dAllineate is used to compute an affine cross-run alignment. Also specify the run base sub-brick volume with "-volreg_pvra_base_index INDEX".
2. Affine motion correction. Another way is to use 3dAllineate to do the motion correction with an afifne transformation instead of 3dvolreg's rigid body alignment. Use the option "-volreg_method 3dAllineate". Motion regressors are more complicated and could include all 12 parameters.
3. Treat as separate runs. Here affine alignment to the anatomical is separate for each run.



Edited 1 time(s). Last edit at 04/08/2020 04:55PM by Daniel Glen.
Subject Author Posted

Large Max Motion Displacement Between Runs

LauraMartin April 07, 2020 04:32PM

Re: Large Max Motion Displacement Between Runs

Daniel Glen April 08, 2020 04:36PM

Re: Large Max Motion Displacement Between Runs

LauraMartin April 08, 2020 05:23PM

Re: Large Max Motion Displacement Between Runs

Daniel Glen April 08, 2020 11:21PM