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  

|
January 24, 2019 05:42PM
You can mirror the surface data or the volumetric data by flipping the data from one side to another. For volumetric data, use 3dLRflip. For surface data, flip the surfaces with this kind of script.

The xmat input for ConvertSurface can do shifts and mirroring of surfaces.

ConvertSurface -o shift_left_pial.gii -i original_left_pial.gii -overwrite -xmat_1D shiftorigin.1D

ConvertSurface -o shift_right_pial.gii -i shift_left_pial.gii -overwrite -xmat_1D mirror.1D

where shiftorigin.1D is this:

1 0 0 dx
0 1 0 dy
0 0 1 dz

and mirror.1D is this:

-1 0 0 0
0 1 0 0
0 0 1 0

You could even concatenate the two transformations. In this case, I've kept it as two separate operations to make it clear what is going on.
Subject Author Posted

Question about fliplr on surf

dingzhihu January 24, 2019 10:19AM

Re: Question about fliplr on surf

Daniel Glen January 24, 2019 05:42PM

Re: Question about fliplr on surf

dingzhihu January 24, 2019 09:19PM

Re: Question about fliplr on surf

Daniel Glen January 24, 2019 09:30PM

Re: Question about fliplr on surf

dingzhihu January 24, 2019 09:44PM

Re: Question about fliplr on surf

dingzhihu January 24, 2019 09:29PM

Re: Question about fliplr on surf

Daniel Glen January 24, 2019 09:50PM