hst.582j / 6.555j / 16.456j biomedical signal and image ... signal... · medical image registration...

59
MIT OpenCourseWare http://ocw.mit.edu HST.582J / 6.555J / 16.456J Biomedical Signal and Image Processing Spring 2007 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

Upload: others

Post on 21-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

MIT OpenCourseWare http://ocw.mit.edu HST.582J / 6.555J / 16.456J Biomedical Signal and Image ProcessingSpring 2007 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

Page 2: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Medical Image Registration IHST 6.555

Lilla Zöllei and William Wells

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Harvard-MIT Division of Health Sciences and TechnologyHST.582J: Biomedical Signal and Image Processing, Spring 2007Course Director: Dr. Julie Greenberg

Page 3: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 2

The Registration Problem

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 4: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 3

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

The Registration Problem

Page 5: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 4

The Registration Problem

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 6: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 5

Applications

multi-modality fusion (intra-subject)time-series processing

e.g.: fMRI experiments, cardiac ultrasoundwarping across patients (inter-subject, uni-modal)warping to / from atlas for anatomical labelingimage-guided surgery:

modeling tissue deformation,comparing pre- and intra-operative scans,…

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 7: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

final

Spring 2007 HST 6.555 6

The Registration Problem

Tinit

T

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 8: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

value Optimization algorithm

Spring 2007 HST 6.555 7

Medical Image Registration

Medical image data sets

Transform (move around)

score motion parameters

initial

Compare with objective function

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 9: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 8

Roadmap

� Data representation � Transformation types � Objective functions

� Feature/surface-based � Intensity-based

� Optimization methods � Current research topics

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 10: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 9

Data Representation

z

y

x

object Object represented as a function � example:

coordinates Æ intensity

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 11: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

x1 ’ Spring 2007 HST 6.555 10

� f(x): space Æ intensity

Data Representation x2

� representation of “moved” object x1

( ') = ( ( ')) x2’g x f T x

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 12: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 11

Data Representationx2

� focus on a feature f ( )x = f� before motion: 0 0

