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 21, 2020 01:01PM
"The goodness of the alignment should always be assessed visually" !

With this sentence keeping in mind, I am wondering if there is an AFNI method conveniently available in assisting this assessment, particularly with a relatively "big" sample size. For example, I received data from several hundreds of subjects with their alignments of "anat2epi" already completed (done by someone else in the past with align_epi_anat.py), so each subject has a file pair of "epi+orig" and "anat_al+orig". Now I want to check the goodness of these previous alignments, but it is going to be time comsuming considering that each subject also has multiple scanning sessions. In this situation, I am wondering if I can simply skip the alignment procedure in align_epi_anat.py or 3dAllineate but just run their cost functions; something like:

for each subjects
        3dAllineate -skip_alignment -base epi+orig -input anat_al+orig -cost lpa >> cost_file.1D

This would allow me to collect the "cost" values of each subject in the "cost_file.1D"; then I may just visually inspect individuals with a high, say the top 10%, cost value; and if those top costs (worst alignments) can pass my visual inspections, I can reasonably assume that all alignments are fine.

Am I correct? What can I do to realize the option of "-skip_alignment"?
Subject Author Posted

Automatic assessment of the goodness of many alignments

Zhihao_Li March 21, 2020 01:01PM

Re: Automatic assessment of the goodness of many alignments

Daniel Glen March 22, 2020 12:53AM

Re: Automatic assessment of the goodness of many alignments

Zhihao_Li March 22, 2020 10:01PM

Re: Automatic assessment of the goodness of many alignments

Daniel Glen March 23, 2020 03:23PM

Re: Automatic assessment of the goodness of many alignments

Zhihao_Li March 23, 2020 09:55PM

Re: Automatic assessment of the goodness of many alignments

Daniel Glen March 23, 2020 11:14PM