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 03, 2020 10:27AM
Hi, Joy-

Attached is an image of the initial positions/overlaps of the dsets (anat_epi_init_positions.png), and an image of the successfully aligned ones (from the QC HTML: align_epi_anat.png).

So, in this case, allowing the larger parameter space search of alignment values with "-giant_move" ended up leading to badness. I think it might be because both the anatomical and EPI are have pretty inhomogeneous brightness patterns (and in different ways). So, looking at your dsets, I figured that once there was a center-of-mass alignment, there wouldn't need to be a large amount of other rotation/shift/etc. done. So, I changed the option for align_epi_anat.py to this simpler one:
-align_opts_aea \
            -cmass cmass \
... and that seemed to work (again, see attached alignment).

Note that I might also suggest adding:
-anat_has_skull       yes \
... to your script (I do so followign the "-copy_anat ..." opt), to signify that the anatomical needs to be skullstripped; I think this is default behavior anyways, but I find it helpful to myself, because I usually skullstrip the anatomical *before* running afni_proc.py with @SSwarper, and then I remember to turn *off* skullstripping. (I generally like to *overspecify* options, just so I can adapt processing scripts more readily.)

One final note: I think we generally recommend not masking the regression step, so you can see the modeling results everywhere, even outside the brain, for QC and information purposes; we calculate masks at the single subject level, yes, but just use those to be combined at the group level for final results reporting. So, I would recommend not including this opt:
-mask_apply anat \


--pt
Attachments:
open | download - align_epi_anat.png (583.9 KB)
open | download - anat_epi_init_positions.png (257.2 KB)
Subject Author Posted

Alignment problem with afni_proc.py Attachments

joy0617 March 28, 2020 04:06PM

Re: Alignment problem with afni_proc.py

ptaylor March 28, 2020 05:40PM

Re: Alignment problem with afni_proc.py

joy0617 March 29, 2020 11:59AM

Re: Alignment problem with afni_proc.py

ptaylor March 29, 2020 01:15PM

Re: Alignment problem with afni_proc.py

joy0617 March 30, 2020 10:16AM

Re: Alignment problem with afni_proc.py

ptaylor March 30, 2020 10:43AM

Re: Alignment problem with afni_proc.py Attachments

joy0617 April 02, 2020 04:12PM

Re: Alignment problem with afni_proc.py

ptaylor April 02, 2020 07:02PM

Re: Alignment problem with afni_proc.py Attachments

ptaylor April 03, 2020 10:27AM

Re: Alignment problem with afni_proc.py Attachments

joy0617 April 03, 2020 11:24AM

Re: Alignment problem with afni_proc.py

ptaylor April 03, 2020 12:01PM

Re: Alignment problem with afni_proc.py Attachments

ptaylor April 04, 2020 12:09PM

Re: Alignment problem with afni_proc.py

joy0617 April 05, 2020 01:25PM

Re: Alignment problem with afni_proc.py Attachments

joy0617 March 29, 2020 12:03PM