Presentation is loading. Please wait.

Presentation is loading. Please wait.

FMRI design and analysis Basic designs. MRI studies brain anatomy. Functional MRI (fMRI) studies brain function. MRI vs. fMRI.

Similar presentations


Presentation on theme: "FMRI design and analysis Basic designs. MRI studies brain anatomy. Functional MRI (fMRI) studies brain function. MRI vs. fMRI."— Presentation transcript:

1 fMRI design and analysis Basic designs

2 MRI studies brain anatomy. Functional MRI (fMRI) studies brain function. MRI vs. fMRI

3 neural activity blood oxygen fMRI signal MRIfMRI one image many images (e.g., every 2 sec for 5 mins) high resolution (1 mm) low resolution (~3 mm but can be better) fMRI Blood Oxygenation Level Dependent (BOLD) signal indirect measure of neural activity …

4 fMRI Activation Time Brain Activity Source: Kwong et al., 1992 Flickering Checkerboard OFF (60 s) - ON (60 s) -OFF (60 s) - ON (60 s) - OFF (60 s)

5 fMRI Experiment Stages: Prep 1) Prepare subject Consent form Safety screening Instructions and practice trials if appropriate 2) Shimming putting body in magnetic field makes it non-uniform adjust 3 orthogonal weak magnets to make magnetic field as homogenous as possible 3) Sagittals Take images along the midline to use to plan slices Perhaps the most frequently misspelled word in fMRI: Should have one g, two ts In this example, these are the functional slices we want: 12 slices x 6 mm

6 fMRI Experiment Stages: Anatomicals 4) Take anatomical (T1) images high-resolution images (e.g., 0.75 x 0.75 x 3.0 mm) 3D data: 3 spatial dimensions, sampled at one point in time 64 anatomical slices takes ~4 minutes 64 slices x 3 mm

7 Slice Thickness e.g., 6 mm Number of Slices e.g., 10 SAGITTAL SLICE IN-PLANE SLICE Field of View (FOV) e.g., 19.2 cm VOXEL (Volumetric Pixel) 3 mm 6 mm Slice Terminology Matrix Size e.g., 64 x 64 In-plane resolution e.g., 192 mm / 64 = 3 mm

8 7 Coordinates - Anatomy 3 Common Views of Brain: Coronal (head on) Axial (birds eye), aka Transverse. Sagittal (profile) sagittalcoronal axial

9 fMRI Experiment Stages: Functionals 5) Take functional (T2*) images images are indirectly related to neural activity usually low resolution images (3 x 3 x 6 mm) all slices at one time = a volume (sometimes also called an image) sample many volumes (time points) (e.g., 1 volume every 2 seconds for 136 volumes = 272 sec = 4:32) 4D data: 3 spatial, 1 temporal …

10 Statistical Map superimposed on anatomical MRI image ~2s Functional images Time Condition 1 Condition 2... ~ 5 min Time fMRI Signal (% change) ROI Time Course Condition Activation Statistics Region of interest (ROI)

11 2D 3D

12 Overview Motion correction Smoothing kernel Spatial normalisation Standard template fMRI time-series Statistical Parametric Map General Linear Model Design matrix Parameter Estimates

13

14 Spatial Realignment: Reasons for Motion Correction Subjects will always move in the scanner The sensitivity of the analysis depends on the residual noise in the image series, so movement that is unrelated to the subjects task will add to this noise and hence realignment will increase the sensitivity However, subject movement may also correlate with the task… …in which case realignment may reduce sensitivity (and it may not be possible to discount artefacts that owe to motion) Realignment (of same-modality images from same subject) involves two stages: –1. Registration - estimate the 6 parameters that describe the rigid body transformation between each image and a reference image –2. Reslicing - re-sample each image according to the determined transformation parameters Realignment (of same-modality images from same subject) involves two stages: –1. Registration - estimate the 6 parameters that describe the rigid body transformation between each image and a reference image –2. Reslicing - re-sample each image according to the determined transformation parameters

15 Motion Correction Algorithms Most algorithms assume a rigid body (i.e., that brain doesnt deform with movement) Align each volume of the brain to a target volume using six parameters: three translations and three rotations Target volume: the functional volume that is closest in time to the anatomical image x translation z translation y translation pitchrollyaw

16 Head Motion: Good, Bad,… Slide from Duke course

17 … and catastrophically bad Slide from Duke course

18 Application of registration parameters involves re-sampling the image to create new voxels by interpolation from existing voxels Interpolation can be nearest neighbour (0- order), tri-linear (1st-order), (windowed) fourier/sinc, or nth-order b-splines 2. Reslicing Nearest Neighbour Linear Full sinc (no alias) Windowed sinc

19 Temporal Realignment (Slice-Timing Correction) Most functional MRI uses Echo-Planar Imaging (EPI) Each plane (slice) is typically acquired every 3mm normally axial… … requiring ~32 slices to cover cortex (40 to cover cerebellum too) (actually consists of slice-thickness, eg 2mm, and interslice gap, eg 1mm, sometimes expressed in terms of distance factor) (slices can be acquired contiguously, eg [ ], or interleaved, eg [ ]) Each plane (slice) takes about ~60ms to acquire… …entailing a typical TR for whole volume of 2-3s Volumes normally acquired continuously (though sometimes gap so that TR>TA) 2-3s between sampling the BOLD response in the first slice and the last slice (a problem for transient neural activity; less so for sustained neural activity)

