1 of 150

Tomographic Reconstruction

CS 754

Ajit Rajwade

2 of 150

Aim of Tomographic Reconstruction

  • It is the task of reconstructing a 2D image (object) from its 1D projections, or a 3D image (object) from its 2D projections.

  • What is a projection (also called tomographic projection)?

  • It is defined as the Radon transform of the image in a particular direction (see next slide).

2

3 of 150

Aim of Tomographic Reconstruction

  • Involves estimation of inner structural details of an object (eg: internal organs of a person) as opposed to just the surface (as in photographic imaging).

CT scan of a person’s lung

4 of 150

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 α.

5 of 150

Reconstruction from the Radon Transform

  • The Radon transform computation can be similarly repeated for multiple angles.

  • The aim of tomographic reconstruction is to reconstruct the 2D image from a collection of its 1D projections in different angles.

5

6 of 150

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)

7 of 150

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

8 of 150

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).

9 of 150

Introduction

  • Given projections in K different directions, we can hope to reconstruct the original image by performing back-projection along all these directions, and adding up the results.
  • Back-projection refers to smearing the 1D projection back across the 2D image, i.e. duplicating the 1D signal across the image in a direction opposite to the direction of projection.
  • The shape of the object will be approximated better and better as K increases.

9

10 of 150

10

Even with many (32) back-projections, there is a blur artifact in the reconstruction. This is called as a “halo effect”.

11 of 150

Reconstructing 3D objects

  • A 3D object is illuminated with X-Ray beams to produce a projection which is a 2D-image.
  • Changing the direction of the X-ray beam will produce another image. This set of images when back-projected will yield the 3D volume/object.
  • However in olden Computed Tomography (CT), each slice of the volume is measured at a time. A slice is a 2D entity obtained by cutting the 3D volume transversely through a plane parallel to the XY plane.
  • This allows for the employment of a smaller number of detectors at a time, for the same resolution of the measurement.

11

12 of 150

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

13 of 150

Tomography and medical imaging

  • Tomography is useful in medical imaging, because different tissues (eg: tissues in the bone, lungs, etc.) attenuate the X-rays to different extents.
  • This allows for good medical diagnosis.

13

14 of 150

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 of 150

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 of 150

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

17 of 150

Newer advancements

  • Today’s scanners follow cone-beam or helical CT geometry.
  • A large stack of slices (a sub-volume) is imaged via such cone beams from different directions.
  • The entire sub-volume is reconstructed at a time.
  • The object may be moved in a perpendicular fashion to image other sub-volumes.
  • The reconstruction of different sub-volumes will be stitched/merged together.

17

18 of 150

Aim of Tomography

  • To estimate the full 3D structure of an object from its projections.
  • The projections are directly measured, the 3D structure is estimated.
  • Applications: medical imaging, industrial applications such as fault detection in machines, observation of plant roots, remote sensing (observation of underground objects or phenomena), seismology, geology.

18

19 of 150

Representing Projections

  • The complete set of projections for several different values of the parameters ρ and ϴ gives:

  • This is called the Radon Transform of f. Its discrete version is:

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

20 of 150

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”):

ρ

θ

21 of 150

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 of 150

22