� after motion( ') =

x0

f ? x1� What value of x0’ : g x0 0

( ( 0 ' = 0f T x )) f −1 x0’ T x( ') = x x ' = T (x )0 0 0 0 x2’

� Feature of f0 now is located at T −1( ) x0

⇒ motion of object is T −1(.) x1’

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 13: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Optimization algorithm value

Spring 2007 HST 6.555 12

Medical Image Registration

Medical image data sets

Transform (move around)

score motion parameters

initial

Compare with objective function

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 14: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 13

Space of transformations

Data dimensions Example

2D-2D cardiac ultrasound, x-ray patient repositioning, histology – MRI, …

3D-3D MR/MR, MR/CT, CT/CT, PET-MR, …

2D-3D X-ray/CT, fluoroscopy-CT, surface model/video

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 15: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 14

Class of transformations

� What motions or distortions are allowed to merge datasets? � Rigid Transformations: � displacement� rotation & displacement

� Non-Rigid Transformations:� parametric� affine� piecewise-affine� ….

� non-parametric

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 16: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 15

Displacement onlyT x( ) x D ≡ +

� 2D: 2 parameters � 3D: 3 parameters

� For example:

⎡ ⎤ ⎡ ⎤ ⎡ ⎤ ⎛ ⎡ ⎤ ⎡ ⎤ ⎡ ⎤ x ⎞ x D ⎜⎛ x1

⎟⎞ x1 D1

1 1 1 ⎢ ⎥ ⎢ ⎥ ⎢ ⎥T ⎜ ⎟ = + T x2 ⎟ = x2 + D2⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎜x x D ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎝ ⎣ ⎦ ⎣ ⎦ ⎣ ⎦ 2 ⎠ 2 2

⎝⎜ x3 ⎠

⎟ x3 D3⎢ ⎥ ⎢ ⎥ ⎢ ⎥⎣ ⎦ ⎣ ⎦ ⎣ ⎦

in 2D in 3D

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 17: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 16

Rigid Motion ( ) ≡ ( ) + DT x R x

� both rotations and displacements are allowed � length-preserving transformation � order of transformations does matter!

� 2D: 3 parameters; 3D: 6 parameters � for example: in 2D (non-linear in θ)

T x( ) = Rx + D R: valid rotation matrix

R =⎢⎡cosθ −sin θ

⎥⎤ RT R = 1 and R = +1

⎣sin θ cos θ ⎦

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 18: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

� in 3D: rotate by θ about axis N̂

� if q is a unit quaternion, such that q = ⎜⎛ cos θ ; N̂ sin θ ⎟

⎞ ⎝ 2 2 ⎠

⎛ q2 + q2 − q2 − q2 2(−q q + q q ) 2( q q + q q ) ⎞0 1 2 3 0 3 1 2 0 2 1 3

R=⎜ 2(q q + q q ) q2 − q2 + q2 − q2 2( −q q + q q ) ⎟ ⎜ 0 3 2 1 0 1 2 3 0 1 2 3 ⎟ ⎜ ⎟⎝2(−q q0 2 + q q 3 1) 2( q q0 1 + q q 3 2 ) q0

2 − q12 − q2

2 + q32 ⎠

Horn, B.K.P., Closed Form Solution of Absolute Orientation using Unit Quaternions, Journal of the Optical Society A, Vol. 4, No. 4, pp. 629--642, April 1987.

Spring 2007 HST 6.555 17

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 19: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 18

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Non-rigid transformations� Parametric� affine � piecewise-affine � others

� Non-parametric

Page 20: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 19

Affine Transformation ( ) ≡ ( ) + DT x M x

� M: square matrix � beyond rigid motion, allows shears and scaling � preserves notion of parallel lines

� 2D: 6 parameters � 3D: 12 parameters

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 21: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 20

� 2D affine: ⎛ ⎡ ⎤ ⎡ x1 ⎞ m11 m12 ⎤ x1 D1⎡ ⎤ ⎡ ⎤

T ⎜ ⎟ = +⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ x m m x D⎣ ⎦ ⎣ 2 21 22 ⎦ 2 2⎝ ⎠ ⎣ ⎦ ⎣ ⎦

OR ⎤ x⎛ ⎡ ⎤ ⎡ x ⎞ m m D ⎡ ⎤1 11 12 1 1

⎢ ⎥ ⎢ ⎥ ⎢ ⎥T ⎜⎜ x2 ⎟

⎟ = m21 m22 D2 x2 linear form⎢ ⎥ ⎢ ⎥ ⎢ ⎥⎜ 1 ⎟ 0 0 1 1 ⎢ ⎥ T X = X⎢ ⎥ ⎢ ⎥ ( ) Q⎝ ⎣ ⎦ ⎣ ⎦⎠ ⎣ ⎦

homogeneous coordinate

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 22: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

3

Spring 2007 HST 6.555 21

� 2D affine: determined by control points

Y Y Y Q X X X = 1 = 1 [

1 3 2Y QX 2 ] [ 1 3 ]Y QX =[ ][ ]−1= Q Y Y Y X X X 2 2 1 2 3 1 2 3

Y QX Y1= 3 3

X1

(if the inverse exists)

X3 Y2X2 Y

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 23: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 22

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

� Affine transformation for other points:determined by motion of control points

⎡ y1 ⎤ ⎡ x1 ⎤X ⎢ ⎥ ⎢ ⎥ ⎢ y2 ⎥ = Q ⎢x2 ⎥ ⎢ 1 ⎥ ⎢ 1 ⎥⎣ ⎦ ⎣ ⎦ Y

Page 24: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 23

Piecewise affine � 2D example: � subdivide space of X into triangles � use different affine transformation for each

triangle (determined by vertices…)

-e.g.: some use in breast registration

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 25: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 24

Other Parametric Transformations � Finite element models

� engineering methods to simulate mechanical / electrical systems (discretization of the space; integral problem formulation turned into system of linear equations)

� Spline models � Thin-plate splines, B-splines, Cubic splines

Fred Bookstein, Morphometric Tools for Landmark Data : Geometry and Biology http://www.iog.umich.edu/faculty/bookstein.htm

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 26: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

S. Timoner: Compact Representations for Fast Non-rigid Registration of Medical Images (MIT PhD`03)

Spring 2007 HST 6.555 25 Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 27: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 26

S. Timoner: Compact Representations for Fast Non-rigid Registration of Medical Images (PhD`03)

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 28: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

IEEE TMI, VOL. 20, NO. 7, JULY 2001

© 2000 IEEE. Courtesy of IEEE. Used with permission.

Spring 2007 HST 6.555 27

Non-parametric models� Continuum mechanics � elastic solid models, fluid transport, …

G. E. Christensen* and H. J. Johnson: “Consistent Image Registration.”

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 29: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 28

© 2000 IEEE. Courtesy of IEEE. Used with permission.

Christensen, G. E., et al. “Large-Deformation Image Registration using Fluid Landmarks.”Image Analysis and Interpretation 2000, Proceedings of 4th IEEE Southwest Symposium, pp. 269 -273

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 30: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 29

Medical Image Registration

Medical image data sets

Transform (move around)

Compare with objective function

Optimization algorithminitial value

motion parameters

score

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 31: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 30

Objective functions� measure how well things are lined up � assumption: the input datasets (U,V) are related to

each other by some transformation T � define: energy function to be optimized

E= ( ( ), ( ( ))) f U x V T x

� 2 main styles: ¾ feature- or surface-based ¾ intensity-based

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 32: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 31

Feature-based measures

� compute alignment quality based upon the agreement of 2 sets of landmark features

� assumption: � landmarks visible in both images � they can be reliably located and � they can guide the alignment of the whole

image

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 33: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 32

Surface-based measure

� a simple measure of

discretized curve points

2min xi − y j = ∑C 2 (xi )j i

min x − y jj

yi chamfer function / distance transform

alignment

( )

i

y

E

C x

=

xi

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 34: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 33

Chamfer function

curve

C(x): distance to nearest point on curve

∃ fast way to calculate C(x) on a grid

1 2 3 … C(x) =

G. Borgefors. Hierarchical chamfer matching: a parametric edge matching algorithm. IEEE Trans. on Pattern Analysis and Machine Intelligence, PAMI- 10(6):849-865, November 1988

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 35: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

� if structure is missing, not a robust measure of alignment; large penalties may swamp the measure x

C xy '( ) ≡ min( 0 , y ( ))

• “robust chamfer matching” Alternative solution:

not close to any point on y

y

d C x (penalty saturates)

Spring 2007 HST 6.555 34

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 36: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

35

� feature-based techniques used at the BWH: � laser data patient skin in MR � locater data

� similar methods pioneered by � Charles Pelizzari (Dept Radiation Oncology, U.

Chicago) � “Head in Hat” – MR-SPECT/PET registration; extract

surfaces of heads; register the surfaces

Page 37: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 36

Intensity-based measures

� compute alignment quality based upon the intensity profiles of the input images

� no landmark or feature selection is necessary

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 38: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 37

SSE and correlation (I)� SSE: sum of squared errors

2E=∑ U ( ) − ( ( )) T xx Vi ixi

⎡U x + ( ( )) x ⎤= ( ) − 2 ( ) ( ( )) U x V T x V T∑⎣ 2

i i i 2

i ⎦xi

� 1st term: no dependency over T; 3rd term contributes a constant* ⇒ equivalent problem:

' U ( ) ( ( )) V T xE ≡∑ xi i ⇒ classical correlation xi

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 39: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 38

SSE and correlation (II)

� For translation only: T(x) = X + D

E ' = U ( ) ( x∑ xi V i + D) xi

Convolution ⇒ can use Fourier methods…

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 40: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 39

SSE and correlation (III)

� CAVEAT: problems can surface if some structure is missing or extra-large quadratic penalties can swamp the measure

2E =∑ U ( ) −V T ( ( )) xi xixi

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 41: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 40

More robust measures (I)

� SAV: summed absolute value

( ) = U x i −V T x iE x ∑ ( ) ( ( )) xi

� Amy Gieffers, 6A HP Andover*: cardiac ultrasound registration � *later Agilent, later Phillips

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 42: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

More robust measures (II)� Saturated SSE

penalty saturates

( ) =∑min (d U x i −V T x iE x , ( ) ( ( )) 2 ) xi

Spring 2007 HST 6.555 41

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 43: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 42

Multimodal inputs…

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 44: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 43

Multimodal Inputs

� correlation fails for multi-modal registration when intensities are different; e.g.: MR-CT

� one solution: ⇒ apply a special intensity transform to the MRI

to make it look more like CT; then compute the correlation measure e.g.: Petra Van Den Elsen

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 45: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

MR-CT situation

bone

white matter fat

CT gray matter CSF

air

MR

Spring 2007 HST 6.555 44

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 46: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 45

Histograms

Data

1.4

3.4

1.0 3.0

1.3 1.6

1.0

10.0

1.2 Bins or buckets

0 1 2 3 4 5 6 7 8 9 10 11

Counts: 0 6 0 3 0 0 0 0 0 0 1 Rel. frequency: 0 6

10 0 3 10 0 0 0 0 0 0 1

10

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 47: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 46

Histogram Joint Intensity of Images

Images: histogramU V

1 2 1 1 2 1 1 2 1

3

2

2 2 2 3 3 3 2 2 2

VY Y 1 2 UX X

intensities relative freq.

Joint intensities:

(1,2)(2,2)(1,2)(1,3)(2,3)(1,3)(1,2)(2,2)(1,2)

2 9

4 9

1 9

2 9

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 48: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

aligned

Spring 2007 HST 6.555 47

MRI & CT pairs

misaligned slightly misaligned

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 49: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 48

Joint histogram: MRI & CT registered

MRI MRI

CT CT

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 50: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

CT CTCorrect registration Slight mis-registration

Spring 2007 HST 6.555 49

Joint histogram: MRI & CT; slightly off

MRIMRI

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 51: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 50

Joint histogram:MRI & CT; significantly off

MRIMRI

CT CTCorrect registration Significant mis-registration

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 52: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

entropy: ( ( ))H p x ≡ −∑ ( )p x 2log ( ( ))p x e.g.: x

predictable coin --no uncertainty, biased coin --

fair coin --lowest entropy moderate uncertainty,moderate entropy most uncertain,

highest entropy

p

1

0

.5

H T H T H T

Spring 2007 HST 6.555 51

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 53: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

2 2

Spring 2007 HST 6.555 52

V

Examples of joint intensity distributions

1 4

1 4

1 4

1 4

V

1 6

1 6

1 6

1 6

1 6

1 6

U U

H = log (4) H = log (6)

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 54: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 53

“Real” CT-MR registration:3D starting position

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 55: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

CT-MR registration final result

Spring 2007 HST 6.555 54

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 56: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 55

CT-MR registration movie

From: Wells, W. M., et al. "Multi-modal Volume Registration by Maximization of Mutual Information."Medical Image Analysis 1, no. 1 (March 1996): 35-51. ��Courtesy Elsevier, Inc., http://www.sciencedirect.com. Used with permission.

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 57: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 56

Registration by minimization of joint entropy

≅ Alignment by maximization of mutual

information� Viola, PhD 1995 � Pluim, PhD 2001 � many more papers (2002: more than 100) � West Fitzpatrick et al 1998 JCAT � …clear winner MR/CT…

…also good for MR/PET…

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

.

Page 58: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 57

� Chuck Meyer et al. (Radiology Dept, U Mich.) � Non-rigid mutual information registration � Thin-plate spline warp model � Downhill simplex optimizer � rat brain auto-radiograph ↔ CT

� breast MRI ↔ breast MRI

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].

Page 59: HST.582J / 6.555J / 16.456J Biomedical Signal and Image ... Signal... · Medical Image Registration Medical image data sets Transform (move around) score motion parameters initial

Spring 2007 HST 6.555 58

END

Cite as: Lilla Zöllei and William Wells. Course materials for HST.582J / 6.555J / 16.456J, Biomedical Signal and Image Processing, Spring 2007.MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].