eleg 479 lecture #8

75
ELEG 479 Lecture #8 Mark Mirotznik, Ph.D. Associate Professor The University of Delaware

Upload: cahil

Post on 22-Feb-2016

53 views

Category:

Documents


0 download

DESCRIPTION

ELEG 479 Lecture #8. Mark Mirotznik, Ph.D. Associate Professor The University of Delaware. Summary of Last Lecture X-ray Radiography. Overview of different systems for projection radiography Instrumentation Overall system layout X-ray sources grids and filters detectors - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ELEG 479 Lecture  #8

ELEG 479Lecture #8

Mark Mirotznik, Ph.D.Associate Professor

The University of Delaware

Page 2: ELEG 479 Lecture  #8

Summary of Last LectureX-ray Radiography

Overview of different systems for projection radiography Instrumentation

Overall system layout X-ray sources grids and filters detectors

Imaging Equations Basic equations Geometrical distortions More complicated imaging equations

Page 3: ELEG 479 Lecture  #8
Page 4: ELEG 479 Lecture  #8

Hounsfield’s Experimental CT

Page 5: ELEG 479 Lecture  #8

Lets look at how CT works!

Page 6: ELEG 479 Lecture  #8

x

y

= xray attenuation of 2.5

= xray attenuation of 5

= xray attenuation of 0

Example

Page 7: ELEG 479 Lecture  #8