Sinogram (a radon transform plotted as an image in a (ρ,ϴ) grid.

23 of 150

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 of 150

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!

25 of 150

Fourier transform of the Radon Transform

  • The Radon transform is given as:

  • Its 1D Fourier transform w.r.t. ρ (keeping ϴ fixed to some value) is given by:

25

G(μ, ϴ) is the Fourier transform of the projection of f(x,y) along some direction ϴ.

26 of 150

Fourier transform of the Radon Transform

  • Its 1D Fourier transform w.r.t. ρ (keeping ϴ fixed) is given by:

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 of 150

27

The Projection Slice Theorem or the Fourier Slice Theorem states that the following two are equivalent:

  1. Project a 2D object along a certain direction d. Take its 1D Fourier Transform called as F1.
  2. Compute the 2D Fourier transform of the same object. Take a slice of this Fourier transform along a direction parallel to d (but in the frequency plane). Call this slice as F2.

Now F1 = F2.

28 of 150

Filtered Back-projection

  • Consider the 2D inverse Fourier transform of F(u,v), giving us:

  • Consider u = μ cos(Ѳ), v = μ sin(Ѳ). Then:

28

Note: we are doing a change of variables from (u,v) to (μ,Ѳ). Hence du dv = μ dμ dѲ.

29 of 150

Filtered Back-projection

  • By projection slice theorem, this becomes:

  • Further simplification will give the following (see next slide)

29

30 of 150

Filtered Back-projection

30

?

31 of 150

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!

μ

|μ|

32 of 150

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:

33 of 150

Filtered Back-projection algorithm: version 1

  • The X-Ray or CT machine gives you projections (i.e. Radon transforms) of the data in different directions.
  • Perform simple back-projection to get a 2D image.
  • Find the 2D Fourier transform of the back-projected 2D image, multiply it with (u2+v2)^0.5 and find the 2D inverse Fourier Transform of the product.

33

34 of 150

Filtered Back-Projection

  • In practice, the ramp filter is multiplied in the frequency domain by a windowing function (equivalent to convolution with the corresponding kernel in the spatial domain).

  • It has the advantage of controlling some amount of noise as it band-limits the ramp filter.

  • The simplest windowing function is a rect filter in the frequency domain.

  • This formula is called the Ramachandran Lakshminarayanan (Ram-Lak) filter.

34

35 of 150

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 of 150

36

Ram-Lak filter with Hamming window

Ram-Lak filter

37 of 150

Filtered Back-projection algorithm: version 2 (faster)

  • Compute the 1D Fourier transform of each projection of the object (the projections are measured by the X-Ray or CT machine).
  • Multiply each Fourier transform by the ramp filter |μ| multiplied by a windowing function (such as rect, or Hamming).
  • Obtain the 1D inverse Fourier transform of the result.
  • Sum up over all such results (one each per projection angle) from the previous step to give the final image.

37

38 of 150

38

Using backprojection – 180 angles

Using filtered backprojection – 180 angles (Ram-Lak filter)

39 of 150

Tomography in MATLAB

  • The 2D Radon transform can be computed in MATLAB using the function radon.

  • Filtered back-projection with a choice of various filters – Ram-Lak, Hamming, Hanning, etc., is implemented in MATLAB in a function called iradon.

  • 3D transforms generally work slice by slice for parallel beam projections and are implemented in toolboxes written by various authors: https://web.eecs.umich.edu/~fessler/code/index.html

39

40 of 150

Tomography and Compressed Sensing

  • In most tomography applications, the number of angles of projection is limited due to cost, energy and health considerations.

  • So the problem is of practical interest in the “angle starved” case.

  • Hence tomography can be considered a compressed sensing problem.

40

41 of 150

Tomography and Compressed sensing

  • The filtered backprojection algorithm does not exploit one important property of images – their sparsity or compressibility in standard bases such as DCT.

  • Instead one can use CS principles to frame the tomographic reconstruction problem as follows:

41

Vector created by concatenating 1D projections in various angles

Forward model matrix – representing Radon transform computation in those angles

42 of 150

Tomography and Compressed sensing

  • Instead one can use CS principles to frame the tomographic reconstruction problem as follows:

  • In practice (say while using ISTA), the R matrix is implemented in function handles that invoke the radon function in MATLAB.

  • RT is implemented using iradon.

42

Vector created by concatenating 1D projections in various angles

Forward model matrix – representing Radon transform computation in those angles

43 of 150

Tomography and Compressed sensing

  • The R matrix is too large to store in memory.

  • Likewise the U matrix is never allocated (it is too large to store in memory).

  • Instead a function handle (idct2 or idwt2) is invoked.

  • See more about MATLAB function handles here.

  • Function handles for R, U offer computational speed and do not require too much memory.

43

44 of 150

Tomography and compressed sensing

  • The reconstruction results with CS are generally seen to be consistently superior to those by FBP in the angle-starved case.

  • Next slide shows comparative results: original 240 x 240 cross-sectional images of a walnut (top row), FBP reconstructions (2nd row), CS reconstructions (3rd row) and coupled CS reconstructions (4th row – explained later). All reconstructions with 20 angles.

44

45 of 150

45

46 of 150

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)

