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  

|
February 15, 2023 11:16AM
Hi, Sam-

You might have already seen these pages, but here is a bit about the D99 v2.0 that you are using:
https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/nonhuman/macaque_tempatl/atlas_d99v2.html
... and we also have some animal MRI processing demos:
https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/nonhuman/macaque_demos/main_toc.html
... that include running both @animal_warper and afni_proc.py on nonhuman primate data (macaques in the current cases, but similar considerations apply to other species, too)---the latter is useful if you have FMRI data.

I assume you got your template and anatomical from the same download (see the first link above for different ways to get the data if you want to be sure), but you can run this command to check that multiple datasets are on the same grid:
3dinfo -same_all_grid -prefix D99_atlas_v2.0.nii.gz D99_template.nii.gz
If they are all on the same grid, you should see five 1s to the left of each filename (each one denoting that a given property does match---see 3dinfo's help about the properties checked).

The command you ran seems fine---indeed, the input T1w volume gets aligned to the base/reference template, and then there are warps created to send any other information from the input T1w space to the template space, as well as vice versa. So you should end up with a warped copy of the atlas in the same space as your input T1w volume.

There should be a QC/ directory in your output that shows various quality control images of processing; those are listed and described in the help, in this section:
https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/programs/@animal_warper_sphx.html#qc-info
and the various output volumes are described here:
https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/programs/@animal_warper_sphx.html#id5

Would you mind sharing one of the alignment images, and point out where the alignment issue(s) are?

Note that a slightly larger version of your command might look like:
@animal_warper                                 \
    -input            my_T1.nii.gz                  \
    -input_abbrev     INPT1               \
    -base             ../Monkey_brains/D99_v2.0_dist/D99_template.nii.gz                  \
    -base_abbrev      D99TEMPL                \
    -atlas_followers  ../Monkey_brains/D99_v2.0_dist/D99_atlas_v2.0.nii.gz                    \
    -atlas_abbrevs    D99ATL                \
    -outdir           test_dir                     \
    -ok_to_exist
... to assign abbreviations for each of the datasets you are inputting, maybe making the output datasets a little more easily recognizable. The "-ok_to_exist" flag is useful if you want to add more data when running it, such as if there were another atlas in that template space.

And welcome to using AFNI!

--pt
Subject Author Posted

D99 atlas registration

El_suri February 15, 2023 10:36AM

Re: D99 atlas registration

ptaylor February 15, 2023 11:16AM

Re: D99 atlas registration Attachments

El_suri February 16, 2023 08:30AM