csci 6971: image registration lecture 26: bspline transforms april 20, 2004

77
CSci 6971: Image Registration Lecture 26: BSpline Transforms April 20, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware

Upload: vivian

Post on 20-Mar-2016

89 views

Category:

Documents


1 download

DESCRIPTION

CSci 6971: Image Registration Lecture 26: BSpline Transforms April 20, 2004. Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware. Deformable Registration. Deformable Registration. Deformable Transforms. BSplines. Deformable Transformation. y. y. Transform. x. x. Fixed Image. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

CSci 6971: Image Registration Lecture 26: BSpline Transforms

April 20, 2004

Prof. Chuck Stewart, RPIDr. Luis Ibanez, Kitware

Page 2: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 2

Deformable Registration

Deformable Registration

Page 3: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 3

Deformable Transforms

BSplines

Page 4: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 4

Deformable Transformation

y

Fixed Image

Transform

x

y

Moving Imagex

Page 5: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 5

Deformable Transformation

y

Fixed Image

Transform

x

y

Moving Imagex

Page 6: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 6

Deformable Transformation

y

x

Page 7: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 7

Deformable Transformation

y

x

Page 8: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 8

Image Resampling

FixedImage

MovingImage

Transform

Interpolator

ResampleImageFilter

DeformedImage

BSplineTransform

Page 9: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 9

Deformable Transforms

BSplines in Geometrical Terms

Page 10: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 10

BSplines

-2 -1 1 20

Order Zero

Page 11: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 11

BSplines

-2 -1 1 20

Order Zero Piece-Wise

Y = 1

Page 12: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 12

BSplines

Convolution

-2 -1 1 20

Page 13: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 13

BSplines

Area under the product curve

-2 -1 1 20

Page 14: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 14

BSplines

-2 -1 1 20

Page 15: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 15

BSplines

Order One

-2 -1 1 20

Page 16: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 16

BSplines

Order One

-2 -1 1 20

Piece-Wise

Y = ( 1 - X )Y = ( X + 1 )

Page 17: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 17

BSplines

Convolution

-2 -1 1 20

Page 18: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 18

BSplines

Convolution

-2 -1 1 20

Page 19: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 19

BSplines

Order Two

-2 -1 1 20

Page 20: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 20

BSplines

Order Two

-2 -1 1 20

Piece-Wise

Y = ( X – 3/2 )2 / 2

Y = ( 1 – 2 X2 )

Y = ( X + 3/2 )2 / 2

Page 21: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 21

BSplines

Convolution

-2 -1 1 20

Page 22: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 22

BSplines

Convolution

-2 -1 1 20

Page 23: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 23

BSplines

Order Three

-2 -1 1 20

Page 24: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 24

BSplines

Order Three

-2 -1 1 20

Piece-Wise

Y = ( 3X3 - 6X2 + 4 )/6

Y = (2-X)3 / 6Y = (2+X)3 / 6

Y = ( - 3X3 - 6X2 + 4 )/6

Page 25: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 25

BSplines

Interpolatingwith

BSplines

Page 26: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 26

BSplines Interpolation

-2 -1 1 20

Zero Order Nearest Neighbor

Page 27: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 27

BSplines Interpolation

-2 -1 1 20

Zero Order Nearest Neighbor

Page 28: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 28

BSplines Interpolation

-2 -1 1 20

Zero Order Nearest Neighbor

Page 29: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 29

BSplines Interpolation

-2 -1 1 20

Zero Order Nearest Neighbor

Page 30: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 30

BSplines Interpolation

-2 -1 1 20

First Order Linear Interpolation

Page 31: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 31

BSplines Interpolation

-2 -1 1 20

First Order Linear Interpolation

Page 32: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 32

BSplines Interpolation

-2 -1 1 20

First Order Linear Interpolation

Page 33: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 33

BSplines Interpolation

-2 -1 1 20

First Order Linear Interpolator

Page 34: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 34

BSplines Interpolation

-2 -1 1 20

Second Order Quadratic Interpolation

Page 35: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 35

BSplines Interpolation

-2 -1 1 20

Second Order Quadratic Interpolation

Page 36: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 36

BSplines Interpolation

-2 -1 1 20

Second Order Quadratic Interpolation

Page 37: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 37

BSplines Interpolation

-2 -1 1 20

Second Order Quadratic Interpolator

