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 10, 2022 08:23AM
Dear all,

AFNI proc fails to properly align the EPI to the anatomical dataset for one specific subject. The resulting EPI brain by AFNI proc is completly misaligned.
Here is how I proceeded.

First, deoblique was required because the dataset was very oblique.

3dcopy $directory_raw/anat1to3d+orig Temporary
3drefit -oblique_recenter Temporary+orig
3drefit -deoblique Temporary+orig
3dcopy Temporary+orig Anat1_deoblique
rm Temporary+orig.BRIK
rm Temporary+orig.HEAD

Testing the overlap via the following code resulted in very good EPI-Anat overlaps for all subjects, except for subject 5 that is causing problems here.
@djunct_overlap_check \
    -ulay   Anat1_deoblique+orig \
    -olay   Rest2_deoblique+orig \
    -prefix img_olay_epi_anat

Second, I ran SSwarper without extra options. The SSwarper results for subject 5, which are of course forwarded to AFNI proc, are fine.

@SSwarper \
-input $directory_processed/Anat1_deoblique+orig \
-base MNI152_2009_template_SSW.nii.gz \
-subid $subject \
-odir $directory_sswarper_1

The image in the attachment of this post shows the EPI-anat overlap for subject 5 after the first deoblique code shown above. It is clear to see that the overlap is not good. However, adding -giant_move or even -ginormous_move in AFNI proc does not solve the problem for this specific subject. I tried out different cost functions beside lpc+ZZ too, such as lpa and nmi. This did also not help.

What further possibilities do I have to achieve a proper alignment for this subject?

Thanks,
Philipp



Edited 1 time(s). Last edit at 04/10/2022 08:26AM by Philipp.
Attachments:
open | download - img_olay_epi_anat.jpg (551.9 KB)
Subject Author Posted

Single subject EPI-anat alignment fails (AFNI proc) Attachments

Philipp April 10, 2022 08:23AM

Re: Single subject EPI-anat alignment fails (AFNI proc)

ptaylor April 11, 2022 08:03AM