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  

|
September 24, 2020 11:19AM
I am not completely sure what you want to do, but it sounds like you want a centered dataset on the same grid as some other dataset. A couple options to consider:

1. @Align_Centers, then 3dresample. @Align_Centers has a -cm option to use the center of mass or the default move to the center of the grid.
2. Rigid or "rigid_equiv" - align_epi_anat.py, @auto_tlrc, fat_proc_axialize_anat all offer rigid_body and/or rigid_equiv options. 3dAllineate can also do the same in the way you have done this above. Rigid body aligns uses only 6 parameters for rotations and translations. The rigid equiv method computes the alignment using a full affine but applies only the 6 parameters. This is usually more appropriate for "axializing" the data - getting the data into a similar orientation as the template. The rigid transformation is extracted from the full affine with the cat_matvec -P option.
Subject Author Posted

How to simply move the brain to center of matrix-space

Robin September 21, 2020 05:28AM

Re: How to simply move the brain to center of matrix-space

Colm Connolly September 22, 2020 09:30AM

Re: How to simply move the brain to center of matrix-space Attachments

Robin September 23, 2020 04:23AM

Re: How to simply move the brain to center of matrix-space

Daniel Glen September 24, 2020 11:19AM

Re: How to simply move the brain to center of matrix-space

Robin September 28, 2020 06:44AM

Re: How to simply move the brain to center of matrix-space

Daniel Glen September 28, 2020 11:25AM

Re: How to simply move the brain to center of matrix-space

Robin September 29, 2020 05:26AM