Page 38: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 38

BSplines Interpolation

-2 -1 1 20

Third Order Cubic Interpolation

Page 39: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 39

BSplines Interpolation

-2 -1 1 20

Third Order Cubic Interpolation

Page 40: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 40

BSplines Interpolation

-2 -1 1 20

Third Order Cubic Interpolation

Page 41: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 41

BSplines Interpolation

-2 -1 1 20

Third Order Cubic Interpolator

Page 42: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 42

BSplines

Cubic BSplinesin

Two Dimensions

Page 43: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 43

BSplines in 2D

Tensor Product

Page 44: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 44

BSplines in 2D

Tensor Product

Page 45: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 45

BSplines in 2D

Tensor Product Separable

Page 46: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 46

BSplines in 2D

Support Nodes in Region of Influence

#Nodes = 4N

Page 47: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 47

BSplines in 2D

Interpolation

BSplineGrid

ResamplingGrid

Page 48: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 48

BSplines in 2D

Interpolation

BSplineGrid

ResamplingGrid

Page 49: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 49

Sampling Grid

y

x

Page 50: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 50

BSpline Grid

y

x

BSplineGrid

ResamplingGrid

Page 51: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 51

BSplines Grid & Image Grid

Page 52: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 52

BSplines Grid & Image Grid

BSplineGrid

Page 53: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 53

BSplines Grid & Image Grid

BSplineGrid

ValidRegion

Page 54: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 54

BSplines Grid & Image Grid

BSplineGrid

Page 55: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 55

BSplines Grid & Image Grid

BSplineGrid

ValidRegion

Page 56: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 56

BSplines Interpolation

InterpolatingVectors

Page 57: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 57

Interpolating Vectors

y

x

BSplineGrid

ResamplingGrid

Page 58: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 58

Interpolating Vectors

y

x

BSplineGrid

ResamplingGrid

XCompo-

nents

Page 59: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 59

Interpolating Vectors

y

x

BSplineGrid

ResamplingGrid

XCompo-

nents

Page 60: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 60

Interpolating Vectors

y

x

BSplineGrid

ResamplingGrid

YCompo-

nents

Page 61: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 61

Interpolating Vectors

y

x

BSplineGrid

ResamplingGrid

XCompo-

nents

Page 62: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 62

X Grid

Feeding the BSpline Transform

x

BSplineTransform

Dimension N

NGrid

YGrid

…..Z

Grid

Input Point

Output Point

Page 63: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 63

Array of Parameters

Feeding the BSpline Transform

x

BSplineTransform

Input Point

Output Point

Page 64: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 64

Array of Parameters

Feeding the BSpline Transform

x

BSplineTransform

Input Point

Output Point

x1 x2 x3 x4 x5... y1 y2 y3 y4 y5 ….…. z1 z2 z3 z4….…

Page 65: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 65

Feeding the BSpline Transform

x

BSplineTransform

Input Point

Output Point

x1 x2 x3 x4 x5... y1 y2 y3 y4 y5 ….…. z1 z2 z3 z4….…

x1y1z1 x2y2z2 x3y3z3 x4y4z4 …. xNyNzN Input File

Parameters Array

Page 66: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 66

BSplines Interpolation

Image Resampling

BSpline Warping

Page 67: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 67

Image Resampling

FixedImage

MovingImage

Transform

Interpolator

ResampleImageFilter

DeformedImage

Page 68: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 68

BSplines Interpolation

Original Lena

Page 69: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 69

BSplines Interpolation

Deformed with BSpline Transform

Page 70: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 70

BSplines Interpolation

Original LenaDeformed Lena

Page 71: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 71

Deformable Registration

Image Registration

BSpline Transform

Page 72: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 72

Image Registration Framework

FixedImage

MovingImage

Metric

Transform

Interpolator Optimizer

Parameters Array

Page 73: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 73

BSplines Deformable Registration

Deformed with BSpline Transform

Page 74: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 74

BSplines Deformable Registration

Registered with BSpline Transform

Page 75: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 75

BSplines Deformable Registration

Original Lena

Page 76: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 76

BSplines Deformable Registration

Difference After Registration

Difference Before Registration

Page 77: CSci 6971: Image Registration  Lecture 26:  BSpline Transforms April 20, 2004

Image Registration Lecture 26 77

End

Enjoy ITK !