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 22, 2023 07:01PM
These kinds of differences are somewhat expected. Differences in the acquisition protocols make the contrasts different, but the anatomical variability is a bigger effect here, and more than the nonlinear warping can accommodate. While the overall alignment is very good in your images, you can see lots of small areas that don't match completely. The regions transformed from the meticulously placed locations in the native space won't end up exactly on the right locations. There are a couple things you can try though to improve the match.

1. Add -nopenalty option to the nonlinear warping. That allows for more distortion, so that can allow for a better match, but it also allows for more distortion you don't want. @animal_warper uses -extra_qw_opts to pass extra options like that to 3dQwarp to do nonlinear warping.
2. Limit the alignment to the small area you want. This will probably work best as a second set of alignment.The initial affine alignment fits the overall volumes together, so local differences aren't as important. Nonlinear warping is smooth across the whole dataset, so alignment in one part of the brain affects alignment in another part. The neighborhoods used in the nonlinear warping limit part of that interaction, so it's not too bad of an effect, but you can work around this by just aligning a subsection of the dataset. If you start off close from a previous alignment, you should be able to align the data if there is sufficient contrast in both the template and in the subject's image, and you have the approximate part of the template you want.
Subject Author Posted

Macaque warping refinement Attachments

El_suri March 20, 2023 08:15AM

Re: Macaque warping refinement

Daniel Glen March 22, 2023 07:01PM

Re: Macaque warping refinement

RWCox April 07, 2023 07:35AM