Integrating FreeSurfer and FSL FEAT

Slides:



Advertisements
Similar presentations
Introduction to FreeSurfer
Advertisements

Unbiased Longitudinal Processing of Structural MRI in FreeSurfer Martin Reuter
Seed-based functional connectivity analysis
Basics of fMRI Group Analysis Douglas N. Greve. 2 fMRI Analysis Overview Higher Level GLM First Level GLM Analysis First Level GLM Analysis Subject 3.
Introduction to Functional and Anatomical Brain MRI Research Dr. Henk Cremers Dr. Sarah Keedy 1.
Basics of fMRI Preprocessing Douglas N. Greve
Cortical Reconstruction with FreeSurfer surfer.nmr.mgh.harvard.edu Douglas N. Greve MGH-NMR Center Harvard.
More Registration Techniques
Combined Volumetric and Surface (CVS) Registration FS workshop Gheorghe Postelnicu, Lilla Zöllei, Bruce Fischl A.A. Martinos Center for Biomedical Imaging,
Introduction to FreeSurfer
Function / ROI Viewing in Slicer2 and Slicer3 for fBIRN Data.
Introduction to FreeSurfer
Integrating FreeSurfer and FSL FEAT
Surface-based Analysis: Intersubject Registration and Smoothing
Intro to FreeSurfer Jargon
Anatomical Analysis with FreeSurfer surfer.nmr.mgh.harvard.edu
ROI analyses using FSL March 27, 2013.
-1- Pujol S et al. National Alliance for Medical Image Computing 3D Visualization of FreeSurfer Data Sonia Pujol, Ph.D. Silas Mann, B.Sc. Randy Gollub,
7T Thalamus and MS Studies Jason Su Sep 16, 2013.
1 Hands-On Data Analysis Kate Pirog Revill and Chris Rorden Data from safety training –9 subjects –Finger-tapping task (12s tapping, 12s rest) –188 scans.
Introduction to FreeSurfer surfer.nmr.mgh.harvard.edu
NA-MIC National Alliance for Medical Image Computing DTI Atlas Registration via 3D Slicer and DTI-Reg Martin Styner, UNC Clement Vachet,
Surface-based Group Analysis in FreeSurfer
Diffusion Tensor Imaging: The Nitty Gritty Brought to you by: Meenal and Erica November 2, 2010.
Correction for multiple comparisons in FreeSurfer
Introduction to FreeSurfer
Longitudinal FreeSurfer Martin Reuter
Integrating QDEC with Slicer3 Click to add subtitle.
Statistical Parametric Mapping Lecture 11 - Chapter 13 Head motion and correction Textbook: Functional MRI an introduction to methods, Peter Jezzard, Paul.
National Alliance for Medical Image Computing Core What We Need from Cores 1 & 2 NA-MIC National Alliance for Medical Image Computing.
MINC meeting 2003 Pipelines: analyzing structural MR data Jason Lerch.
Function-Structure Integration in FreeSurfer surfer.nmr.mgh.harvard.edu/docs/ftp/pub/docs/freesurfer.func.pdf.
FEAT (fMRI Expert Analysis Tool)
Multi session analysis using FEAT David Field Thanks to…. Tom Johnstone, Jason Gledhill, FMRIB.
Multimodal Integration surfer.nmr.mgh.harvard.edu
Working with FreeSurfer ROIs surfer.nmr.mgh.harvard.edu
Intro to FreeSurfer Jargon. voxel surface volume vertex surface-based recon cortical, subcortical parcellation/segmentation registration, morph, deform,
Multimodal Integration surfer.nmr.mgh.harvard.edu.
Surface-based Group Analysis in FreeSurfer
Multimodal Integration: DTI/fMRI Integration, Surface Analysis
Surface-based Group Analysis in FreeSurfer
Multimodal Integration: Registration
Group Averaging of fMRI Data
Multimodal Integration and Inter-subject Registration surfer. nmr. mgh
Multimodal Integration surfer.nmr.mgh.harvard.edu
Surface-based Analysis: Inter-subject Registration and Smoothing
Voxel-based Morphometric Analysis
Correction for multiple comparisons in FreeSurfer
Function-Structure Integration in FreeSurfer
Intro to FreeSurfer Jargon
Surface-based Analysis: Intersubject Registration and Smoothing
More Registration Techniques
Seed-based Resting State fMRI Analysis in FreeSurfer
Surface-based Analysis: Intersubject Registration and Smoothing
Multimodal Integration: fMRI Surface and ROI Analysis
Multimodal Integration
Intro to FreeSurfer Jargon
Correction for multiple comparisons in FreeSurfer
NWSI Neuroimaging Web Services Interface
More Registration Techniques
3D Visualization of FreeSurfer Data
Intro to FreeSurfer Jargon
Voxel-based Morphometric Analysis
Seed-based Resting State fMRI Analysis in FreeSurfer
Intro to FreeSurfer Jargon
More Registration Techniques
Voxel-based Morphometric Analysis
Basics of fMRI Analysis: Preprocessing, First-Level Analysis, and Group Analysis thanks to doug greve for designing this talk and making these slides!
Voxel-based Morphometric Analysis
More Registration Techniques
Presentation transcript:

