Tomographic Reconstruction
CS 754
Ajit Rajwade
Aim of Tomographic Reconstruction
2
Aim of Tomographic Reconstruction
CT scan of a person’s lung
Radon transform
4
Imagine a line was drawn through the 2D image in a certain direction α, and you integrated the intensity values along that line.
Now you repeat this for lines parallel to the original one but at different offsets.
Each such summation produces a bin of the tomographic projection.
The collection of bins form a 1D array which is called the tomographic projection or the Radon transform of the object in the direction α.
Reconstruction from the Radon Transform
5
6
Reconstruction of the 3D object is performed from its many 2D Xray projection images, each in a different known direction. This is what happens typically inside a CT machine. The reconstruction quality is better if there are more projection images.
3D object
2D XRay projection image (angle 1)
2D XRay projection image (angle 2)
2D XRay projection image (angle 3)
Where in practice do you see the Radon transform?
7
The image is a simplification of a set of real biological tissues: example, an organ/tumor surrounded by a background consisting of soft, uniform tissue. The set of tissues is bombarded with an X-Ray beam. The tumor has higher rate of absorption as compared to the surrounding tissue.
The degree of absorption of X-Rays at each point is measured by an X-Ray absorption detector. This detector produces a 1D signal whose amplitude/intensity is directly proportional to the extent of absorption.
Any point in the signal = sum of the absorptivity values across the path of a single ray in the X-Ray beam that spatially maps onto that point.
Xray-beam
detector
Where in practice do you see the Radon transform?
8
Xray-beam
detector
Sum-total of the two back-projections
Given the 1D signal (called a projection signal), we try to reconstruct the original 2D image by smearing backwards along the direction of projection. This is called as back-projection.
The 1D signal that was measured is duplicated along the columns of the image to be estimated (see the directions marked in yellow).
Introduction
9
10
Even with many (32) back-projections, there is a blur artifact in the reconstruction. This is called as a “halo effect”.
Reconstructing 3D objects
11
12
I0
X-Ray Image
X
Y
Z
I0 = intensity of the X-ray beam from the source
I = intensity of the X-ray beam as measured by the detector, given by Beer’s law
Tomography and medical imaging
13
14
Given a direction ϴ, the source and detector pair move along that direction in fixed steps (i.e. variation in ρ). The distance between source and detector is constant. At each step, the source sends out an X-Ray beam onto the subject, and the projection value is recorded on the detector and stored in a computer. This process is repeated for several values of ϴ. In the end, we record a single 2D slice. Now, the subject is moved in a direction perpendicular to the plane of the source-detector pair, and another 2D slice is recorded. This is called 1st generation CT.
Source of image: Book by Gonzalez, 3rd edition
15
In second-generation CT, the source sends out an X-ray beam in the form of a cone (also called fan). There are more detectors needed, but fewer translations are required to record a single 2D slice (rotations are needed just as before).
In third-generation CT, the source sends out an X-ray beam in the form of a large cone. The number of detectors is long enough to cover the field of view, so no translations are needed to record a single 2D slice (only rotations are needed).
Source of image: Book by Gonzalez, 3rd edition
16
In fourth-generation CT, there is a large number of detectors arranged in the form of a circle. The source alone rotates.
Source of image: Book by Gonzalez, 3rd edition
Newer advancements
17
Aim of Tomography
18
Representing Projections
19
One single projection vector is obtained with a fixed value of ϴ, but varying ρ.
Dirac delta function
Eqn. of line in “normal form”
Kronecker delta function
Parameterization of a direction/line
20
The direction of projection is denoted L, and dL is an infinitesimally small element along L. L is parameterized as follows (the “normal representation of the line”):
ρ
θ
Example:
21
Since this is a circular object, the projections are identical in all directions. Hence WLOG, we consider theta = 0, due to which the argument to δ gets simplified
Note: there is no closed form for the Radon transform for most functions f(x,y).
22
Sinogram (a radon transform plotted as an image in a (ρ,ϴ) grid.
Back-projection
23
Radon transform: obtained by sampling several different angles
Fix the angle ϴk and for all x and y, compute the value of ρ. Copy g(ρ, ϴk) to hat(f)ϴk(x,y), which is the image obtained when you back-project along angle ϴk.
The back-projection operator is NOT the same as the inverse of the Radon transform! So this does not yield back the true signal f(x,y), but the signal f(x,y) blurred with the kernel (x2+y2)-0.5. More on this a few slides down, when we do filtered back-projection.
24
The blur is a painful consequence of (1) discretization of the angle ϴ, and (2) the inherent blurring with the kernel (x2+y2)-0.5. These images are reconstructed at 0.5 degree changes in ϴ. How do we get rid of this blur? Wait for a few slides!
Fourier transform of the Radon Transform
25
G(μ, ϴ) is the Fourier transform of the projection of f(x,y) along some direction ϴ.
Fourier transform of the Radon Transform
26
The RHS of this equation is a slice of the 2D Fourier transform of f(x,y), i.e. F(u,v), along the angle ϴ in the frequency plane, and passing through the origin
This equation above is called the Projection Slice Theorem or the Fourier Slice Theorem. It states that the Fourier transform of a projection of the 2D object along some direction ϴ (i.e. G(μ, ϴ)) is equal to a slice of the 2D Fourier transform of the object along the same direction ϴ (in the frequency plane), passing through the origin.
27
The Projection Slice Theorem or the Fourier Slice Theorem states that the following two are equivalent:
Now F1 = F2.
Source of image: https://en.wikipedia.org/wiki/Projection-slice_theorem
Filtered Back-projection
28
Note: we are doing a change of variables from (u,v) to (μ,Ѳ). Hence du dv = μ dμ dѲ.
Filtered Back-projection
29
Filtered Back-projection
30
?
Filtered Back-projection
31
This is a 1D Inverse Fourier Transform with an added term |μ| (a ramp filter). But this function is not integrable as |μ| grows unboundedly. Hence the inverse Fourier transform does not exist!
μ
|μ|
Filtered Back-projection versus back-projection
32
This is a 1D Inverse Fourier Transform with an added term |μ| (a ramp filter). But this function is not integrable as |μ| grows unboundedly. Hence the inverse Fourier transform does not exist!
Now suppose that additional term |μ| were absent. We would then obtain simple back-projection:
Filtered Back-projection algorithm: version 1
33
Filtered Back-Projection
34
35
Other windowing functions can also be used!
(eg: Hamming window, which is a truncated cosine). These windowing functions allow lesser ringing artifacts as compared to the rect windowing function.
Ram-Lak filter: ramp multiplied by rect (both in frequency domain)
Freq. domain
36
Ram-Lak filter with Hamming window
Ram-Lak filter
Filtered Back-projection algorithm: version 2 (faster)
37
38
Using backprojection – 180 angles
Using filtered backprojection – 180 angles (Ram-Lak filter)
Tomography in MATLAB
39
Tomography and Compressed Sensing
40
Tomography and Compressed sensing
41
Vector created by concatenating 1D projections in various angles
Forward model matrix – representing Radon transform computation in those angles
Tomography and Compressed sensing
42
Vector created by concatenating 1D projections in various angles
Forward model matrix – representing Radon transform computation in those angles
Tomography and Compressed sensing
43
Tomography and compressed sensing
44
45
46
Original image, size ~ 200 x 200
Reconstructions using FBP (left) and CS (right) using 15 angles (top row), 30 angles (middle row) and 40 angles (bottom row)
Great results, but…
47
Augmenting CS for tomography
48
Augmenting CS for tomography
49
x1
x2
Here x1 and x2 represent two consecutive slices of an organ (each slice is a 2D image), and y1 and y2 represent their tomographic projections expressed as 1D vectors.
Augmenting CS for tomography
50
Tomography under unknown angles
Problem statement
52
Problem statement: Applications
53
Problem statement: Applications
54
Problem statement: Applications
55
56
Such an image is called a micrograph. It contains tomographic projections of each macromolecule, against a background containing only ice. Each such projection image is called a particle.
Steps in Cryo-em microscopy
59
Cryo-electron microscopy wins the Nobel!
https://www.nobelprize.org/nobel_prizes/chemistry/laureates/2017/advanced-chemistryprize2017.pdf
60
Two Different Approaches
61
Moment-based approach
Moment-based approach
63
Moment-based approach
64
Moment-based approach
65
Moment-based approach: image moments and projection moments
66
Moment-based approach: image moments and projection moments
67
Image moment of order
(n-l,l)
Moment-based approach: image moments and projection moments
68
Substituting n = 0, with measurements at one angle.
Substituting n = 1, with measurements at two angles.
Moment-based approach: image moments and projection moments
69
Substituting n = k, with measurements at k+1 different angles.
1
Moment-based approach: image moments and projection moments
70
These equations are called the Helgason-Ludwig consistency conditions (HLCC), and they give relations between image and projection moments.
One can prove that the matrix A is invertible if and only if the projections are acquired at k+1 distinct angles. In fact, unique k+1 angles are necessary and sufficient for estimation of the image moments of order 0 through to order k.
Tomography under unknown angles: rotation ambiguity
71
72
θ1
θ2
θ3
In the first case you took 3 tomographic projections (denoted p1,p2,p3) of an object respectively at three angles θ1, θ2, θ3
φ+θ1
φ+ θ2
φ+ θ3
In the second case you took tomographic projections (denoted q1,q2,q3) of a version of the same object but rotated by φ respectively at three angles φ +θ1, φ +θ2, φ +θ3
In both cases, the corresponding projections will be identical, ie p1 = q1, p2 = q2, p3 = q3! The parameter φ will always be indeterminate – but this is not a problem in most applications
A surprising result
73
A surprising result
74
Image moments
Projection moments
Column vector of image moments of order n
This is the n-th row of a matrix and it represents the linear combination coefficients for moments of order n and at angle θi.
Tomography under unknown angles: algorithm
75
Q=#projections
N = max. order of image moments
Tomography under unknown angles: algorithm
* For every value of θi sampled from 0 to 180, determine the image moments using that value, and hence determine the value of E.
76
Tomography under unknown angles: algorithm
77
78
Image source: Malhotra and Rajwade, “Tomographic reconstruction with unknown view angles exploiting moment-based relationships”
Summary of moment-based method
79
Ordering-based approach
Approach – the uniform distribution
81
Approach – the uniform distribution
82
Algorithm
83
Output of the algorithm
84
Comments on algorithm
85
Comments on algorithm
86
Segway: order statistics
87
Unknown shifts
88
Using dimensionality reduction
Description of approach
90
Description of approach
91
Which method of dimensionality reduction?
92
Higher values for Wij means qi and qj are nearby in the Euclidean sense. Lower values means qi and qj are far apart.
Which method of dimensionality reduction?
93
D is a diagonal weight matrix. y is a Q-element vector containing the 1D projections of each tomographic projection. W is a symmetric matrix.
Which method of dimensionality reduction?
94
Which method of dimensionality reduction?
95
Which method of dimensionality reduction?
must be non-negative.
96
Which method of dimensionality reduction?
97
Which method of dimensionality reduction?
98
Toy example
99
100
On this slide, N refers to the number of nearest neighbors per point (the other distances are set to infinity). The parameter ε for the Gaussian kernel needs to be selected carefully, especially if N is high.
ε
ε
ε
ε
ε
ε
ε
ε
ε
Laplacian Eigenmaps in tomography under unknown angles
101
Results
102
103
Taking care of noise
104
Taking care of noise
105
Taking care of noise
106
Use of PCA for denoising
Jr = Ir + Nr, Nr ~ Gaussian distribution of mean 0 and standard deviation σ.
107
Use of PCA for denoising
108
Use of PCA for denoising
109
Use of PCA for denoising
110
Noise variance (assumed known or can be estimated)
Estimate of coefficient squared of true signal
Use of PCA for denoising
111
Comments: Use of PCA for denoising
112
Patch similarity: Use of PCA for denoising
113
Use of PCA in denoising: why Wiener-like update?
114
Eigen-coefficients of the “true patch”. We are looking for a linear update which motivates this equation.
As the image and the noise are independent
As the noise is zero mean
ni represents a vector of pure noise values which degrades the true patch to give the noisy patch. Its projection onto the eigenspace gives vector ϒi.
Use of PCA in denoising: why Wiener-like update?
115
Since we are dealing with L similar patches, we can assume (approximately) that the l-th eigen-coefficient of each of those L patches are very similar.
116
Reconstruction from noisy projections: notice deterioration at very low SNR and much better performance at higher SNR. Performance is in terms of reconstructed image quality as well as angle estimates. Image taken from here.
117
118
Please see this figure in the context of the previous one. It presents why PCA with 2 components is insufficient and in some sense motivates the use of Laplacian eigenmaps (after denoising using PCA).
119
120
Use of PCA for denoising
121
Tomography under unknown angles: 3D images
122
Tomography under unknown angles: 3D images
123
124
v
u
v
u
Intersection of the planes in the Fourier space leads to a common line. The directions of projection are unknown, but the common line (in the two local coordinate systems) can be found out by searching over pairs of directions in the Fourier space and finding the best match.
ri=F(Rdif)
rj=F(Rdjf)
Central Fourier planes corresponding to directions di and dj
Note: ri and rj are Fourier transforms of the tomographic projections of image f in directions di and dj respectively.
The 3D case
125
Common line in global coordinate system
Common line expressed in local coordinate system of plane of projection in direction di
Angle made by bij with local X axis
Rotation matrix giving the relationship between the global and i-th local coordinate system
Line through ri (in Fourier domain) passing through the origin and making an angle of α with the U axis. See previous slide for definition of ri
The 3D case
126
The 3D case
127
M will be positive semi-definite with unit diagonal entries
Rotation estimation
128
This is a 3 X 2 matrix of common lines for the ith direction expressed in a global coordinate system
This is a 3 X 2 matrix of common lines involving expressed in the i-th local coordinate system
Rigid transform estimation
129
This is called the Orthogonal Procrustes problem.
See here for more details of this solution!
Algorithm
130
Algorithm with N projections
131
The constraints are essential, otherwise the trivial solution will collapse all rotations to a 0 matrix.
Algorithm with N projections
132
3 x N matrix created by concatenating columns of individual rotation matrices
Algorithm with N projections
133
Algorithm with N projections
134
Algorithm with N projections
135
Algorithm with N projections
136
Algorithm with N projections
137
Numerical Results
138
Numerical Results
139
p = proportion of correctly detected common lines. Due to noise in the particle images, the common lines may not be correctly detected.
Numerical Results
140
Numerical Results
141
142
Cryo-EM pipeline
143
Cryo-EM pipeline
144
Cryo-EM pipeline
145
Cryo-EM pipeline
146
Cryo-EM pipeline
147
Cryo-electron tomography
148
Cryo-electron tomography
149
Cryo-electron tomography
150