FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute...

44
fMRI Methods Lecture6 – Signal & Noise

Transcript of FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute...

Page 1: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

fMRI Methods

Lecture6 – Signal & Noise

Page 2: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Tiny signals in lots of noise

Rest Pressing hands

Absolute difference

% signal difference

Page 3: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

What’s the signal

The signal we’re really measuring is tiny changes of current induced in our detector coils.

What induces the current?

What makes the signal in a voxel stronger (larger image intensity)?

What is the “signal” we’re really interested in?

Page 4: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

What’s the noise1. Thermal noise

2. System noise

3. Head motion, respiration, heart beat (physiological) noise

4. Hemodynamics variability

5. Neural variability

6. Behavioral/Cognitive variability

Are 5&6 really noise?

Page 5: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Thermal noiseThermal motion of electrons, collisions, random exchange of energy, larger at higher temperatures…

It is generally considered homogeneous and random and so can be reduced by averaging across multiple samples.

It increases linearly with static field strength.

Page 6: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

System noiseVariability in the function of the imaging hardware across space and time.

Static field inhomogeneities Scanner drift

Page 7: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Susceptibility artifactsField inhomogeneities are particularly strong at tissue/air boundaries (sinuses). Increase with field strength.

1.5 T

4 T

Page 8: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Comparing “extrinsic” noise

Thermal and system noise can be measured and estimated using a phantom made of a known material.

Page 9: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Head motionMoving the head during a scan causes two types of noise:

1.Spatial changes throughout the scan.

Page 10: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Head motionSpatial changes can be estimated and fixed by locating brain edges and moving/rotating them appropriately.

Now even done online by the scanner! Rather than post-hoc

Page 11: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Head motion2. Image intensity artifacts in time (intensity “spikes”).

Page 12: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Head motionIntensity artifacts are more difficult to correct.

Can either be “projected out”, interpolated over, or cut out.

What happens when head motion and task are correlated?

Page 13: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Add motion parameters to modelAdd 6 predictors (3 translation and 3 rotation) to the model and hope they “soak” up the relevant variability.

= * + errora1 a2 a3 a4 …

Page 14: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Or project/regress out

Ensure zero correlation between the noise estimate (x) and the data (y).

a = y*x

y(after) = y(before) – a*x

Page 15: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Preventing head motion

Page 16: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Physiological noiseThere are non-neural mechanisms causing hemodynamic or inhomogeneity changes during a scan. Luckily they are periodical…

Page 17: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Respiration artifactsThe lungs create a changing susceptibility artifact, similar to that seen below in the sinuses (stronger in larger fields).

1.5 T

4 T

Only the lungs effect the signal throughout the brain…

Page 18: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Physiological noiseIncreases at higher static magnetic fields for the same reason the signal increases…

Page 19: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Fourier transformDecompose complex signals into sinusoidal components

Frequency

po

we

r

++Temporal domain

Frequency domain

a* b* c*

Frequency

ph

as

e

Page 20: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

++a* b* c*

Temporal filtering

Noise? multiply by zero

Fourier transform

Get rid of very low frequencies (drift, respiration). Others?

Page 21: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Temporal filtering

High pass filter – lets the high frequencies pass, stops the low frequencies.

Low pass filter – lets the low frequencies pass, stops the high frequencies.

Band pass filter – lets a particular range of frequencies through (often by sequentially running a low high and low pass filter).

Page 22: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Hemodynamics variabilityDifferent subjects exhibit different HRFs

Page 23: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Hemodynamics variabilityHRFs vary across sessions

Across brain areas?

Page 24: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Hemodynamics variability

To address this we can estimate the subject’s HIRF in a separate run and use it to model the responses.

Page 25: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Neural variabilityThe brain is never at “rest”, spontaneous neural activity fluctuations are as large as stimulus evoked responses.

Page 26: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Neural variability

Some think the stimulus evoked responses “ride” on top of spontaneous cortical fluctuations, others think stimulus evoked responses replace spontaneous fluctuations.

We typically get rid of them by averaging across multiple trials.

Page 27: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Behavioral/Cognitive variabilityThe more complex an experiment, the more variable the behavioral responses:

1.Subjects can choose different strategies.

2.Changes in attention/arousal (caffeine).

Response time distributions oftwo subjects performing a simple decision task.

Page 28: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Behavioral/Cognitive variability

Again, variability is typically handled by averaging across trials.

However, this variability also offers an opportunity:

Does neural response amplitude predict reactiontime or accuracy?

fMR

I re

spon

se

Reaction time

Page 29: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Intra-subject variabilityFinger tapping task

Page 30: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Intra-subject variabilityGenerate random numbers

Page 31: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Improve SNR by averagingThe main approach to canceling out noise is to average across multiple trials.

This assumes that the neural response is constant (locked to the stimulus/task) and that the noise is randomly distributed.

Are they?

Page 32: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Improve SNR by averaging

Estimating HRF using different trial numbers:

Page 33: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Improve SNR by averaging

Estimating voxel significance using different trial numbers:

Never compare statistics across conditions/groups.

A difference in statistical significance does not equal a difference in signal strength!

Page 34: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Higher fieldsThe signal is dependant on the magnetization of the hydrogen atoms, which increases with field strength (more atoms align with the static field).

The gain in signal is quadratic.The increase in noise is linear.

So the signal/noise ratioscales linearly with scannerstrength.

Page 35: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Higher fieldsStronger signal = finer spatial resolution (smaller voxels).

But remember that we are limited to the resolution of the vasculature. There is already a lot of correlation among neighboring 3*3*3 mm voxels.

Larger susceptibility artifacts.

Shorter T2*

Longer T1

Page 36: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Preprocessing

Standard steps everyone does to reduce noise/variability:

Page 37: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Always look at the raw data

Page 38: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Slice time correction

Slices are acquired during different times within a TR:

Page 39: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Head motion correctionHead motion artifacts are particularly evident at edges:

The movement can generate a large change in image intensity, which can be correlated with the experiment

design.

Page 40: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Head motion correctionTo avoid this sequential TR images are co-registered spatially and estimated head motion parameters are

projected out of the data.

Page 41: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Distortion correctionOne can do a magnetic field mapping to determine

inhomogeneities in the static magnetic field that cause geometric distortions

Page 42: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Temporal filteringExtract the part of the signal that’s related to your task. Or

at least get rid of parts that aren’t (e.g. scanner drift).

Squeeze hand for 20 seconds and then rest for 20 seconds.

Page 43: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

To the lab!

Page 44: FMRI Methods Lecture6 – Signal & Noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.

Open a folder for your code on the local computer. Try to keep the path name simple (e.g. “C:\Your_name”).

Download code and MRI data from:www.dinshi.com

Save Lab6.zip in the folder you’ve created and unzip.

Open Matlab. Change the “current directory” to the directory you’ve created.

Open: “Lab6_Randomization.m” Then continue with: “Lab6_ProjectingOutNoise.m”

Lab #6