Integrating FreeSurfer and FSL FEAT

Outline Registering FEAT  FreeSurfer Anatomical Automatic (FLIRT) Manual (tkregister2) Surface-based Group fMRI Analysis Individual Analysis Viewing FEAT output on Anatomical Sampling FEAT output on the surface Mapping FreeSurfer Segmentations to FEAT

Registration Template Functional FreeSurfer Anatomical (orig) Note: Registering the template functional volume to the anatomical volume is sufficient to register the template to the surface.

FreeSurfer Registration Your Data/Software fMRI (FSL, etc) EEG/MEG DTI … FreeSurfer Subject-Specific Volumes Surfaces Thickness ROIs Registration Registration Matrix Affine 4x4 As many as 12 DOF (usually 6) Text file

Automatic Registration First: analyze your data with FEAT reg-feat2anat –featdir fbert1.feat –subject bert Uses BBR to perform 6DOF registration: fbert1.feat/example_func.nii.gz $SUBJECTS_DIR/bert/mri/brainmask.mgz Creates FreeSurfer registration matrix: fbert1.feat/reg/freesurfer/anat2exf.register.dat Also creates: fbert1.feat/reg/freesurfer/anat2std.register.dat This matrix maps standard space to anatomical space and can be used when combining data within subject across data sets reg-feat2anat --help

Manual Registration tkregister2 --help reg-feat2anat –feat fbert.feat --manual Visually inspect registration Manually edit registration (6 DOF) Cf Manual Talairach registration tkregister2 --help

Tips Rigid = 6 DOF = No stretching Use CSF to get a sense of where the folds are Avoid using B0 distortion regions Avoid using ventricles Warning about “edge” of the brain Same Subject, Left-Right Flips

Sampling on the Surface White/Gray Pial White/Gray Pial Half Way Average Projection Fraction --projfrac 0.5

Sampling on the Surface

Surface-based fMRI Group Analysis

Surface-based fMRI Group Analysis } Functional COPEs fsaverage S1 R1 Subject 1 S2 R2 Can be compared Voxel-for-voxel Subject 2 S3 R3 Subject 3 … mris_preproc reg-feat2anat recon-all

Surface-based fMRI Group Analysis (One Run) Single Run Analyze with FEAT, No smoothing COPEs are in native functional space Subject1 run1.feat stats cope1.nii

Surface-based fMRI Group Analysis (One Run) run reg-feat2anat Subject1 run1.feat reg stats freesurfer cope1.nii reg-feat2anat anat2exf.register.dat – anatomical–example_func registration