l

),0( lg

Our First Projection

Page 8: ELEG 479 Lecture  #8

Our First Projection

l

),0( lg

l

Page 9: ELEG 479 Lecture  #8

l

45o

l

),45( lg o

Rotate and Take Another Projection

Page 10: ELEG 479 Lecture  #8

l

90ol

),90( lg o

Rotate and Take Another Projection

Page 11: ELEG 479 Lecture  #8

l

This is called a sinogram

Page 12: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 13: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 14: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 15: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 16: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 17: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 18: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 19: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 20: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 21: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 22: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 23: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 24: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 25: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 26: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 27: ELEG 479 Lecture  #8

Sinogram

l

This is called a sinogram

Page 28: ELEG 479 Lecture  #8

The sinogram is what is measured by a CT machine. The real trick is how do we reconstruct the unknown image from the sinogram data?

lThis is called a sinogram

Page 29: ELEG 479 Lecture  #8

Radon Transform)ln(),(

o

d

IIlg Given and ),(),( yxyxf

dssysxflg

slsyslsx

))(),((),(

)cos()sin()()sin()cos()(

In CT we measure )ln(),(o

d

IIlg

and need to find ),(),( yxyxf

)cos()sin()()sin()cos()(

))(),((),(

slsyslsx

dssysxflgusing

Page 30: ELEG 479 Lecture  #8

Radon Transform

In CT we measure ),( lg

and need to find ),( yxf

We use

dxdylyxyxflg )sincos(),(),(

Page 31: ELEG 479 Lecture  #8

Reconstruction

dxdylyxyxflg )sincos(),(),(

The Problem

In imaging we measure g(l,) and need to determine f(x,y)

l0

p

g(,l)x

y

f(x,y)

??

Page 32: ELEG 479 Lecture  #8

Back Projection MethodA little trick that almost works!

ObjectBack Projection

Page 33: ELEG 479 Lecture  #8

Back Projection MethodA little trick that almost works!

Object

Back Projection

We do this for every angle and then add together all the back projected images

Page 34: ELEG 479 Lecture  #8

Back Projection MethodStep #1: Generate a complete an image for each projection (e.g. for each angle )

)),sin()cos((),( yxgyxb

Step #2: Add all the back projected images together

These are called back projected images

p

0

),(),( dyxbyxfb

Page 35: ELEG 479 Lecture  #8

Back Projection Method

Kind of worked but we need to do better than this. Need to come up with a better reconstruction algorithm.

Reconstructed ImageOriginal object Reconstructed object

Page 36: ELEG 479 Lecture  #8

Projection-Slice TheoremThis is a very important theorem in CT imaging

First take the 1D Fourier transform a projection g(l,)

dlelglgG ljD

p 21 ),(,(),(

),( lg

Page 37: ELEG 479 Lecture  #8

Projection-Slice TheoremThis is a very important theorem in CT imaging

First take the 1D Fourier transform a projection g(l,)

dlelglgG ljD

p 21 ),(,(),(

Next we substitute the Radon transform for g(l,)

dldxdyelyxyxfG lj p 2)sincos(),(),(

dxdylyxyxflg )sincos(),(),(

Page 38: ELEG 479 Lecture  #8

Projection-Slice TheoremThis is a very important theorem in CT imaging

First take the 1D Fourier transform a projection g(l,)

dlelglgG ljD

p 21 ),(,(),(

Next we substitute the Radon transform for g(l,)

dldxdyelyxyxfG lj p 2)sincos(),(),(

dxdylyxyxflg )sincos(),(),(

Next we do a little rearranging

dxdydlelyxyxfG lj p 2)sincos(),(),(

Page 39: ELEG 479 Lecture  #8

Projection-Slice TheoremThis is a very important theorem in CT imagingNext we do a little rearranging

dxdydlelyxyxfG lj p 2)sincos(),(),(

Applying the properties of the delta function

dxdyeyxfG

dxdyeyxfG

yxj

yxj

p

p

sincos2

sincos2

),(),(

),(),(

What does this look like?

Page 40: ELEG 479 Lecture  #8

Projection-Slice TheoremThis is a very important theorem in CT imaging

dxdyeyxfG

dxdyeyxfG

yxj

yxj

p

p

sincos2

sincos2

),(),(

),(),(

What does this look like?

This looks a lot like

dxdyeyxfvuF yvxuj p2),(),(

with )sin(),cos( vu

Page 41: ELEG 479 Lecture  #8

Projection-Slice TheoremThis is a very important theorem in CT imaging

))sin(),cos((),( FG

dxdyeyxfG yxj p sincos2),(),(

So what does this mean?

Page 42: ELEG 479 Lecture  #8

Projection-Slice TheoremThis is a very important theorem in CT imaging

))sin(),cos((),( FG

dxdyeyxfG yxj p sincos2),(),(

Question: So what does this mean?

Answer: If I take the 1D FT of a projection at an angle the result is the same asa slice of the 2D FT of the original object f(x,y)

Page 43: ELEG 479 Lecture  #8

Projection-Slice TheoremThis is a very important theorem in CT imaging

))sin(),cos((),( FG

dxdyeyxfG yxj p sincos2),(),(

So what does this mean?

If I take the 1D FT of a projection at an angle the result is the same asa slice of the 2D FT of the original object f(x,y)

Page 44: ELEG 479 Lecture  #8

Projection-Slice TheoremIf I take the 1D FT of a projection at an angle the result is the same asa slice of the 2D FT of the original object f(x,y)

f(x,y) F(u,v)

2D FT

dlelglgG ljooDo

p 21 ),(),(),(

),( olg o

o

)sin(),cos( vu

uvvu

vu

122 tan,

)sin(),cos(

Page 45: ELEG 479 Lecture  #8

The Fourier Reconstruction Method

Take projections at all angles .Take 1D FT of each projection to build F(u,v) one slice at a time.Take the 2D inverse FT to reconstruct the original object based on F(u,v)

f(x,y) F(u,v)

2D IFT

dlelglgG ljooDo

p 21 ),(),(),(

),( olg o

),(),( 12 Gyxf D

)sin(),cos( vu

Page 46: ELEG 479 Lecture  #8
Page 47: ELEG 479 Lecture  #8

Image Reconstruction Using Filtered Backprojection

t

),( lg

Filter

Backprojection

Page 48: ELEG 479 Lecture  #8

Filtered Back Projection

The Fourier method is not widely used in CT because of the computational issues with creating the 2D FT from projections. However, the method does lead to a popular technique called filtered back projection.

p

p 2

0

sincos2)sin,cos(),( ddeFyxf yxj

In polar coordinates the inverse Fourier transform can be written as

dudvevuFyxf yvxuj p2),(),(

with )sin(),cos( vu

Page 49: ELEG 479 Lecture  #8

Filtered Back Projection

The Fourier method is not widely used in CT because of the computational issues with creating the 2D FT from projections. However, the method does lead to a popular technique called filtered back projection.

p

p 2

0

sincos2)sin,cos(),( ddeFyxf yxj

In polar coordinates the inverse Fourier transform can be written as

with )sin(),cos( vu

From the projection theorem ))sin(),cos((),( FG

p

p 2

0

sincos2),(),( ddeGyxf yxjWe can write this as

Page 50: ELEG 479 Lecture  #8

Filtered Back ProjectionThe Fourier method is not widely used in CT because of the computational issues with creating the 2D FT from projections. However, the method does lead to a popular technique called filtered back projection.

p

p 2

0

sincos2),(),( ddeGyxf yxjWe can write this as

Since ),(),( p lglg you can show

p

p 0

sincos2),(),( ddeGyxf yxj

which can be rewritten as

p

p 0 )sin()cos(

2),(),( ddeGyxfyxl

lj

Page 51: ELEG 479 Lecture  #8
Page 52: ELEG 479 Lecture  #8

Filtered Back Projectionverses Back Projection

p

p 0 )sin()cos(

2),(),( ddeGyxfyxl

lj

)),sin()cos((),( yxgyxb

p

0

),(),( dyxbyxfb

A. Back Projection

B. Filtered Back Projection

dlelglgG ljD

p 21 ),(,(),(

Page 53: ELEG 479 Lecture  #8

Filtered Back Projection MethodThis always works!

Object

Digital Filter1) take 1D FFT of projection2) multiply by ramp filter3) take 1D inverse FFT4) make a back projection

Filtered Back Projection

Page 54: ELEG 479 Lecture  #8

Filtered Back Projection MethodAlways works!

Object

Digital Filter1) take 1D FFT of projection2) multiply by ramp filter3) take 1D inverse FFT4) make a back projection

Filtered Back Projection