47 of 150

Great results, but…

  • The R matrix as defined earlier on, however, is not known to obey the RIP or exhibit low coherence with standard bases.

  • Hence the theoretical treatment of CS for tomography has not been fully established.

47

48 of 150

Augmenting CS for tomography

  • In multi-slice tomographic reconstruction, one can make use of additional redundancy in the data – for instance, the difference between two consecutive slices is sparse.

  • This can be used to improve the tomographic reconstruction quality for the same number of measurements – if one chooses different angles for different slices.

48

49 of 150

Augmenting CS for tomography

  • The objective function (for two consecutive slices) is as follows:

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.

50 of 150

Augmenting CS for tomography

  • See the walnut dataset 3-4 slides earlier for a sample reconstruction to see the advantage of this model.

  • Note that R1 and R2 denote the Radon-based forward models for different angle sets (the number of angles in the two sets may or may not be equal).

50

51 of 150

Tomography under unknown angles

52 of 150

Problem statement

  • The previous algorithms for tomographic reconstruction assumed that the angles of Radon projection were accurately known.

  • In certain applications, this assumption is surprisingly invalid.

  • This is called tomography under unknown angles.

52

53 of 150

Problem statement: Applications

  • Application 1: Patient motion during CT scanning

  • Application 2: Moving insect tomography

  • Application 3: Cryo-electron microscopy/tomography

53

54 of 150

Problem statement: Applications

  • Application 3: Cryo-electron microscopy

  • In this, one collects multiple (nearly) identical samples of a structure (such as a virus/macromolecule) which we wish to image. In fact, we are interested in their complete 3D structure.

  • Each slide contains thousands of macromolecules (i.e. samples) packed in a substrate such as ice.

  • A tomographic projection is obtained by passing an electron-ray beam through all macromolecules, through some angle (usually vertically downward).

54

55 of 150

Problem statement: Applications

  • The electron beam usually destroys the sample, and hence another tomographic projection of a different sample (containing virus particles of the same type) is acquired.

  • The problem is that each virus or macromolecule copy will be oriented randomly, and all the orientations are unknown!

  • To make matters worse, the low power of the electron beam produces measurements that are extremely noisy.

  • In such applications, however several hundred or even thousand projections (all under unknown angles) are acquired.

55

56 of 150

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.

57 of 150

57

58 of 150

58

59 of 150

Steps in Cryo-em microscopy

  • Particle picking from noisy micrographs

  • In some algorithms, similar particles are clustered and averaged to reduce noise

  • Given the series of particle images, we then seek to solve jointly for the angles of projection and the underlying structure

59

60 of 150

Cryo-electron microscopy wins the Nobel!

  • Nobel in Chemistry in 2017

  • More details here below:

https://www.nobelprize.org/nobel_prizes/chemistry/laureates/2017/advanced-chemistryprize2017.pdf

60

61 of 150

Two Different Approaches

  • Moment-based approach

  • Ordering-based approach

  • Approach using dimensionality reduction (similar to ordering-based approach).

61

62 of 150

Moment-based approach

63 of 150

Moment-based approach

  • We shall restrict ourselves to 2D images and 1D tomographic projections although the theory is extensible to 3D images (and their 2D projections)

  • The moment of order (p,q) of an image f(x,y) is defined as follows:

63

64 of 150

Moment-based approach

  • The moment of order (p,q) where k=p+q of an image f(x,y) is defined as follows:

  • Note that there can exist multiple pairs of (p,q) which sum up to k, and these are all called order k image moments.

64

65 of 150

Moment-based approach

  • The order n moment of a tomographic projection at angle θ is defined as follows:

  • Substituting the definition of Pθ(s) into Mθ(n):