Surface-based Group fMRI Analysis (One Run) mris_preproc --out lh.cope1.nii.gz --target fsaverage --hemi lh --iv bert.feat/stats/cope1.nii.gz bert.feat/reg/freesurfer/anat2exf.register.dat --iv greg.feat/stats/cope1.nii.gz greg.feat/reg/freesurfer/anat2exf.register.dat --iv sally.feat/stats/cope1.nii.gz sally.feat/reg/freesurfer/anat2exf.register.dat --iv pat.feat/stats/cope1.nii.gz pat.feat/reg/freesurfer/anat2exf.register.dat Volumes Registrations lh.cope1.mgh – stack of subjects Can map any functional data, eg, zstat, fzstat, cope, pe, etc fsaverage – defines common space (spherical surface) Group analysis same as with a thickness study: surface smoothing, mri_glmfit, mri_glmfi-sim

Surface-based fMRI Group Analysis (>1 Run) Multiple Runs Analyze each run with FEAT, No smoothing COPEs are in native functional space Subject1 run1.feat run2.feat stats stats cope1.nii cope1.nii

Surface-based fMRI Group Analysis (>1 Run) Merge runs with GFEAT with Fixed Effects GFEAT results are in MNI152 Standard Space Subject1 MNI152 run1.feat run2.feat xrun.gfeat cope1.feat stats stats mean_func.nii stats cope1.nii cope1.nii cope1.nii

Surface-based fMRI Group Analysis (>1 Run) run reg-feat2anat on one run anat2std.register.dat – same across all runs Subject1 MNI152 run1.feat run2.feat xrun.gfeat cope1.feat stats reg mean_func.nii stats cope1.nii freesurfer cope1.nii reg-feat2anat anat2exf.register.dat – anatomical–example_func registration anat2std.register.dat -- anatomical–standard MNI152 space registration

Surface-based fMRI Group Analysis (>1 Run) Verify the registration tkregister2 –mov xrun.gfeat/cope1/mean_func.nii.gz --reg run1.feat/reg/freesurfer/anat2std.register.dat --surf Subject1 MNI152 run1.feat run2.feat xrun.gfeat cope1.feat stats reg mean_func.nii stats cope1.nii freesurfer cope1.nii reg-feat2anat anat2exf.register.dat – anatomical–example_func registration anat2std.register.dat -- anatomical–standard MNI152 space registration

Surface-based fMRI Group Analysis (>1 Run) mris_preproc --out lh.cope1.mgh --target fsaverage --hemi lh --iv bert.gfeat/cope1.feat/stats/cope1.nii.gz bert.feat/reg/freesurfer/anat2std.register.dat --iv greg.gfeat/cope1.feat/stats/cope1.nii.gz greg.feat/reg/freesurfer/anat2std.register.dat --iv sally.feat/cope1.feat/stats/cope1.nii.gz sally.feat/reg/freesurfer/anat2std.register.dat --iv pat.feat/cope1.feat/stats/cope1.nii.gz pat.feat/reg/freesurfer/anat2std.register.dat Volumes Registrations lh.cope1.mgh – stack of subjects Can map any functional data, eg, zstat, fzstat, cope, pe, etc fsaverage – defines common space (spherical surface) Group analysis same as with a thickness study: surface smoothing, mri_glmfit, mri_glmfi-sim

Surface-based fMRI Group Analysis Left Hemi Right Hemi fBIRN Group n=18, working memory, distractor-vs-fix

Individual Subject Integration

Viewing Functional Activation on the Volume tkmedit bert orig.mgz -aux brain.mgz -overlay ./fbert1.feat/stats/zstat1.nii.gz -overlay-reg ./fbert1.feat/reg/freesurfer/anat2exf.register.dat -fthresh 2.3 –fmax 4.3 -seg aparc+aseg.mgz Visual, Auditory, Motor Thresholds depend on the nature of the data, Eg, for zstat image, 2.3 means z > 2.3 Can be changed with View->Configure->FunctionalOverlay Can display any functional data, eg, zstat, fzstat, cope, pe, etc

