




























































































Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!





























































































The Fourier Transform (FT) decomposes 1D signals into the sum (alias, expansion ) of sinusoidal functions, alias harmonics.
It was Jean Baptiste Joseph Fourier who, in the second half of 1700, introduced the mathematics underneath of this concept, that is “ all signals/shapes can be expressed by an approximation of harmonic functions ”. It was clear the formalism of Fourier Transform which does consider a continuum of frequencies , as in time we have a continuum of samples. Applications of FT are huge in the analysis of linear systems and periodical phenomena, such as signal/image processing, differential analysis, system/control theory, telecommunication, etc.
Here, we will recall FT application in imaging , where its definition must be extended to 2D and 3D (or, generally to ND). The extension will be immediately understood by focusing the concept of phase of an harmonic (not the initial phase but the current phase value!).
The importance of the FT is due to the fact that:
Of course, the FT has also many other valences in image processing, related to resolution analysis and filtering (smoothing, contour enhancement, etc.).
Figure 1: Representation of what the Fourier Transform is.
The 1D Fourier Transform (1D-FT) of a function !(") is defined as
In this formulation we can see that the Fourier Transform is the integral of a function of x , which can be space or time (but mathematically it doesn't matter) multiplied by the harmonic function , which is a harmonic seen in the complex domain through the Euler’s theorem. This formulation permits as not to struggle separately with the sinus and cosine and to look to frequencies from “minus infinite to plus infinite”, which is better for reasons of symmetry.
Remember that the full notation of #(%) is the following one:
This formulation highlights that the transform argument within braces (=it. parentesi graffe) is the whole function !(") and also that the transform is the function of a different variable '. In other words, we pass from the " domain (time, position, or else) to the frequency domain '. In this formulation, it is explicit that the Fourier Transform is got by the entire function, which is represented within braces, and, whenever needed, it is expressed the fact that the transform itself is no more a function of x that is a function of w. This writing is absolutely cumbersome, used very seldom, only when really is needed to be precise. In favor of shortness, only parts of the full notations are often written, according to the
respective arguments.
Remember that the radian frequency ' [rad/cm] (or [rad/x-unit], if different) is preferred to the frequency! = '/2. [cycles/cm]. In the sake of shortness, “frequency” will often indicate “radian frequency”.
Complex exponential vs. cosine & sine à Euler’s equation Remember also that we prefer the complex exponential expansion instead of that into real cosines (in-phase harmonic, even functions) and sines (quadrature harmonics, odd functions). Euler’s equation assures the relationship between the two formulations of the Fourier Transform:
where /#$^ is a complex number with unit module and phase 0. The relationship between /#$, where j is the phase, and cosine and sine are given by the Euler’s equation (see the formula above). Here we can see that we can represent the cosine as a real part (zero phase) and the sine as the imaginary part (90° phase). This is very clear by looking in the complex plane (Figure 2) at the triangle with the inclination j. Remember that phases are always rotating counterclockwise. Euler’s equation and also the definition of /#$comes from Taylor’s expansion of cosine, which bears the even components, and that of sine, which bears the odd ones. Composed in Euler’s addition, they yield all the Taylor components which characterize the expansion of an exponential with imaginary argument 10.
Just to repeat: if we know, since Fourier, that the f(x) is actually the sum of many /#%&, the inner product with /#%&picks up exactly the harmonic components which are hidden in /#%&, while kills all the other components which are not present. Since /#%&multiplied by /*#%&^ is equal to 1, the value of the Fourier transform is the amplitude (because the coefficient would be 1). The proof of that is given by the formula of the Inverse Fourier Transform (IFT)
Indeed, the inverse Fourier Transform (IFT) allows to reconstruct the function !(") as
The IFT confirms us the meaning of #(') as complex weight (amplitude and initial phase) of the harmonic /#%&; thus, it is the weighted sum of harmonics which composes the original function !(") from its harmonic expansion. In fact, we take the amplitude that we got by the Fourier transform at each w and we multiply it by the complex harmonic /#%&^ and we get back the original function f(x). The correction by 1⁄2. is due to our choice of using the radian frequency ' in [rad/x-unit] instead of frequency in [cycles/x-unit] (Jacobian of the variable change in the integral).
The 1D-FT revisited as in the above pages can be easily extends to N-Dimension. Let’s start with the 2D-FT of planar images. Indeed, any image can be decomposed into spatial frequencies by means of the 2D Fourier Transform (2D-FT), which is useful as it allows to filter an image , to detect objects and edges , to reconstruct images from projections and to process raw magnetic resonance images by the convolution with linear filters. Remember that the 2-dimensional Fourier transform is useful for a lot of things in image processing, mainly for filtering , smoothing or extraction of the contours in the image. While in signal processing the phase of filters is not that much important, in imaging the phase is absolutely important. The Point Spread Function (PSF) of a scanner, which represents the blurring (=loss of resolution) intrinsic to the system, can be conveniently represented by its 2D-FT, which is called Optical Transfer Function (OTF). The modulus of the OTF is called the Modulation Transfer Function (MTF) and it is commonly considered thanks to the symmetry of the PSF.
The Optical Transfer Functions is normally symmetric. The Modulation Transfer Function tells us how we blur or sharpen the image, conversely the Inverse transform of the Modulation Transfer Function is the impulse response (or Point Spread Function).
Figure 3: Representation of the 2D-FT
Always remember that products in the Fourier domain are corresponding to convolution in the space domain and vice versa. So, passing to 2D, we have again a frequency but in two dimensions. We must extend our concept of frequency and this extension is given by having the “ups and downs” in a single direction and a constant frequency in the orthogonal direction. Let’s take a point in the previous image: the phase of that point is defined because we just go orthogonally and then we can read the phase of this harmonic. So, the local phase is defined in the whole plane: we have just to give the frequency of oscillations in the axis orthogonal to crests and valleys and the angle of inclination. Obviously in two dimensions, we need two parameters and, interestingly enough, instead of giving an angle and a frequency, we can give two different parameters which are better expressed in a cartesian plane, which is the 2D Fourier plane.
The 2D harmonics are defined by two variables, which are the frequency ' and the direction of axis 3 with inclination angle 4 , orthogonal to crests and valleys of the sinusoidal oscillations. Note that the lines orthogonal to 3 , 3 = " cos( 4 ) + 5 sin( 4 ), display constant values. Direction t is the direction in which phase 0 = '3 has the fastest increase : if we moved in a different direction, we would “perceive” a slower 1D frequency. Moving orthogonally to t , we find a constant phase 0 , a constant value of the harmonic function (=the” perceived” frequency is null).
Let's look at the frequency along the x axis: if we didn't know that we have oscillations along t, we would measure here a longer period. The same along the Y. Doing these considerations, the representation, as a vector in w , by wx and wy, is just given considering the same angle. This is the strong result: we preserve the angle of the sinusoid, which is the angle orthogonal to crests and valleys, and after that we can consider only the w axis and then represent the Fourier transform of the various frequencies on this axis. Doing that on all the directions, we are filling up the plane reported in the following image and we are getting the Fourier transform of an image.
The 2D-frequency is represented in the 2D-FT domain by a vector 6 that has modulus | 6 | = ' and the same direction 4.
Importantly, ' x and ' y are not 2D frequencies but just the coordinates in the 2D-FT. (e.g., if we wanted a 2D frequency 'x on the " direction, we should specify a vector 6 which is a totally different 2D frequency from the above).
So the orthogonality of two harmonics , differing either in their frequency or their direction, is confirmed : Spatial harmonics are an orthonormal basis. We are now allowed to extend the FT to the ND case, as follows:
Namely, in the 2D case, we have that
Notice that, in the 2D-IFT, we have 4π^2 , which is actually 2* π^2 , because we have to convert the scale of two differentials with the proper Jacobian.
While in the 3D case, we have that
ND-FT computation benefits of the separability of orthogonal directions , which means that it is possible to compute the 1D integral along each axis to obtain the multidimensional FT. This allows to apply the 1D FFT algorithm.
Figure 4: Multiplication of two harmonics with different direction
Also, the multidimensional Fourier Transform has the same properties of the 1D-FT and the equations which are reported are shown for the 2D case.
When we shrink something in one domain, we broaden that it's transforms and vice versa (a short impulse does have a very broadband spectrum, while a long signal does have very low frequencies in the spectrum.
Remember that μ (x,y) is the linear attenuation which is a factor which is a depending on the density of the tissue. Clearly the value of μ is very high in bone, while in the soft tissues is more or less almost that of the water, while in the air, which happens for instance inside the lungs. the attenuation is almost 0. The specific unit of measure which are used to describe the attenuation is the Hounsfield unit , which are relative to the water and air: by convention, the zero is not zero, but it is moved to the density of the water (which is conventionally set to 0) and so, the attenuation of air, which is 0, is set to -1000 HU and what is denser than water has a positive value.
Doing this trick of calibrating towards IO and doing the logarithm, we get a linear integral, which is shown Figure 5, as the passage of a parallel beams in the body and from one side we have a generator of the X-Rays and on the other side we have the sensor or detector of the X Rays, which, in the traditional radiography, is just a photographic film. In this way, we can collect data and get values of projections : if we can back-projects, that is reconstruct the tomographic image, we have the tomographic reconstruction which keeps us the structure inside and we can see the bone, which is typically very dense and white, and the soft tissues which are black.
The 1st commercial scanner was developed thanks to the investments and the support by the Disco House of The Beatles (EMI): this EMI scanner was one of the 1sts and it was specifically dedicated to the head. At that time, when there was a trauma of the head, there was no way to look inside the head and understand if there was a hemorrhage inside the head. The only way was the traditional X-ray which needed to use iodine contrast : this because a displacement of the brain, due to a hemorrhage, could be recognized indirectly only by the displacement of the vessels and so, we need to inject the contrast, which is quite invasive particularly after a head trauma.
To get a tomographic reconstruction, we had to get around the body and be able to reconstruct the tomographic image thanks to the re-composition into a back projection of the projections taken into the many directions. Actually, the information which is carried by a single projection is a somewhat different to that of the image we want to reconstruct because what we have is an integration that does sum up everything and put everything together. In this way, we can recover the punctual information and so, plays correctly the values of linear attenuation inside the image. Since the projections are taken from different directions, it is more natural to display them
projection, and the displacement t from the center of the scanner, or isocenter.
Figure 5: Several parallel projections are collected from many angles of view. This lengthy process was used in 1st generation scanners.
Hence, each ray (projection line $) is characterized by the view angle % and the linear displacement from the scanner rotation axis &:
The notation pL emphasizing just the segment L of integration or P!(t): it is more preferred to put % as an index because we considered various directions and inside that direction, we usually considered various displacement.
As we said before, in CT, the tomographic image to be reconstructed maps the linear attenuation! ( " , # ) = ' ( " , # ) , which is the local density of body tissues: high in bones (> Hounsfield Units, HU), mid in soft tissues, close to water density (0 HU), very low in lungs full of air (−1000 HU).
Actually, the Hounsfield scanner , when it was invented, was something very slow because there was a single X-Ray source which had to move aside and also the detector moved in order to get all the parallel projections: this was the 1st generation concept of computerized tomography (it tooks 5 minutes to get an entire set of projection for just a single slice). Clearly things evolved (It is useless to specify what was the 2nd generation which was, for a very brief period, an intermediate solution) and what is really important is the 3rd generation concept which does mean that the X Ray tub e has a collimation which is no more just a single pinhole to have a single detector hit, but it provides an entire fan of rays (Figure 6). Also, the fan is sufficiently wide that it can cover the whole region of interest, such as the whole body which is inside the gantry.
So, a single rotation of the X Ray tube, with the arch of detectors on the opposite side, is able to cover an entire slice and this is the mechanics which is used mostly used. We have also a 4th generation in which the concept was to move only the X Ray tube because we had an entire ring of detectors , but this solution gave only a modest advantage with respect to a great expense (the advantage was just that we could calibrate the detectors while running the machinery because the coupling between the fan and the detector was continuously changing: we could make comparisons when the fan of Rays did pass through the ring of the detectors (we can't do that in a third generation scanner because the left corner of the fan is always coupled with a specific detector and so, we can't calibrate the detectors during the operation of the scanner)). Remember that this is not really a problem
Figure 6: 3rd generation of CT scanner
along the street, but much less resolution is needed for that. Indeed, we have exactly 2 systems: one for examining the details of an object which goes inferotemporal and the second which is to navigate , which is much faster but beach much less resolution and it goes posterior-dorsum-parietal pathway.
Localization is a different problem than comparison and X Rays are good for both with the same precision because they do triangularization. The X Rays are going absolutely straight (there are scattered X Rays, but those are not forming the image: in fact, the images are formed only by the rays which went perfectly straight). In this way, we may localize very well in absolute terms the position of objects inside the body by triangular rules. The CT is always the reference: if we have an MRI and a CT, we will bring the MRI space into the CT space not vice versa! MRI gives us a lot more information about the contrast of different soft tissues, but the precision of localization , which is needed for navigation, is given by the CT. To focalize the point:
The CT is the real system of reference for navigation because it is composed by straight lines and so, the precision of localization is the same as the resolution (this is not in other systems).
We are using fan beams in the actual generation of CT: actually, we stay on the mathematics of parallel beams as if rays were collected in parallel, but this is the basic to solve the fan beam: in fact, we could easily put that rays in a polar space , as if they were collected in parallel, as in the first generation, just by the so called rebinning because also in the fan beam we can define the angle q , which is not the angle of the X Ray tube, but of that specific X Ray (=the inclination angle or azimuthal angle of that) and its displacement from the isocenter of the scanner.
Let’s now pass to nuclear imaging which gives us the two other ways to get tomography and here we are referring to emission tomography. To get an emission from a body, we have to make it radioactive, and this is done, in a very selective way, by the injections of specific radiotracers (=a biologically active molecule, marked by a radioisotope). Radiotracers tested for clinical use are called radiopharma. Radionuclides are isotopes which are not stable, but they're decaying to another nuclei nature and they are emitting some radiation which can be either gamma photons , and this will lead us to single photon emission tomography (SPECT), or positron, which immediately annihilates with its anti- particles (=electron) emitting 2 gamma rays in opposite directions.
We have to detect the gamma Rays which are electromagnetic waves with a great energy with respect to X-Ray. For instance, one of the most popular radio nuclei in SPECT is technetium 99 metastable , which emits a single photon of 140 KElectronVolts. So, gamma Rays have a lot of energy so that they can pass through the body with almost not attenuation (actually there is some attenuation to be corrected, but is not that much); however, in order to detect them, we need the scintillators, which are crystals of specific
material which can stop the gamma Rays and convert their energy into a bunch of visual band photons, normally blue light. In other words, we have a lamp/flash of light when a gamma photon is stop but, since the energy is so big, the thickness of these detectors must be a lot and so, the resolution , that we can achieve, is limited essentially by the dimension of the scintillator crystals. In the X Rays, we can get much more resolution because the solid detectors, which are the most used nowadays, deal with the energies which are lower, in the order of at maximum 70 kElectronVolts. Instead, the two photons which are emitted after positron emissions are 511 kElectronVolts for each photon and so, we can't do without crystals which have a section of 4 millimeters*4 millimeters and a depth of more than 1 centimeter, which means that the resolution is limited. The nuclear imaging is giving us a lot of very selective information , but normally with poor resolution. Anyway, it's huge what we can do with emission imaging: indeed, a lot of advancements in research were done through radiotracers. At the very beginning, the radio chemistry began to be used to investigate by biological problems even earlier than the existence of scanners. After the administration of the radiotracer, we wait for the concentration of it in the target organs, tissues, or lesions (e.g., tumors or inflammation sites), where we want the evidence (it is a procedure in which we have to limit the DOSE exposure to radioactivity). Next, g -photon emission images are reconstructed to map the radiotracer concentration. Even if many g-photons are missed (only 1/10^4 -1/10^5 emitted photons are detected) nuclear imaging offers high sensitivity. In fact, a 3D image requires order 10^6 -10^7 counted photons, which means 10^10 -10^12 emitted photons (that is decay events). Considering the Avogadro number (6x10^23 ), picomoles or nanomoles of radiotracer are needed.
What we never have here is the problem of toxicity of the molecules that we are delivering to the patient: a lot of times something which is very selective biologically is also very toxic. For instance, the fluorodeoxyglucose is very toxic because it gets inside the mitochondria, which are processing the glucose, but the deoxy glucose is not processed by the mitochondria: so, it's accumulated there and so, it's poisoning the mitochondria. However, the sensitivity is so high to the radioactive emission that the quantities can be very low and so there is no toxic effect, even if the efficiency of capturing the emitted photons can be quite poor 1/10^4 -1/10^5 , but on our side we have the force of the Avogadro number which is 6x10^23 (by a mole, we have 6x10^23 potential guns which are shooting a gamma Ray outside the body and so, we can be really play with picomoles or nanomoles of radiotracer). Remember that the radiotracers are particular molecules which are active metabolically marked by a radionuclide and, to become radiopharma, they must have been tested to be used on humans.
We can talk about Single Photon Emission Tomography (SPECT) if the emission from the body is of a single photon. Remember that both the decay process and the directions of emissions are fully random processes : any radioactive nucleus decays when it wants independently from the other ones and also the direction of the emission is fully random. Once a photon is emitted, it travels, and it can go in a different direction:
The localization of the flashes of scintillation in the crystal is not done by single detectors, but we can exploit the fact that there is, from each scintillation point, a fan, which is affecting an array of photomultipliers. By computing the ratio of visible light, which was received by the photomultiplier’s tubes, we can have an estimation of the position of the scintillation event:
Letting one or more gamma-cameras rotate, permits the tomographic reconstructions of planes orthogonal to the rotation axis.
The big problem of the gamma camera is the fact that resolution is increasing linearly with distance and also the attenuation. To be absolutely detective for an ideal ray, the small hole of the collimator should have an infinite aspect ratio (zero cross area and infinite length). If it is not, but it is limited to a limited depth, it's not an ideal ray, but a cone which is opening from the hole. Clearly, the resolution is decreasing with distance: we have a sensitivity function which has a cone shape. Also, there is a problem of attenuation and, in Figure 10, we can clearly see that it's much better to acquire a SPECT considering the whole 360°, even if mathematically 2 projection, which are opposite, by 180° should be exactly the same. Indeed, realistically it is not and so, also when we do not make a volumetric reconstruction, but we are doing a planar whole body gamma camera, we can see how is different the image of the normal guy seen from the front and seen from the back. Even if these are the same projections but opposite, they are different. Sadly, this guy does have a lot of metastasis in the bone.
Figure 9: SPECT is obtained by the rotation of one or more gamma- cameras (generally 2 or 3)
Figure 10: Left: normal whole body scintigraph (metastable technetium-99, Tc-99m), frontal and dorsal views. Right: scintigraphy showing bone metastases, dorsal view
To do the collection of parallel projections on several planes all together, we have just to go around the patient with one gamma camera (or two or three gamma cameras). Looking at Figures 11 and 12, we can see that the resolution is terrible compared to that of CT, but the biological/functional information we get of hot spot is huge.
Positron Emission Tomography (PET) : also, here we have the emission of gamma Rays and actually we could use a gamma camera with a mechanical collimator much like the former case, but we can do something better in this Positron Emission Tomography scanners. They exploit the fact that the emission of the positron , after a very small positron range, which is in the order of the millimeter (it depends on the radionuclide: the most used is Fluorine 19), get in contact with an electron. They annihilate and the annihilation energy is exactly 1022 kiloElectron Volts (Figure 13). For reasons of conservation of the motion quantity, the 2 photons are scattered in a random direction but one exactly opposite to the other.
If the two photons run randomly inside the tomographic plane inside the ring of detectors, we can position the line of response (LOR) just connecting the two detectors which were activated simultaneously (=difference of the time of flight of the two photons, whatever is the place in the line of response, is within a few nanoseconds). With huge electronics, we can detect and register all the contemporaneity between two detectors and so, we can register one event on the line response. We don't know the place where the annihilation happened , but we know only the LOR (this is also called electronic collimation to compare to the mechanical collimation). In principle, the electronic collimation is much more precise than the mechanical collimation, but the problem is the huge energy and so, we need to have big scintillating crystals otherwise the photons will pass through and go away. In this way we can count one after the other the events which happen on the line of response. As a result, we are again an integral measure along all the line of response. Again, we are collecting projections and we have the same problem of reconstruction from projections.
Figure 11: Myocardial perfusion study by SPECT
Figure 12: SPECT study of dopamine reuptake in basal-nuclei
Figure 13: Principle of PET. Positron emission generates two gamma photons in opposite direction on the same LOR. The LOR is recognized as the line connecting two contemporaneously activated detectors
So, a point of the Radon transform (RT) can be represented utilizing the previous equation of the line as an integration kernel which means that when we are on the line, on the x-y plane, we can see that the Dirac Pulse with argument, which is the equation of the line, is different from 1. In other words, a point of the Radon transform (RT) represents the projection value at radial coordinates (+, &). The latter is elegantly represented by a plane integral with a Dirac pulse as integration kernel :
The Dirac pulse is a very special distribution which is zero everywhere and only when the argument is equal to zero it is indetermined. What is determine it is not its value but its integration value: integrating a Dirac pulse gives one.
The integration along a line can be seen as an integration of the function on the plane but with an integration kernel, which means that we are selective on the sole projection line. The Dirac pulse has the role to select the integration line $(+, &), which is the set of points with $(+, &) = {" cos + + # sin + − & = 0}. Kernel ,(" cos + + # sin + − &) is also called a blade , since it is an impulse different from zero along a line, similar to a blade emerging from the image plane ( x, y ). Its 2D integral equals 1.
So, we have defined the integration line as the set of points which satisfy this condition of {" cos + + # sin + − & = 0}. We will deal a lot with integration kernels when passing to non- ideal reconstruction problems where the sensitivity functions are no more idea lines, but they are real sensitivity functions that are determined by the physical properties of the scanner (it will be done when we generalize to the linear space variant (LSV) problem ). Here, we are in a space invariant problem: it is linear because the projection is a linear operation and so now, we stay on the analytical solution of the ideal projection problems. Also, 3D reconstruction from projections will require the integration over planes in 3D space, and planes will be represented by Dirac kernels; finally, MRI is intrinsically 3D and localizes points (voxels) by selecting planes, which again suggests this kind of notation.
Let’s now consider that, in a scanner, we store the raw data of projections in files which are called sinograms (Figure 15). All the information is stored orderly, row by row: each row represents the inclination of projection and, for each inclination, we present the values of the projections at each displacement t.
Technically speaking, projection data, that is the RT, are stored by scanners in a matrix, which rows represent the sampled angles and columns the sampled displacements. The
Figure 15: In the sinogram a point of the image is represented by a sinusoidal trace, when exploring all view angles #
matrix file is called sinogram and often represented as an image. The names come from the fact that a contrasted point in the object resulting into a sinusoidal pattern in the sinogram. So, the sinogram is a strange image made by the overlap of sinusoidal patterns.
The amplitude of the sinusoid corresponds to the radial position of the concentrated object and so, an image in the sinogram is represented as several sinusoids with several amplitudes and phases crossing each other, like “a spaghetti dish” with apparently no meaning. It is also clear that, by a theoretical point of view, it would be sufficient to have the sinogram just on half of the angles (180°) because of symmetry (this is something worth since in transmission tomographic, we have not dramatical differences, but, as we have seen, in emission tomography there is a lot of difference because on non-idealities and so, we got normally 360° of projections). So, for symmetry reasons, the plot could be limited to 180°; however physical reasons often suggest extending the projection over 360°, to limit artifacts due to non-ideal projections.
The Central Slice Theorem (CST) in 2D
This theorem is the mathematical background of the analytical solution of reconstruction from projection. It says that the 1D-FT of the projections given an axis t with the fixed angle q, gives a line of 2D-FT along a central axis or central slice. Hence, the 1D-FT of the projections onto an axis & with angle + yields the 2D- FT values on a line - t, through the origin having the same inclination angle +. Thus it represents a central slice through 2D-FT.
We can easily demonstrate the CST considering the special case of projection onto the " axis: &≡"; +=0⟺-t ≡-x ⟺-y =0:
We can easily extend the concept to any inclination of the angle + (Generalization to any axis t is easily obtained through axes frame rotation). We are asking ourselves what the value of the 2D-FT on the - x can be, when - y is zero. As we can see in the previous equations, the exponential term doesn’t depend anymore on - y