65

66 of 150

Moment-based approach: image moments and projection moments

  • Using the binomial theorem, we have:

  • We will use this to derive a neat relationship between the tomographic projection moments and the image moments!

  • See next slide.

66

67 of 150

Moment-based approach: image moments and projection moments

67

Image moment of order

(n-l,l)

68 of 150

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.

69 of 150

Moment-based approach: image moments and projection moments

69

Substituting n = k, with measurements at k+1 different angles.

1

70 of 150

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.

71 of 150

Tomography under unknown angles: rotation ambiguity

  • In the tomography under unknown angles problem, we would know neither the image moments nor the angles of acquisition.

  • In such a case, the underlying image can be obtained only up to an unknown rotation.

  • To understand why, see the next slide.

71

72 of 150

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

73 of 150

A surprising result

  • Given tomographic projections of a 2D image in 8 or more distinct and unknown angles, the image moments of order 1 and 2, as well as the angles can be uniquely recovered – but up to the aforementioned rotation ambiguity.
  • This result is true for almost any 2D image (i.e. barring a set of very rare “corner case” images).
  • This result was proved in 2000 by Basu and Bresler at UIUC in a classic paper called “Uniqueness of tomography with unknown view angles”.
  • In an accompanying paper called “Feasibility of tomography with unknown view angles”, they also proved that these estimates are stable under noise.
  • The proof of the theorem and the discussion of the corner cases is outside the scope of our course.

73

74 of 150

A surprising result

  • In other words, systems of equations of the following form have a unique solution in the angles and the image moments, but modulo the rotation ambiguity:

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.

75 of 150

Tomography under unknown angles: algorithm

  • We can now build an algorithm for the aforementioned problem.
  • Minimize the following objective function in an alternating fashion:

  • Start with a random initial angle estimate
  • (&) Compute the image moments by least squares inversion.

75

Q=#projections

N = max. order of image moments

76 of 150

Tomography under unknown angles: algorithm

  • ($) Next, do an independent brute force search over each angle θi.
  • Repeat the earlier two steps (marked as & and $) until convergence (i.e. Until the estimates of either thetas or the image moments do not change too much)
  • Perform a multi-start strategy for the best possible results – since this cost function is highly nonconvex.

* For every value of θi sampled from 0 to 180, determine the image moments using that value, and hence determine the value of E.

  • Choose the value of θi corresponding to the least value of E.

76

77 of 150

Tomography under unknown angles: algorithm

  • Remember: these angles can be estimated only up to a global angular offset φ which is indeterminate.
  • Following the angle estimates, the underlying image can be reconstructed using FBP.

77

78 of 150

78

Image source: Malhotra and Rajwade, “Tomographic reconstruction with unknown view angles exploiting moment-based relationships”

79 of 150

Summary of moment-based method

  • Advantage: simple, makes direct use of the consistency conditions and works even if the number of angles is small
  • Disadvantage: moments are highly sensitive to noise

79

80 of 150

Ordering-based approach

81 of 150

Approach – the uniform distribution

  • In this approach, the tomographic projections need to be “sorted” – i.e. arranged in order of increasing angles.
  • The method relies on the availability of a large number of tomographic projections – all under unknown angles – but sampled independently from a uniform distribution on a unit circle.
  • Given sufficiently many projections, the angles can be assumed to be equi-spaced.

81

82 of 150

Approach – the uniform distribution

  • The problem reduces to projection association – i.e. matching each projection to one of the angles, sampled evenly from the unit circle.
  • If the angles are spaced sufficiently closely, and the variation of the projections w.r.t. angle, is smooth, then we can employ a nearest neighbour type of heuristic.
  • This algorithm is summarized on the next slide.

82

83 of 150

Algorithm

  • Let us denote the list of available projections as L.
  • Let qi be the i-th tomographic projection and si be the i-th tomographic projection in the sorted list.
  • WLOG, define the orientation of q1 to be 0 and set s1=q1. Delete s1 from L.

  • Find the nearest neighbour of s1 in L as follows:

  • Repeat the earlier two steps with s2.
  • Continue these steps until L is empty.