Volume Viewing Red/Yellow + Blue/Cyan - Seg Opacity ROI Average ROI Count place holder

Viewing FEAT Stats on the Surface tksurfer bert rh inflated -overlay ./fbert1.feat/stats/zstat1.nii.gz -overlay-reg ./fbert1.feat/reg/freesurfer/anat2exf.register.dat -fthresh 2.3 -fmid 3.3 -fslope 1 Visual, Auditory, Motor Can display any functional data, eg, zstat, fzstat, cope, pe, etc

Surface Viewing Red/Yellow +,Blue/Cyan - Parcellation Outline ROI Average ROI Count

Mapping Automatic Segmentations aseg.mgz aparc+aseg.mgz lh.aparc.annot $FREESURFER_HOME/FreeSurferColorsLUT.txt Maps numerical index to ROI name, eg Left-Hippocamus = 17

Mapping Automatic Segmentations aseg2feat --feat fbert.feat –aseg aparc+aseg In the functional FOV, creates: fbert1.feat/reg/freesurfer/aseg+aparc.nii.gz Create Text Summary Table (nvox, mean cope, std cope, etc) mri_segstats --seg fbert1.feat/reg/freesurfer/aparc+aseg.nii.gz --nonempty --ctab-default --in fbert.feat/stats/cope1.nii.gz --sum fbert1.sum.txt Can summarize any functional data, eg, zstat, fzstat, cope, pe, etc

Make and View ROI Make a binary mask of the left putamen: Note: 12 = Left Putamen, see $FREESURFER_HOME/FreeSurferColorsLUT.txt fslmaths ./fbert1.feat/reg/freesurfer/aparc+aseg.nii.gz -thr 12 -uthr 12 ./fbert1.feat/reg/freesurfer/lh.putamen.nii.gz tkmedit bert orig.mgz -aux brain.mgz -overlay ./fbert1.feat/reg/freesurfer/lh.putamen.nii.gz -overlay-reg ./fbert1.feat/reg/freesurfer/anat2exf.register.dat -fthresh 0.5 -seg aparc+aseg.mgz

Practical Data Sensory-motor study Blocked Design (15sec OFF, 15 sec ON) One subject – “bert” Two runs (TR=3, 85 time points) FEAT has been run on both runs (FWHM=5) Combined with GFEAT FFx One-Sample Group Mean (OSGM) Actually, all analysis steps already performed!

Practical Automatic registration (<5 min) Manual registration View FEAT results on subject’s anatomy (aparc+aseg) View FEAT results with tksurfer Map aparc+aseg to Functional Space Verify GFEAT registration View GFEAT results in volume and on surface “Higher-Level” analysis with mri_glmfit Cross-Run Fixed-Effects (FFX), One-Sample Group Mean (osgm)

End of Presentation

Sampling on the Surface: Projection Fraction -0.1 0.0 (white) +0.1 +0.3 +0.5 +0.7 +0.9 +1.0 (pial) +1.1

Step 1: Register Anatomical with Surface Atlas (fsaverage) Native Anatomical Surface Space Surface-based Registration fsaverage Space S recon-all Anatomical Surface in fsaverage Space

Step 2: Register fMRI with Anatomical Native Anatomical Space Native Functional Space Rigid Registration R reg-feat2anat bbregister fMRI in Anatomical Space

Step 3: Combine Steps 1 and 2: mris_preproc Native Anatomical Space Native Functional Space fsaverage Space S R recon-all reg-feat2anat bbregister fMRI in fsaverage Space

Within-Subject, Cross-Run Analysis Analyze each run with FEAT (dataX.feat) Combine runs with GFEAT (standard space) mean_func.nii.gz – avg of example_func in std space Register each run (not .gfeat) with reg-feat2anat. dataX.feat/reg/freesurfer/anat2std.register.dat All runs (X) should be very close Verify the registration tkregister2 –mov data.gfeat/mean_func.nii.gz --reg anat2std.register.dat --surf Use anat2std.register.dat the way you would anat2exf.register.dat