Page 55: ELEG 479 Lecture  #8

Filtered Back Projection MethodAlways works!

Object

Digital Filter1) take 1D FFT of projection2) multiply by ramp filter3) take 1D inverse FFT4) make a back projection

Filtered Back Projection

We do this for every angle and then add together all the filtered back projected images

Page 56: ELEG 479 Lecture  #8

Filtered Back Projectionverses Back Projection

p

p 0 )sin()cos(

2),(),( ddeGyxfyxl

lj

)),sin()cos((),( yxgyxb

p

0

),(),( dyxbyxfb

A. Back Projection

B. Filtered Back Projection

dlelglgG ljD

p 21 ),(,(),(

Matlab DemoYour Assignment(b) Write a matlab function that reconstructs an image

using the filtered back projection method

Page 57: ELEG 479 Lecture  #8

Convolution Back Projection

It may be easier computationally to compute the inner 1D IFT using a convolution

p

p 0 )sin()cos(

2),(),( ddeGyxfyxl

lj

From the filtered back projection algorithm we get

)()()()( 212111 xfxfFFD recall

p

0)sin()cos(

11 )(),(),( dlgyxf

yxlD

Page 58: ELEG 479 Lecture  #8

Convolution Back Projection

p

0)sin()cos(

11 )(),(),( dlgyxf

yxlD

Let

p

0)sin()cos(

11

)(),(),(

)()(

dlclgyxf

lc

yxl

D

Page 59: ELEG 479 Lecture  #8

Convolution Back Projection

The problem is p delc ljD

211 )()(

does not exist

p

0)sin()cos(

11

)(),(),(

)()(

dlclgyxf

lc

yxl

D

Page 60: ELEG 479 Lecture  #8

Convolution Back Projection

The problem is p delc ljD

211 )()(

does not exist

p

0)sin()cos(

11

)(),(),(

)()(

dlclgyxf

lc

yxl

D

The solution p deWWlc ljD

211 )())(()(~

where )(W is called a weighting function

p

0

)(~),(),( dlclgyxf

p deWWlc ljD

211 )())(()(~

Page 61: ELEG 479 Lecture  #8

Convolution Back Projection

Common window functions

Hamming window Lanczos window (sinc function) Simple rectangular window Ram-Lak window Kaiser window Shepp-Logan window

p

0

)(~),(),( dlclgyxf

p deWWlc ljD

211 )())(()(~

Page 62: ELEG 479 Lecture  #8

• Incorporated linear array of 30 detectors

• More data acquired to improve image quality (600 rays x 540 views)

• Shortest scan time was 18 seconds/slice

• Narrow fan beam allows more scattered radiation to be detected

Page 63: ELEG 479 Lecture  #8
Page 64: ELEG 479 Lecture  #8
Page 65: ELEG 479 Lecture  #8

• Number of detectors increased substantially (to more than 800 detectors)

• Angle of fan beam increased to cover entire patient– Eliminated

need for translational motion

• Mechanically joined x-ray tube and detector array rotate together

• Newer systems have scan times of ½ second

Page 66: ELEG 479 Lecture  #8
Page 67: ELEG 479 Lecture  #8

2G3G

Page 68: ELEG 479 Lecture  #8

Ring artifacts

• The rotate/rotate geometry of 3rd generation scanners leads to a situation in which each detector is responsible for the data corresponding to a ring in the image

• Drift in the signal levels of the detectors over time affects the t values that are backprojected to produce the CT image, causing ring artifacts

Page 69: ELEG 479 Lecture  #8

Ring artifacts

Page 70: ELEG 479 Lecture  #8

• Designed to overcome the problem of ring artifacts

• Stationary ring of about 4,800 detectors

Page 71: ELEG 479 Lecture  #8

• Designed to overcome the problem of ring artifacts

• Stationary ring of about 4,800 detectors

Page 72: ELEG 479 Lecture  #8

• Developed specifically for cardiac tomographic imaging

• No conventional x-ray tube; large arc of tungsten encircles patient and lies directly opposite to the detector ring

• Electron beam steered around the patient to strike the annular tungsten target

• Capable of 50-msec scan times; can produce fast-frame-rate CT movies of the beating heart

Page 73: ELEG 479 Lecture  #8

• Helical CT scanners acquire data while the table is moving• By avoiding the time required to translate the patient table, the total scan time

required to image the patient can be much shorter• Allows the use of less contrast agent and increases patient throughput• In some instances the entire scan be done within a single breath-hold of the

patient

Page 74: ELEG 479 Lecture  #8
Page 75: ELEG 479 Lecture  #8

Computer Assignment1. Write a MATLAB program that reconstructs an image from its projections using

the back projection method. Your program should allow the user to input a phantom object and a set (e.g. vector) of projection angle. Your program should then: (a) compute the sinogram of the object (you can use Matlab’s radon.m command to do this), (b) compute the reconstructed image from the sinogram and vector of projection angles, (c) try your program out for several different objects and several different ranges of projection angles

2. Do the same as #1 using the filter back projection method.

3. (grad students only) Do the same with the convolution back projection method