83

84 of 150

Output of the algorithm

  • At the end of this algorithm, each projection will be associated with an angle at a grid point on the even sampling pattern from 0 to π.
  • Remember: these angles can be estimated only up to a global angular offset φ which is indeterminate.
  • Following the angle estimates, the underlying image can be reconstructed using FBP.

84

85 of 150

Comments on algorithm

  • Note that essentially, each projection is being assigned an angle ranging from 0 to π in steps of π /Q where Q is the number of projections.

  • The aforementioned algorithm is an approximate solution for the well-known travelling salesperson problem in computer science.

  • The role of qreverse is to flip projections whose angles would have been in [π,2π] because g(s,θ+ π)=g(-s,θ) as per the definition of the Radon transform. If the angles were only from 0 to π, this step wouldn’t be required.

85

86 of 150

Comments on algorithm

  • The accuracy of the angle estimate increases as the number of angles increases.
  • Consider the k-th order statistic θ(k), i.e. the k-th largest angle in the sorted sequence.
  • The mean value of this order statistic is πk/Q where Q is the number of angles, assuming uniform distribution of the angles.
  • The variance of this order statistic can be proved to be O(1/Q2).
  • This method also relies on the fact that the angles were uniformly distributed, otherwise the angle grid points will need to be chosen differently – as per the order statistics of the other distribution.

86

87 of 150

Segway: order statistics

  • Consider a set of N numbers {x1, …, xN} drawn from a distribution F(.).
  • Now suppose we sort in increasing order them to produce the sequence x(1), x(2),..., x(N).
  • Then x(1) is called the zero-th order statistic (minimum value), x(2) is called the first order statistic, and so on.
  • The order statistics are random variables in their own right, and hence possess their own distribution, expectation, variance, etc.
  • The expected value of the k-th order statistic for a uniform distribution is k/N given N numbers from the uniform distribution.
  • For more details, see https://en.wikipedia.org/wiki/Order_statistic

87

88 of 150

Unknown shifts

  • Usually, the projection angles are unknown, but so are the projection shifts – due to uncontrolled translation of the object being imaged.
  • However the unknown shifts can be solved for using a pre-processing step that assumes that the object is surrounded by vacuum.
  • The tomographic projections can be normalized such that their centroid lies at the origin.
  • The projection ordering step is performed later.

88

89 of 150

Using dimensionality reduction

90 of 150

Description of approach

  • In principle, this method is similar to the ordering-based approach.
  • However instead of doing pairwise searches, a dimensionality reduction step is applied.
  • Each tomographic projection qi (under unknown angles) can be regarded as a high-dimensional vector. There are Q tomographic projections in all.
  • A dimensionality reduction method is applied to reduce their dimensionality to two (details later), i.e. qi is mapped to yi=(φ1i, φ2i).

90

91 of 150

Description of approach

  • Consequently the tomographic projection qi will get mapped to the angle:

  • These angles are then used for creating an ordering.
  • Given the ordering, the order statistics of the angle distribution is used to assign angles, prior to FBP-based reconstruction.
  • This is similar to the nearest neighbor based technique.

91

92 of 150

Which method of dimensionality reduction?

  • We need a method of dimensionality reduction which “preserves the neighbourhood structure” of the original high dimensional points.
  • In order words, if qi and qj were close, their lower-dimensional projections yi and yj should also be close.
  • To define “closeness” mathematically, consider the following proximity matrix W:

92

Higher values for Wij means qi and qj are nearby in the Euclidean sense. Lower values means qi and qj are far apart.

93 of 150

Which method of dimensionality reduction?

  • Let the lower-dimensional projections be in 1D for now, i.e. each yi is a scalar.
  • To determine the projections, we now optimize the following:

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.

94 of 150

Which method of dimensionality reduction?

  • So this becomes a constrained minimization problem:

  • The constraint is to prevent the trivial solution y = 0.

  • The trivial solution can also be prevented by imposing a unit norm constraint on y, however the one used in the equation above assigns greater importance to points which are “popular”, i.e. for which the D value is high.