20 Between Modality Co-registration Useful, for example, to display functional results (EPI) onto high resolution structural image (T1)… …indeed, necessary if spatial normalisation is determined by T1 image Because different modality images have different properties (e.g., relative intensity of gray/white matter), cannot simply minimise difference between images Therefore, use Mutual Information as cost function, rather than squared differences… EPI T2 T1Transm PDPET

21 DARTEL: Diffeomorphic Registration (SPM8) Grey matter average of 452 subjects Affine Grey matter average of 471 subjects DARTEL

22 21 Coordinates - normalization Different peoples brains look different Normalizing adjusts overall size and orientation Raw Images Normalized Images

23 Reasons for Smoothing Potentially increase signal to noise (matched filter theorem) Inter-subject averaging(allowing for residual differences after normalisation) Increase validity of statistics (more likely that errors distributed normally) Gaussian smoothing kernel Kernel defined in terms of FWHM (full width at half maximum) of filter - usually ~16-20mm (PET) or ~6-8mm (fMRI) of a Gaussian Ultimate smoothness is function of applied smoothing and intrinsic image smoothness (sometimes expressed as resels - RESolvable Elements) Kernel defined in terms of FWHM (full width at half maximum) of filter - usually ~16-20mm (PET) or ~6-8mm (fMRI) of a Gaussian Ultimate smoothness is function of applied smoothing and intrinsic image smoothness (sometimes expressed as resels - RESolvable Elements) FWHM

24 Overview Motion correction Smoothing kernel Spatial normalisation Standard template fMRI time-series Statistical Parametric Map General Linear Model Design matrix Parameter Estimates

25

26 General Linear Model… Parametric statistics one sample t-test two sample t-test paired t-test Anova AnCova correlation linear regression multiple regression F-tests etc… all cases of the General Linear Model

27 The General Linear Model T-tests, correlations and Fourier analysis work for simple designs and were common in the early days of imaging The General Linear Model (GLM) is now available in many software packages and tends to be the analysis of choice Why is the GLM so great? the GLM is an overarching tool that can do anything that the simpler tests do you can examine any combination of contrasts (e.g., intact - scrambled, scrambled - baseline) with one GLM rather than multiple correlations the GLM allows much greater flexibility for combining data within subjects and between subjects it also makes it much easier to counterbalance orders and discard bad sections of data the GLM allows you to model things that may account for variability in the data even though they arent interesting in and of themselves (e.g., head motion) as we will see later in the course, the GLM also allows you to use more complex designs (e.g., factorial designs)

28 General Linear Model Equation for single (and all) voxels: y j = x j1 1 + … x jL L + j j ~ N(0, 2 ) y j : data for scan, j = 1…J x jl : explanatory variables / covariates / regressors, l = 1…L l : parameters / regression slopes / fixed effects j : residual errors, independent & identically distributed (iid) (Gaussian, mean of zero and standard deviation of σ) Equivalent matrix form: y = X + X : design matrix / model

29 Matrix Formulation Equation for scan j Simultaneous equations for scans 1.. J …that can be solved for parameters 1.. L Regressors Scans

30 A Simple Experiment Intact Objects Scrambled Objects Blank Screen TIME One volume (12 slices) every 2 seconds for 272 seconds (4 minutes, 32 seconds) Condition changes every 16 seconds (8 volumes) Lateral Occipital Complex responds when subject views objects

31 Whats real? A.C. B.D.

32 Whats real? I created each of those time courses based by taking the predictor function and adding a variable amount of random noise = + signal noise

33 Linear Drift Huettel, Song & McCarthy, 2004, Functional Magnetic Resonance Imaging

34 Physiological Noise Respiration every 4-10 sec (0.3 Hz) moving chest distorts susceptibility Cardiac Cycle every ~1 sec (0.9 Hz) pulsing motion, blood changes Solutions gating avoiding paradigms at those frequencies

35 Low and High Frequency Noise Source: Smith chapter in Functional MRI: An Introduction to Methods

36 We create a GLM with 2 predictors fMRI Signal × 1 × 2 = ResidualsDesign Matrix ++ what we CAN explain what we CANNOT explain = + Betasx how much of it we CAN explain our data = + x Statistical significance is basically a ratio of explained to unexplained variance

37 Implementation of GLM in SPM SPM represents time as going down SPM represents predictors within the design matrix as grayscale plots (where black = low, white = high) over time SPM includes a constant to take care of the average activation level throughout each run Time Many thanks to Øystein Bech Gadmar for creating this figure in SPM Intact Predictor Scrambled Predictor

38 Contrasts in the GLM We can examine whether a single predictor is significant (compared to the baseline) We can also examine whether a single predictor is significantly greater than another predictor


Download ppt "FMRI design and analysis Basic designs. MRI studies brain anatomy. Functional MRI (fMRI) studies brain function. MRI vs. fMRI."

Similar presentations


Ads by Google