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  

|
June 20, 2019 05:11PM
Hi Ruyuan-

PTaylor and I got it working after a few tries. The major thing is to Zeropad your input. Basic flow of our test was to skullstrip your anatomical, zero pad the EPI and then align using 3dAllineate.

@SSwarper -input C1051_SurfVol.nii.gz -base MNI152_2009_template_SSW.nii.gz -subid Subj01 -skipwarp
3dZeropad -I 20 -P 20 -A 5 -prefix epi1_rs.nii.gz epi_mean_test.nii.gz 

#Align anat to EPI
 3dAllineate \
 -base  epi1_rs.nii.gz \
 -input anatSS.Subj01.nii \
 -prefix tmp.anat.aligned.nii.gz \
 -1Dmatrix_save epi1_rs_al_12.1D \
 -cost lpc \
 -final wsinc5 \
 -source_automask -autoweight \
 -twopass \
 -verb

#invert transform
cat_matvec epi1_rs_al_12.1D -I > epi2anat_12.1D

#apply inverted transform
3dAllineate -base C1051_SurfVol.nii.gz -input epi1_rs.nii.gz -1Dmatrix_apply epi2anat_12.1D -prefix epi_aligned.nii.gz



Let us know if you have other questions or troubles!

-PM



Edited 3 time(s). Last edit at 06/20/2019 11:08PM by Peter Molfese.
Subject Author Posted

partial coverage alignment Attachments

ruyuanzhang June 17, 2019 12:29PM

Re: partial coverage alignment

ptaylor June 17, 2019 01:33PM

Re: partial coverage alignment

ruyuanzhang June 17, 2019 03:07PM

Re: partial coverage alignment

ptaylor June 17, 2019 07:39PM

Re: partial coverage alignment

Peter Molfese June 20, 2019 05:11PM

Re: partial coverage alignment

ruyuanzhang June 21, 2019 01:29PM

Re: partial coverage alignment

ptaylor June 21, 2019 01:51PM

Re: partial coverage alignment

Peter Molfese June 21, 2019 02:05PM

Re: partial coverage alignment

ruyuanzhang June 21, 2019 03:11PM

Re: partial coverage alignment

ruyuanzhang June 27, 2019 03:40PM

Re: partial coverage alignment

Peter Molfese June 27, 2019 04:07PM

Re: partial coverage alignment

ruyuanzhang June 27, 2019 04:57PM

Re: partial coverage alignment

Peter Molfese July 01, 2019 10:20AM

Re: partial coverage alignment

ruyuanzhang July 08, 2019 03:36PM

Re: partial coverage alignment

paul.hamilton July 03, 2019 03:40PM

Re: partial coverage alignment

Peter Molfese July 04, 2019 10:29AM

Re: partial coverage alignment

paul.hamilton July 13, 2019 08:27AM

Re: partial coverage alignment

Peter Molfese July 15, 2019 02:42PM

Re: partial coverage alignment

paul.hamilton July 17, 2019 11:31AM

Re: partial coverage alignment

Peter Molfese July 18, 2019 03:47PM

Re: partial coverage alignment

paul.hamilton July 23, 2019 09:34AM

Re: partial coverage alignment

paul.hamilton July 23, 2019 10:31AM

Re: partial coverage alignment

Peter Molfese July 23, 2019 10:46AM

Re: partial coverage alignment

paul.hamilton July 24, 2019 03:39PM

Re: partial coverage alignment Attachments

paul.hamilton August 05, 2019 09:10AM