94

95 of 150

Which method of dimensionality reduction?

  • Another trivial solution exists: one where y contains all equal entries.

  • Such a y corresponds to an eigenvector with 0 eigenvalue.

  • This solution is undesirable; so after solving the generalized eigenvalue problem, the eigenvector with eigenvalue 0 is just discarded.

  • This can be interpreted as removal of translation in y. Read pages 6 and 7 of the journal paper on Laplacian eigenmaps for more details on this aspect.

95

96 of 150

Which method of dimensionality reduction?

  • So this becomes a constrained minimization problem:

  • The solution to this problem is obtained as follows:

  • This is a generalized eigenvalue problem, and we are interested in the generalized eigenvector y with the smallest generalized eigenvalue (why?).
  • Note: L must be positive semi-definite. If not, ytLy = λ yty < 0, since λ would be a negative eigenvalue. This is impossible as the cost function

must be non-negative.

96

97 of 150

Which method of dimensionality reduction?

  • Now consider that the lower-dimensional points were no longer just in 1D.
  • In such a case, we seek to minimize:

97

98 of 150

Which method of dimensionality reduction?

  • This reduces to a generalized eigenvalue problem, i.e. to finding generalized eigenvectors of the following form, with the lowest eigenvalues:

  • This technique is called “Laplacian Eigenmaps” since the matrix L is called the (graph) Laplacian matrix, which is commonly used in spectral graph theory.

  • This technique is due to Belkin and Niyogi – their NIPS 2003 paper “Laplacian Eigenmaps for Dimensionality Reduction and Data Representation”.

98

99 of 150

Toy example

99

100 of 150

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.

ε

ε

ε

ε

ε

ε

ε

ε

ε

101 of 150

Laplacian Eigenmaps in tomography under unknown angles

  • For each of the Q tomographic projections, create a reversed copy (to take care of angles between π and 2π).
  • Apply Laplacian Eigenmaps to reduce the dimensionality of these tomographic projections to 2, i.e. tomographic projection qi is mapped to yi=(φ1i2i), i.e. angle ϑi = atan(φ1i2i).
  • Sort the tomographic projections as per angles ϑi
  • Reconstruct the image based on angle estimates of the form πi/Q.

101

102 of 150

Results

102

103 of 150

103

104 of 150

Taking care of noise

  • For all three methods (moment-based, ordering-based, as well as based on dimensionality reduction), the tomographic projections presented to the algorithm may be very noisy (in actual applications).

  • They need to be denoised, for optimal performance of the algorithm.

104

105 of 150

Taking care of noise

  • In these applications, the projections are extremely noisy.
  • Prior to the ordering algorithm, a denoising step is required to prevent erroneous ordering.
  • The denoising step can be performed using Principal Components Analysis (PCA).

105

106 of 150

Taking care of noise

  • Assuming a Gaussian noise model, the noise variance can be semi-automatically estimated from the regions in the projections which are completely blank (modulo noise).
  • An algorithm similar to the patch-based PCA denoising (seen in CS 663 last semester) can be employed.
  • Given a small patch in a projection vector, we can find small patches similar to it at spatially distant locations within the same projection vector or in projection vectors acquired from other angles.

106

107 of 150

Use of PCA for denoising

  • This “non-local” principle can be combined with PCA for denoising.
  • Consider a set of clean projections {Ir}, r=1 to P, corrupted by additive Gaussian noise of mean zero and standard deviation σ, to give noisy projection Jr as follows:

Jr = Ir + Nr, Nr ~ Gaussian distribution of mean 0 and standard deviation σ.

  • Given each Jr, we want to estimate Ir, i.e. we want to denoise Jr.

107

108 of 150

