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  

|
February 15, 2023 01:43PM
Hi, Clement-

Glad to know the purpose of this---de-sphinxifying.

The reason for 3dresample is that I find it easier to think about using the change in dataset orientation for the purpose of desphinxifying when starting from a "simple" orientation where the L-R axis is in the spot of the x-coord, the A-P axis in that of the y-coord and the I-S axis in that of the z-coord. 3dresample doesn't do any altering of the data's appearance, it just sets the header to be more easily visualizable. I still find that useful, from a human point of view. Also, the reason I could recommend a possible way to desphinxify is because I tend to 'reset' the orientation to RAI before trying to use orientation to change the way things appear.

So, taking things in steps, and integrating the orientation you said was useful:
# copy the data and remove obliquity
3dcopy DSET_00 DSET_01
3drefit -deoblique DSET_01

# reset the orientation to something simple
3dresample -orient RAI -input DSET_01 -prefix DSET_02

# change the header orientation information to rearrange how the dataset appears
3dcopy DSET_02 DSET_03
3drefit -orient LIP DSET_03

# get a reasonable center of coordinate grid in the center-of-mass of the dset
3dCM -set 0 0 0 -automask DSET_03

--pt
Subject Author Posted

3drefit -orient

Doughboys February 15, 2023 10:55AM

Re: 3drefit -orient

ptaylor February 15, 2023 11:47AM

Re: 3drefit -orient

Doughboys February 15, 2023 12:47PM

Re: 3drefit -orient

ptaylor February 15, 2023 01:43PM

Re: 3drefit -orient

Doughboys February 15, 2023 03:27PM

Re: 3drefit -orient

rick reynolds February 15, 2023 04:04PM

Re: 3drefit -orient

Doughboys February 20, 2023 08:32AM

Re: 3drefit -orient

Doughboys February 20, 2023 11:23AM

Re: 3drefit -orient

Doughboys February 20, 2023 12:13PM

Re: 3drefit -orient

ptaylor February 22, 2023 01:35PM

Re: 3drefit -orient

Doughboys February 23, 2023 12:03PM

Re: 3drefit -orient

ptaylor February 23, 2023 01:11PM