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 02, 2021 10:39AM
Hi-

If the data are in the same spot, and you *only* want the data orientations to match, then you can run 3dresample.

You could change one dset orientation to match that of the other, or change both to something nice like RAI (I am using made-up input and prefix file names here...):
3dresample -prefix MAG_RAI.nii.gz -orient RAI -input DSET_MAG
3dresample -prefix CEST_RAI.nii.gz -orient RAI -input DSET_CEST
After this, the datasets should appear in the same locations in the GUI (that is, nothing with coordinates will have changed), but now the orientation of the data stored on disk should match (RAI in both cases); you can verify this with:
3dinfo -orient -prefix MAG_RAI.nii.gz CEST_RAI.nii.gz

To perform alignment---yes, you can do that with our alignment programs. Many people have partial data to align to whole brain, and it can be done. There are details that matter though: do the two dsets have similar or opposite tissue contrast (--> determines what cost function to use)? Do they start off close-to-well-aligned or not (---> getting to a good starting point is nice, as there is less chance of a dset wandering off into space accidentally)?

For the second point here, what does the output image:
@djunct_overlap_check -ulay MAG_RAI.nii.gz -olay CEST_RAI.nii.gz -prefix image_mag_cest
look like? (It will show how well the dsets overlap to start.)

--pt
Subject Author Posted

how to change orientation infomation in head file but keep the oritation of image Attachments

Tracy_AFNI March 29, 2021 01:12PM

Re: how to change orientation infomation in head file but keep the oritation of image

ptaylor March 29, 2021 01:59PM

Re: how to change orientation infomation in head file but keep the oritation of image

Daniel Glen March 29, 2021 02:54PM

Re: how to change orientation infomation in head file but keep the oritation of image

Tracy_AFNI March 31, 2021 11:20PM

Re: how to change orientation infomation in head file but keep the oritation of image

Tracy_AFNI March 31, 2021 11:18PM

Re: how to change orientation infomation in head file but keep the oritation of image

ptaylor March 31, 2021 11:24PM

Re: how to change orientation infomation in head file but keep the oritation of image

Tracy_AFNI April 01, 2021 06:22PM

Re: how to change orientation infomation in head file but keep the oritation of image

ptaylor April 02, 2021 10:39AM