Use of PCA for denoising

  • Consider a small p x 1 patch – denoted qref - in some Js.
  • Step 1: We will collect together some L patches {q1,q2,…,qL} from {Jr }, r = 1 to R, that are structurally similar to qref – pick the L nearest neighbors of qref .
  • Note: even if Js is noisy, there is enough information in it to judge similarity if we assume σ << average intensity of the true projection Is.
  • Step 2: Assemble these L patches into a matrix of size p x L. Let us denote this matrix as Xref.

108

109 of 150

Use of PCA for denoising

  • Step 3: Find the eigenvectors of Xref Xref T to produce an eigenvector matrix V.
  • Step 4: Project each of the (noisy) patches {q1,q2,…,qL} onto V and compute their eigen-coefficient vectors denoted as {α1, α2,…, αL} where αi = VTqi.
  • Step 5: Now, we need to manipulate the eigencoefficients of qref in order to denoise it.

109

110 of 150

Use of PCA for denoising

  • Step 5 (continued): We will follow a Wiener filter type of update:

  • Step 6: Reconstruct the reference patch as follows:

110

Noise variance (assumed known or can be estimated)

Estimate of coefficient squared of true signal

111 of 150

Use of PCA for denoising

  • Repeat steps 1 to 6 for all p x 1 patches from noisy projection vector Js (in a sliding window fashion).
  • Since we take overlapping patches, any given pixel will be covered by multiple patches (as many as p different patches).
  • Reconstruct the final projection by averaging the output values that appear at any pixel.

111

112 of 150

Comments: Use of PCA for denoising

  • Note that a separate eigenspace is created for each reference patch. The eigenspace is always created from patches that are similar to the reference patch.
  • Such a technique is often called as spatially varying PCA or non-local PCA.

112

113 of 150

Patch similarity: Use of PCA for denoising

  • To compute L nearest neighbors of qref, restrict your search to a window around qref.

  • For every patch s within the window, compute the sum of squared differences with qref, i.e. compute: .

  • Pick L patches with the least distance.

113

114 of 150

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.

115 of 150

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 of 150

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 of 150

117

118 of 150

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 of 150

119

120 of 150

120

121 of 150

Use of PCA for denoising

  • We have seen how PCA can be used to denoise individual 1D tomographic projections.

  • But PCA can also be used to denoise sinograms which are 2D signals of the form g(ρ, θ) which consist of a collection of tomographic projections in sorted order of angle of projection θ.

  • In such cases, the patches will be 2D. But other principles remain the same.

121

122 of 150

Tomography under unknown angles: 3D images

  • In this case, the image f is in 3D and each tomographic projection is in 2D.

  • Per Fourier slice theorem, 2D Fourier transform of a 2D projection in direction d is equal to the 2D central slice (with normal vector d) through the 3D Fourier transform of f.

  • But in 3D we actually have some more information – which is absent in 2D!

122

123 of 150

Tomography under unknown angles: 3D images

  • The planes of projection in directions di and dj will intersect in a common line cij.

  • Hence their corresponding central slices through the Fourier volume will also have a common line.

  • The common line can be determined by a search in the Fourier space (or even in the original spatial domain)!

123

124 of 150

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.

125 of 150

The 3D case

  • Consider the following equation:

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

126 of 150

The 3D case

  • We see that

  • Consider the common lines c12, c23, c31 for 3 viewing directions d1, d2, d3. Then we have

126

127 of 150

The 3D case

  • The matrix C is rank 3 in the case that the common lines are not coplanar.

  • To obtain C from M, we have

127

M will be positive semi-definite with unit diagonal entries

128 of 150

Rotation estimation

  • We have the following relation:

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

129 of 150

Rigid transform estimation

  • (dropping subscript i for convenience)To estimate R:

129

This is called the Orthogonal Procrustes problem.

See here for more details of this solution!

130 of 150

Algorithm

  • For all pairs of directions (di,dj) find the angle φij. Here i,j lie in {1,2,3}.
  • Assemble the matrix B and the matrix M using the knowledge of the angles φij.
  • Use eigen-value decomposition on M to get C and hence {Ci}.
  • Use the SVD method to obtain Ri from Ci and Bi.
  • That gives us the directions of tomographic projection!
  • This algorithm is for a triple of 3 directions.
  • We will later see an algorithm for arbitrarily many (N) directions.

