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, 2017 06:39PM
Hi Guys:

So we're in the process of making some anatomy-based ROIs from FreeSurfer segmentation files. We've run our EPI and anatomy data through most of a uber_subject preprocessing pipeline and will ultimately be wanting to do all of our analyses in a standardized space. I had figured that we could just take the aparc_aseg.mgz file that comes out of FreeSurfer and use the cat_matvec transformation matrix on this file to get it to be aligned with the subject anatomy in MNI space.
So we did this and the segmentation file is aligned fine to the anatomy, EPI, and MNI template (which are all aligned with each other well enough). The problem is, we used the following command: 3dallineate -base anat.al_strip+tlrc -input aparcaseg_shft+orig -1Dmatrix_apply mat.r01.warp.aff12.1D -prefix FS-SEG
The anat.al_strip+tlrc file has a grid space of 1x.97x.97 and the aparcaseg_shft+orig file has a grid space of 1x1x1.

So we didn't use the -master or -mast_dxyz flags. The segmentation file should default to the grid space of the anat.al_strip file, is my understanding but instead the normalized segmentation file turns into a 2x2x2 file so it looks really blocky and bad. Is this because we're using the 1Dmatrix we are? I'm not sure how it's transforming into that voxel size.
Would it be kosher to just try align_epi_anat.py on the segmentation file to try to just the segmentation file into MNI space as an alternative? Ultimately we just want a high res segmentation file aligned with the EPI so that we can extract more precise ROI timecourses but as it stands these normalized segmentation files look too coarse to do that.

Thanks for your help.
Subject Author Posted

Aligning FreeSurfer files to normalized Anatomy

lhopkins June 20, 2017 06:39PM

Re: Aligning FreeSurfer files to normalized Anatomy

Peter Molfese June 21, 2017 04:23PM