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  

|
March 09, 2017 05:58PM
hello AFNI,
after I attended your bootcamp this january, I am trying to align some epi using afni_proc.py. The standard version for resting state does not align them properly, so I have tried different modifications with a bit of preprocessing before inserting the data in afni_proc. This is the script I have used:
3dUnifize -prefix 3danat+orig -input anat.nii.gz -GM
3dcopy rest.nii.gz 3drest+orig
3dWarp -deoblique -prefix rest_warp 3drest+orig
3dSkullStrip -input 3danat+orig -prefix 3danat.ns
@Align_Centers -prefix rest_warpAC -dset rest_warp+orig \
-base 3danat.ns+orig. -cm

# run afni_proc.py
afni_proc.py -subj_id $subj \
-script proc.$subj \
-scr_overwrite \
-blocks despike tshift align tlrc volreg \
-copy_anat 3danat.ns+orig \
-tcat_remove_first_trs 13 \
-dsets rest_warpAC+orig \
-align_opts_aea -cost lpc+ZZ -giant_move \
-anat_has_skull no \
-tlrc_opts_at -OK_maxite \
-volreg_align_to MIN_OUTLIER \
-volreg_align_e2a \
-volreg_tlrc_warp \
-volreg_interp -Fourier

The best results until now appear to be with giant_move and lpc+ZZ options, but it looks like the original image is shifted and its shape it is changed a lot when compared to the original. The dorsal cortex is great, but the inferior temporal lobes seem to be sort of compressed. Actually, for the inferior brain, the tshifted epi seems to better match the anat... this happens for more than one subject, and is a tendency I have seen in other samples too (that's why I prefer to use cost such as crU, when it works). With these results, is it ok to go on with the analysis or should I change something in the script?
Until now I have played with options like blur_fwhm 2 in skullstrip, and different costs (crU, lpa, nmi), -big_move or nothing, cmass, -rigid_body, -check_flip in aea

Thanks for any suggestion!
stefano
Attachments:
open | download - s29543_volreg.png (281.6 KB)
open | download - s29543_tshift.png (273 KB)
Subject Author Posted

alignment with lpc+ZZ giant move Attachments

sted March 09, 2017 05:58PM

Re: alignment with lpc+ZZ giant move

Daniel Glen March 10, 2017 06:06PM

Re: alignment with lpc+ZZ giant move

sted March 13, 2017 08:01PM

Re: alignment with lpc+ZZ giant move

Daniel Glen March 14, 2017 03:49PM

Re: alignment with lpc+ZZ giant move Attachments

Daniel Glen March 15, 2017 06:37PM

Re: alignment with lpc+ZZ giant move

sted March 16, 2017 04:24PM

Re: alignment with lpc+ZZ giant move

sted April 19, 2017 10:33AM