130

131 of 150

Algorithm with N projections

  • We have the following for any pair of projections (i,j):

  • Main objective function:

  • Equivalent form:

131

The constraints are essential, otherwise the trivial solution will collapse all rotations to a 0 matrix.

132 of 150

Algorithm with N projections

  • Define the following:

  • Define the following 3 x 2N matrix as well:

  • Define the following 2N x 2N Gram matrix:

132

3 x N matrix created by concatenating columns of individual rotation matrices

133 of 150

Algorithm with N projections

  • G is clearly a rank-3 positive semi-definite matrix, which can be represented in block form as:

133

134 of 150

Algorithm with N projections

  • Further define 2N X 2N matrix S as follows:

  • S is a symmetric matrix and stores information about the common lines

134

135 of 150

Algorithm with N projections

  • Now consider the objective function:

  • The objective function can be proved to be equal to trace (SG) subject to the same constraints.

  • See next slide for proof.

135

136 of 150

Algorithm with N projections

136

137 of 150

Algorithm with N projections

  • Final objective function:

  • This turns out to be a “semi-definite program”, for which efficient solutions exist in packages such as CVX.

  • R (and hence all rotation matrices) is recovered from a Cholesky decomposition of G.

  • The rank of the estimate G may be more than 3, in which case R is projected onto the subspace spanned by the first three eigenvectors of G.

137

138 of 150

Numerical Results

138

139 of 150

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.

140 of 150

Numerical Results

140

141 of 150

Numerical Results

141

142 of 150

142

143 of 150

Cryo-EM pipeline

  • Cryo-EM reconstruction is typically referred to as “single particle cryo-EM” or SPR.

  • This is so, even though we all know that a “single particle” is not going to be enough – we will have thousands of particles in a single micrograph, and sometimes, we will have multiple micrographs.

143

144 of 150

Cryo-EM pipeline

  • (1) Particle picking

144

145 of 150

Cryo-EM pipeline

  • (2) CTF correction: The micrograph observed is a blurred one, because of the blur induced by the electron microscope.

  • The Fourier transform of the blur kernel is called the contrast transfer function (CTF). Correcting for this is a deblurring problem called CTF correction:

145

146 of 150

Cryo-EM pipeline

  • (3) Particle clustering: The deblurred particles are clustered using any standard technique and then averaged, or sometimes clustering+averaging is performed prior to deblurring (preferable).

  • The averaging reduces a lot of the noise.

  • We start from N particles and arrive at some K cluster centers, K << N.

  • In some techniques, a coarse angle assignment was performed assuming a known reference 3D structure. These techniques however suffer from a model bias (“Einstein from noise” effect :-) ).

146

147 of 150

Cryo-EM pipeline

  • (4) View parameter determination and 3D structure estimation: The 3D rotation and translation parameters are first estimated, followed by FBP.

  • These processes are then repeated in an alternating fashion. The overall cost function is:

147

148 of 150

Cryo-electron tomography

  • Some types of macromolecules tend to occur in a fairly narrow range of orientations.

  • In such cases, 3D reconstruction becomes very difficult due to inadequate filling up of the Fourier space (due to Fourier slice theorem).

  • Hence, in these cases, the slide containing the macromolecules is tilted in 3D space to different positions.

  • Each time, a new micrograph is recorded. This is called cryo-electron tomography.

148

149 of 150

Cryo-electron tomography

  • Note the confusing terminology – in fact, even SPR is a form of tomographic reconstruction.

  • This extra tilting gives rise to new effective orientations, and helps 3D reconstruction.

  • Caveats: the SNR is now poorer because the beam power must be reduced.

  • Sometimes, the tilting causes the macromolecules to move a little, and hence some motion correction needs to be performed.

149

150 of 150

Cryo-electron tomography

  • The tilting is typically done in increments of 0.5 degrees within a range of +/- 9 degrees.

  • Sometimes, the tilts are bidirectional.

150