Top Banner
fMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data • Examples 1 light year = 5,913,000,000,000 miles? Before After
17

FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

fMRI: Biological Basis and Experiment DesignLecture 20: Motion compensation

• Rotation matrices• Effects on data• Examples

1 light year = 5,913,000,000,000 miles?

Before

After

Page 2: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Rotation matrices

cos( ) sin ( )

-sin( ) cos( ) R =

r = (x,y)r' = R r r'

x

yTwo-dimensional rotation:

Page 3: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

An aside: matrix multiplication

y = Ax

A1,1 A1,2 A1,3 ... A1,n

A2,1 A2,2 A2,3 ... A2,n

A3,1 A3,2 A3,3 ... A3,n

. . .Am,1 Am,2 Am,3 ... Am,n

A is an [m x n] matrix:

x1,1 x1,2 x2,1 x2,2

x3,1 x3,2

. . .xn,1 xm,2

x is an [n x p] matrix:

Page 4: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

An aside: matrix multiplication

A1,1 A1,2 A1,3 ... A1,n

A2,1 A2,2 A2,3 ... A2,n

A3,1 A3,2 A3,3 ... A3,n

. . .Am,1 Am,2 Am,3 ... Am,n

y is [m x p]

x1,1 x1,2 x2,1 x2,2

x3,1 x3,2

. . .xn,1 xm,2

x =

n

jjjxA

11,,1

n

jjjxA

11,,2

n

jjjm xA

11,,

n

jjjxA

12,,1

n

jjjxA

12,,2

n

jjjm xA

12,,

x is [n x p]A is [m x n]

Page 5: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Rotation matrices

cos( ) sin ( )

-sin( ) cos( ) R =

r = (x,y)r' = R r r'

x

yTwo-dimensional rotation:

cos( ) sin ( )

-sin( ) cos( )

x

y=

x cos( ) + y sin ( )

-x sin( ) + y cos( ) r' =

Page 6: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Rotation example: 45 degree rotation of r = (1,1)

cos(45 ) sin (45 )

-sin(45 ) cos(45 ) R =

r = (1,1)

r' = R r

= 45x

yTwo-dimensional rotation:

1/2 1/2

- 1/2 1/2

1

1=

1/2 + 1/2

-1/2 + 1/2 r' = =x

2/2

0

r' = (2,0)

Page 7: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Rotation example: parabola (ICE10.m)

Page 8: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Three dimensional rotation

Excerpt from Wolfram MathWorld

Page 9: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Affine transformation

(Wikipedia)

Page 10: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Strong activation affects center of mass calculation

Output of MoCo algorithms

Translation – one scan

Translation – all scans

Page 11: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Effect of MoCo – increased activation size

Before After

Page 12: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Effect of MoCo – voxels maintain identityBefore

After

Page 13: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.
Page 14: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.
Page 15: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Oakes et al., Fig. 1 & 6

Page 16: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.
Page 17: FMRI: Biological Basis and Experiment Design Lecture 20: Motion compensation Rotation matrices Effects on data Examples 1 light year = 5,913,000,000,000.

Interpolation in motion correction

uncorrected corrected