Basic Physics of Nuclear Medicine/Fourier Methods
Fourier methods are described below in quite general terms. We will see that any waveform can be broken up mathematically into sine waves of different amplitudes and frequencies using the Fourier transform. We will also see that the resulting Fourier Spectrum can be modified to enhance and/or suppress frequencies of interest. The aim of this exercise is to treat the Modulation Transfer Function (MTF) and the filtration stage of the tomographic image reconstruction process in greater detail than previously.
Periodic Functions[edit]
A periodic waveform, is a function which repeats itself regularly over a given interval of time or space. A good example is a sine wave or a square wave. When the waveform fluctuates with respect to time, the wave can be characterised by its frequency (see the figure below), which is defined as the number of cycles passing a given point each second. Frequency is expressed in units of cycles per second, or hertz (Hz). A good example of such a periodic waveform in medicine is the electrocardiogram (ECG).
When the waveform fluctuates with respect to distance (see the following figure), the wave is characterised by its spatial frequency, which is defined as the number of cycles per unit distance, e.g. cycles per mm.
A medical imaging example of this latter type of fluctuation is the Pb bar pattern which is widely used to determine the spatial resolution of an imaging system (see the following figure). In this case, the spatial frequency is expressed in, for example, line pairs per mm, since each section of Pb and its adjacent void is referred to as a line pair.
Fourier Series[edit]
Almost all periodic functions of interest in medical imaging can be represented by a Fourier Series. This approach considers that any periodic waveform can be represented by the sum of a series of sine and cosine waves as follows:
A square wave, for example, can thus be represented by:
where h is the amplitude of the square wave.
The opposite consideration is also true mathematically, i.e. a square wave can be constructed by adding together a large number of sine waves of different frequencies and amplitudes. The addition of the first four terms of equation (1) is demonstrated in the following figure. The first term (sin x) is shown in panel (a), the addition of the second term to the first term is shown in panel (b) and so on. Notice that the fundamental, or first harmonic [panel (a)], has the same frequency as the square wave and that the higher frequencies progressively build up the shape of the square waveform [panels (b)-(d)]. We can conclude that the higher frequencies contribute to the sharpness of the sides of the square wave.
Fourier Spectrum[edit]
The Fourier Series can also be represented as a frequency spectrum. For example, the amplitudes of the frequency components for the square wave in equation (1) are plotted against spatial frequency in the following figure. Note that the Fourier Spectrum can be used to identify the frequencies and amplitudes of the sine waves which contribute to make up a given waveform. Note also that plots of amplitude versus distance are generally referred to as the spatial domain representation, and plots of amplitude versus spatial frequency as the frequency domain representation.
Fourier Transform[edit]
The Fourier transform is an elegant mathematical technique for converting data from the spatial domain to the frequency domain (see the next figure). In other words, the frequencies and amplitudes of the sine waves which make up any waveform can be readily determined by taking the Fourier transform of that waveform.
The Fourier transform is used widely throughout medical imaging, where its applications include:
- determining the spatial resolution of imaging systems,
- spatial localisation in magnetic resonance imaging,
- analysis of Doppler ultrasound signals,
- image filtering in emission and transmission computed tomography.
The Inverse Fourier Transform is the mathematical technique used for coverting data in the opposite direction, i.e. from the frequency domain to the spatial domain - see the following figure:
In conclusion, the Fourier Transform (FT) allows us to identify the component sine waves of a waveform, and the Inverse Fourier Transform (IFT) allows us to construct a waveform from its component sine waves.
Finally, it should be noted that the computation of Fourier Transforms using a digital computer is generally achieved using a special algorithm called the Fast Fourier Transform (FFT).
The Dirac Delta Function[edit]
An interesting case to consider from a medical imaging perspective is the delta function:
The Fourier Transform of the Dirac delta function tells us that it is composed of an infinite number of sine waves, each of the same amplitude. If we begin to broaden this function - as in the following figure - we see that the low frequency sine waves have a high amplitude and that the amplitudes of the sine waves decrease as the spatial frequency increases:
Modulation Transfer Function[edit]
This broadening phenomenon is similar to what happens in medical imaging. We can consider the amplitude versus distance plot in the previous figure to be similar to a:
- density profile through an image of a small hole in a sheet of Pb, or a
- count rate profile through an image of a point source of radioactivity.
This type of plot is called a Point Spread Function (PSF) in medical imaging, and its Fourier Spectrum is called the Modulation Transfer Function (MTF):
A comparison of general and imaging terms used in this field is shown in the following table:
Domain | General Terminology | Imaging Terminology |
---|---|---|
Spatial | Input Function | Point Spread Function (PSF) |
Spatial Frequency | Fourier Spectrum | Modulation Transfer Function (MTF) |
In addition, the MTF may be derived from:
- a Line Spread Function (LSF)
- a differentiated Edge Response Function (ERF).
Symbolically, we can write:
where indicates a convolution operation. In other words, the actual image is obtained when the ideal image is convolved with the PSF of the imaging system.
To restore the ideal image, all that is required theoretically is to remove the effect of the PSF (e.g. attempts to solve imaging problems encountered by the Hubble space telescope). This can be achieved readily using the Fourier transform because the convolution process in the spatial domain is equivalent to a multiplication process in the spatial frequency domain, i.e.
and therefore,
The complete restoration process is referred to as a deconvolution operation and is given by:
Filtering the Fourier Spectrum[edit]
The image restoration process discussed above is an example of Fourier spectrum filtering. In other words, once a Fourier Spectrum has been generated for an image, it can be filtered so that certain spatial frequencies can be modified, e.g. enhanced or suppressed. This filtered spectrum can then be inverse transformed to generate a filtered image with, for example, sharpened or smoothed features - as illustrated in the following figure:
An example is shown in the following figure in the case of a bone scan of the hand. Its 2D FFT is shown in the top right panel. The result of applying a filter which suppresses spatial frequencies below 0.05 cycles/pixel and above 0.3 cycles/pixel, i.e. a bandpass of 3-20 pixels, is shown in the centre row of the figure, while that of a filter which suppresses frequencies below 0.01 and above 0.1 cycles/pixels in shown on the bottom row.
A feature we need to consider in more detail before proceeding is the spatial frequency nature of the image data itself. Remember that images are generally sampled digitally using a square matrix composed of pixels, the size of which dictate how well a digital image approximates its analogue counterpart. The resultant digital spatial resolution places a limit on the maximum spatial frequency that can be accommodated. The criterion usually applied in digital imaging is based on the Nyquist-Shannon Sampling Theorem which implies that:
This sampling frequency is commonly called the Nyquist frequency. At lower sampling frequencies, the resultant digital images can contain artefactual patterns, called Moiré patterns, and the phenomenon is sometimes referred to as aliasing.
Filtered Back Projection[edit]
The streaking inherent in the simple backprojection process makes the actual image appear as if it had been combined mathematically with a 1/r function, where r is the radial distance in the Fourier domain. In filtered backprojection, Fourier filtering can be used to remove the effect of this ^{1}⁄_{r} blurring.
Symbolically, a measured projection can be considered to be the result of a convolution with a blurring function:
The first stage of the filtration process is to calculate the Fourier transform of the measured projection data, i.e.
The corrected projection, P, is then obtained by dividing the FT of the measured projection by FT(^{1}⁄_{r}), and taking the inverse transform of the result, i.e.
The FT(^{1}⁄_{r}) function is simply that of a ramp. In other words, when the FT of the measured projection is calculated and the result is divided by this ramp function, then the corrected projection can be obtained by calculating the IFT of this quotient.
In addition, if some variation is introduced into the FT(^{1}⁄_{r}) function, it is possible to simultaneously correct for this blurring effect and to enhance or suppress features in the back-projected image. For example, the blurring artifact can be removed and, at the same time:
- the fine detail can be enhanced (as in the so-called bone algorithms in X-ray CT), or
- the image noise can be suppressed (as in the so-called soft tissue algorithms in X-ray CT).
In general, variation in the ramp function can be achieved by multiplying it by a second function, e.g. a Butterworth function used in SPECT:
where:
- f_{c}: cut-off frequency, which defines the frequency at which the amplitude drops by 50%, and
- n: the order of the function.
Characteristics of a number of filters used in SPECT imaging are shown in the following table:
Filter | Equation | Comment |
---|---|---|
Ram-Lak | star artifact removal; noise sensitivity | |
Butterworth | noise reduction | |
Metz | noise reduction; contrast enhancement | |
Wiener | noise reduction; contrast enhancement | |
Scramp | noise reduction; contrast enhancement | |
Inverse MTF | noise reduction; contrast suppression | |
Hamming | noise reduction | |
Parzen | noise reduction | |
Shepp-Logan | noise reduction | |
Hann | noise reduction |
The choice of filter for a given image reconstruction task is generally a compromise between the extent of noise reduction and fine detail suppression (and of contrast enhancement in some cases) as well as the spatial frequency pattern of the image data of interest.