Imaging Reconstruction and Filtering Techniques

A key Points in image reconstruction - each image or projection, in SPECT, must be of good quality. Any errors that occur when collecting a single planar projection is magnified in the reconstructed image because each image will contain the error. Consider 1 images of poor quality. Now consider a SPECT image with 64 images of poor quality. Those 64 images are summed to create your transverse, coronal, and sagital images.

Hence, any any abnormality or error generated during acquisition will be magnified/intensified in the reconstructed/processed SPECT images.

  1. First consider the matrix size and its relationship to resolution
    1. Determining the matrix size
      1. For a SPECT procedure the field of view (FOV) of a digitized gamma camera will have either a matrix size of 64 x64 or 128 x 128
      2. Based on sampling theory a pix le size should be 1/3 of the camera's FWHM. Additionally, when considering the quality of image resolution factors that affect are:
        1. The value being measurement must be done at the center of its rotation (the farthest point from the imaging area)
        2. Type of collimation
        3. Distance from the patient
        4. Application of zooming - doing so will improve image quality
      3. Determination the right pixel size for SPECT imaging
        1. When considering matrix size and resolution you must first look at the camera's FWHM. For the best possible resolution the pixel size should be about 1/3 its value.
        2. Therefore, if a camera's FWHM is 21 mm then the pixel size should no larger 7 mm (For more information look at this lecture as it applies to planar imaging)
        3. FOV = Widest portion of the imaging field
          Z = Zoom factor
          N = Number of pixels (64 or 128)
          D = Size of pixel

        4. So how do you apply this data to a specific camera?
        5. Apply the above formula with the following data: camera's FOV = 475 mm , matrix size is 64 x 64 matrix, and no zoom is applied. The result is approximately 7.4 mm per pixel. Therefore, because 7.4 is close to 1/3 of the camera's FWHM, then a 64 matrix should be used in SPECT
        6. If you zoom the image by 1.5 then the pixel size drops to 4.7 mm
        7. If you decide to image with a 128 matrix that doesn't have a zoom the pixel size is drops to 3.7 mm
        8. Comment: Most SPECT acquisition only require a 64 x 64 matrix because the pixel size in mm is usually <1/3 of the FWHM
      4. Now we need to consider the signal-to-noise ratio and associate this with matrix size
        1. Generally the more noise you have the poorer the imaging quality. SPECT images usually have fewer counts when compared to planar, therefore SPECT images will contain more noise.
        2. Assume you collect two sets of images (64 and 128), both containing the same amount of total counts
        3. The 3-D matrix contains 3.84 x 106 counts
        4. The question is how does noise effect image quality in these two matrix sizes.
        5. V # of voxels in circular FOV
          N Total counts in 3-D image
          % Noise Noise generated

        6. To determine the amount of noise in each matrix the equation above must be applied
        7. The SNR in 64 and 128 matrix

        8. Compare the increase of noise, between a 64 and 128 matrix
        9. Crunching the numbers shows us that % noise increases by a factor of 2.8 when we increase the matrix size. The result is additional high frequency noise in the 128 matrix. Why does this happen?
        10. Consider a 128 matrix has 4x the amount of pixels means there are is a lot more space for a limited amount of counts
        11. How much longer must you acquire data in a 128 matrix to have the same SNR is in a 64 by 64 matrix? That issue is solved below
          1. Step 1 - Determines the amount of counts needed for a 128 image by finding the amount of counts in X. The total amount of counts required, to have similar SNR is 3.447 x 107 counts in the 128 matrix
          2. Step 2 - Identifies the amount of cps in the 64 x 64 matrix. The amount of counts per slice is assumed to be 25 seconds/slice . Decay is not being considered. Counts per second = 2400
          3. Step 3 - Determines total time required to collect 3.47 x 107 counts at a count rate of 2400 cps. It will also be assumed that there are a total of 128 slices being acquired at 1/2 time per slice (12.5 second/slice) when compared to the 64 matrix. Total time is approximately 241 minutes
          4. Step 4 - Defines the amount of time required to collect 3.84 x 106 count in the 64 x 64 matrix. Time required is 26.7 minutes
          5. Hence, in order to collect a the same SNR value in the 128 we could have collect an additional 214 minutes. Obviously, these numbers far exceed the any expectation that a patient could tolerate
  2. Frequencies
    1. Ideally a filter's role is to enhances image quality, without significantly altering the raw components of the input data
      1. Incorrect filtering, over, or under can do any or all of the following to our image quality: reduces resolution, effect contrast, increase noise (high frequency), increase background counts (low frequency), can blur detailed information, and/or make the image too grainy
      2. Correct filtering - Generally speaking an idea image magnifies the true counts and ignores the undesirable low and high frequency data, causing overall image enhancement
      3. Remember that SPECT images generally have significantly lower counts when compared to planar images. Therefore, a filter should help improve image quality by eliminating unwanted data and enhancing true counts
    2. In SPECT, image filtering requires the conversion of spatial to the frequency domain.
      1. Consider the acquisition of SPECT data as a form of digital sampling. You are collecting only a sample of data as the camera rotates around the patient and collect counts
      2. For the camera to resolve the incoming data many factors must be considered: collimator's resolution, orbital distance from the patient, gamma attenuation/scatter, and count density of the pixels
      3. Perhaps, at this point our concern should focus on how well the computer converts the spatial domain to the spatial frequency domain. This is done with the use of Fourier transform technique (mentioned in your last lecture) with the use of what is more commonly known as the Nyquist frequency (NF)
      4. But why is the NF so important to understand? Think of NF as if it we're trying to record something. To do so we must record a representation of all possible sound. You could say that we are attempting to record the entire band width of sound. In essence, Nyquist represents the entire spectrum in the frequency domain. Hence, in a SPECT study we are trying to do the same thing. By setting the correct NF we can reconstruct the entire spectrum of spatial data in the frequency domain

        Seperating Frequencies

      5. Furthermore, one must appreciate that the sum (note the above image) of all the frequencies means that there are a lot of different wave patters within NF. In general frequencies can be broken down into three categories
        1. Low - background and large objects
        2. Middle - variation of smaller objects. As the object continue to get smaller the frequency continues to get higher
        3. High frequencies - small to very small objects plus noise. One cannot differentiate between very small objects and noise because it goes beyond the resolution of the imaging system (FWHM)
      6. An appropriate sampling for NF is two cycles as noted by the formula below
      7. Fn Nyquist Frequency
        D Size of Pixel

      8. The formula identifies the NF to pixel size and the number determines what the actual size the frequency should be in cycles per mm. Let us apply some numbers to see how this works. From our previous work (determining the appropriate pixel size for SPECT) let us revisit the 475 mm FOV camera
        1. If we apply the 7.4 mm pixel in the 64 x 64 matrix to the above formula the NF becomes 0.06868 cycles per mm-1
        2. So what does this mean? This means that in order capture the best spatial frequency the NF must be set at 0.068 cycles/mm-1. To go beyond this point (smaller object) would not improve our resolution
        3. Note that the pixel value, D, must be twice per cycle it is for that reason that the value is multiplied by 2
        4. If a 128 matrix is used with a pixel size of 3.7 mm the NF becomes 0.16 cycles/mm-1
        5. Hence, when you are filtering and reconstructing SPECT data work within its nyquist, but use the whole frequency! And it varies based on magnification and the FOV
      9. More comments on NF
        1. Manufacturers define NF in several different ways, two of which are cycles/mm and cycles/pixel
        2. The above calculations were done in cycles/mm, however, it maybe more appropriate to consider the NF in cycles/pixel
        3. Why? This is because the maximum NF will always be 0.5 cycles/pixel. The reason for this is that it takes two pixels to capture the entire cycle.

        cycles per pixel

      10. Therefore, whenever we filter an image in SPECT it is necessary to always capture and work with the entire NF. Failure to not include all of it would result in not capturing all information that is available for processing.
        1. The images above show the correct NF at 0.5 cycles/pixel, where 2 pixels capture the entire cycle. An example of over sampling is also noted when the NF is set to 1.0 cycles/pixel. What happens if over sampling occurs? (Or try to image higher frequencies) Look below!
        2. Aliasing


          A - Shows a set of images taken with different amount of acquired SPECT slices: 16, 32, and 64. Notice the "squares" that can be seen . This Moire type defect is seen more clearly in the background of the transverse slice, but also within the brain phantom. This is known as aliasing. The generation of this artifact is not specifically from over sampling, however, the end result is the same, aliasing

          B - Shows a set of bars with variation in size. Aliasing, in the center of the image it noted, specifically were the bars just don't line up. This occurred because the NF was set at 1.0 cycles/pixel

  3. What's in the frequency?
  4. What's in a frequency

    1. Limited counts in nuclear medicine images always reduces the amplitude of the original image frequency. Collimation, patient to detector distance, type of acquisition orbit, compton scatter, and the reconstruction process all effect image resolution
    2. The low/high frequencies issues
      1. The smaller the object
      2. The fewer the counts the greater the noise and grainy. However, the more the counts the less noise there is. Noise and small objects can become lost in the data which can potential miss disease
      3. Low end frequency issues might normally be considered background and scatter issues, however, Poisson statistical noise "blurs" or "smooth's" critical data in the low frequency domain, that occurs when reconstruction via backprojection is applied. Also classified in the realm of low frequencies is star defect as discussed in your previous lecture
    3. Increase counts decreases noise

    4. The above graph is similar to the previous one, however, there are several differences
      1. The frequency curves that are displayed include: MTF of the gamma camera (black) with two separately acquired images in red
      2. From left to right activity on the left contains low frequencies, while that on the right contains high frequencies
      3. Noise level 1 represents a low count image where noise breaks away midway from the MTF
      4. Noise 2 represents more counts acquired, when compared to Noise 1. Here the noise level breaks away from the MTF curve further into the higher frequency range
      5. One should conclude several points:
        1. The more counts you acquire the better your resolution via the higher the frequency being image
        2. Once the red curve breaks from the MTF it is impossible to tell the difference between small objects and noise
        3. If more counts you acquire the closer the frequency will match the camera's MTF giving you the best possible resolution
  5. Filters
    1. Pre-filtering the raw data
      1. Many places actually pre-filter the raw rata, which mans that each 2-D image within the 180 or 360 degree rotation is filtered prior to reconstruction. Why?
      2. Nine point smooth with image profile displayed

      3. The rational for this is simple - If you are dealing with low count images then you're going to have a lot of high frequency noise. By completing a 9-point smooth on each 2-D slice you removing excessive fluctuation in the high frequency range
    2. Filtering during imaging reconstruction
      1. When filtering during backprojection and image reconstruction there are several aspects that filters can accomplish
        1. Removing low frequency (BKG)
        2. Removing high frequency (noise).
      2. Low pass filters only allow low to mid frequencies to be processed. This means the exclusion of high frequency data during reconstruction. Example of this might be a Butterworth or Hanning filter
      3. High pass filters do the opposite. An example of this would include a Ramp filter
      4. Band pass filter eliminate low and high frequencies and only let mid-range frequencies to be processed
      5. Restoration filters attempt to restore data and improve the quality of the image. Two examples would include Wiener and Metz
      6. Partial volume rendering allows the user to create 3-D surface images of an organ that has been acquired through SPECT. Generally, not considered very useful because it does not allow you to look inside the structure. However, analyzing the external anatomy of the brain might lead to finding large "hole" on the brain's exterior surface. This could be due to a lesions or an infarct that affected the brain and included the surface anatomy
      7. Post-filtering (after reconstruction) is also sometime done, especially if the end results from reconstruction contain a grainy or statistically noisy image. Smoothing the image may be recommended
    3. Filter the reconstruction with high and low pass filters
      1. Ramp filter (high pass) - Two issues to consider
      2. Results of a Ramp Filter

        1. The main role of the linear ramp filter is to amplify the frequency to better resolve the data. However, if the entire frequency was amplified then true counts, bkg, and noise would all be amplified. This would serve no purpose
        2. Hence, the ramp filter cuts off the low frequency background, which removes unwanted data. This is good! Removing low frequency also removes image blurriness and the star defect
        3. What remains in are true counts + high frequency noise.
        4. What do you do with the high frequency noise?
        5. Adding a low pass filter to the to reconstruction process will can cutoff the noise (Keep this thought in mind)
      3. Filters and orders
      4. Butterworth Filter and its Orders

        1. Some filters allow you to adjust its order. Essentially what that does is change the slope on the filter. In the case above, when you increase the order number on a butterworth filter you increase the negative component of the slope, making it steeper
        2. This manipulation allows the user to remove or add difference frequencies to the reconstructed image
        3. Note that an order of 8 increases the amount of lower frequencies, but doesn't accept as many frequencies at the higher end. While decreasing the order number reduces the amount of lower frequencies, but accepts more frequencies
        4. To accept more lower frequencies and reduce high end creates a more blurry/smooth image. Doing the opposite causes a grainy/noise image
        5. Yet a second element to all this is considering image contrast. The steeper the slope of the curve the greater the response is to contrast, while a less negative slope has less sensitivity.
      5. Filters and cut-offs
      6. Butterworth Filter and its Cutoffs

        1. Another angle on filters has to do with its cut-off. The examples above show the cut-off frequency set to three different points. Additionally, the MTF response includes the same orders of 2, 4, and 8
        2. When you set the cut-off that becomes the point at which the reconstructed image no longer accepts the frequency data.
        3. Note the affects of the different cut-offs above. If you look at 0.4 you can see how it eliminates all the high frequency noise and only a small portion of the patient's data. Of the three cut-offs represented 0.4 would be the most acceptable. Why?
        4. By adjusting the cut-off we can effective eliminates high frequency noise leaving BKG and true count data. This improving the image quality via the elimination of statistical noise and making the image look more fuzzy/less grainy
        5. Finally, it is usually recommended that you set the cut-off to 0.5 cycles/pixel. This was mentioned mentioned earlier during the lecture. Why do we want to set the cut-off at 0.5?
      7. Combining Ramp and Butterworth filters
        1. The key is to be able to remove as much of the unwanted frequencies as possible. Hence, the application of both low and high filters is required
        2. Ramp and the affects of three Low Pass filters

        3. The application of Ramp and one of the above low frequency filters is an example of how this process is should work.
        4. In addition, there are three "globs" of data: BKG, Patient Data, and Noise
        5. Given the different filters above, which two combinations best removes most of the unwanted data
        6. Sometimes this application is referred to windowing
        7. Results of Ramp and Hanning Filters

          Results of Ramp and Butterworth Filters
        8. Given the previous image showing four different applications of filters here are two combinations using a low and high band filters. Which of these two combinations is best suited for your filtered reconstructed data?
    4. Let's spend a little more time discussing other types of filters
      1. How do restoration filters work?
        1. The concept is to improve resolution on a low count by restoring counts in an image. Hence, images with low count density may benefit with this type of application
        2. There are two types that we will discuss: Wiener and Metz
        3. Application of concept
          1. Metz filter works similar to ramp in that it amplifies frequencies, but first applies an inverse MTF causing the amplification of low and mid-frequencies instead of the higher frequencies
          2. Applicaiton of a Metz filter where the MTF is inverted

          3. The above image shows what happens with the filter that takes the MTF and inverts it. Once this is accomplished the mid and low frequencies are amplified
        4. Wiener as another type of restoration and it works on a different principle
          1. It's goal is to filter out noise and it is noise that corrupts the patients counts within the NF
          2. By applying an SNR concept this filter assumes that signal and noise are linear and its probable distribution can be identified
          3. Using the statistical concept of "minimum mean-squared error" noise is eliminated from the signal
          4. Another way to think of this is to assume that the frequency data has multiple convolutions based on the spatial frequencies in an image. THis includes.
          5. If convoluting noise is identified, then just subtract the deconvolution noise.Or apply a reverse wave/cycle of noise will result in data containing true counts
          6. Use this hyperlink to find out more about Wiener filters
      2. Creating a three-dimensional image
        1. Occasionally someone might want to look at the 3-D surface (surface rendering) of an organ. Examples of this might be the heart or the brain.
        2. To accomplish this one must a apply a process known as volume rendering
        3. The most popular type is known as maximum intensity projection (MIP)
          1. Essentially all transaxial slices are placed on top of each other
          2. From each row of pixels transferring through all transaxial slices the hottest pixies are identified
          3. 3-D Heart

          4. This display shows the LV of the heart which can be manipulation to view any angle with the touch of the mouse. However, it cannot be displayed in this web based program
          5. 3-D Brain

          6. Another example of surface rendering shows a brain scan. Ideally this display can be shown as a cine or as a single image where the mouse arrow can be drag to display any angle for the brain
          7. Most programs allow you to rotate the single picture to any angle the user wishes to look at
            1. Advantage of this approach is to identify any abnormalities on the surface of the organ
            2. Disadvantage is simple - you cannot see beyond the surface
      3. Attenuation correct
        1. Filters have been designed to take attenuation into account
        2. The only problem with this approach is that the user can only apply this to areas of the body where the body habitus density remains relatively constant (brain and liver)
        3. Graphic display of the "cupping artifact"

        4. Why should attenuation be taken into account? Remember the cupping artifact? Graphically the above example shows the affects of cupping in the LV of the myocardium. A profile is drawn through heart and a decreased in counts can be seen in the septal wall. Can you explain this artifact?
        5. The two types of attenuation filters are used in nuclear medicine: Chang (applied post reconstruction) and Sorenson (applied prior to reconstruction)
        6. The Chang method starts by drawing an ROI around the widest portion of the transverse slice. Once defined an attenuation value is then given to the data and a correction in counts is applied to the pixels inside the ROI. In theory this increases the counts coming from the center of the image negating the cupping artifac. Remember - the closer to the center of the brain (or any organ) the greater the gamma attenuation and the greater the need for correction
        7. Water has a µ value of 0.15 cm-1 which is applied to all liver brain and liver attenuation filters
        8. PET image showing improved image quality when attenuation correction is applied

        9. While attenuation correct filters are sometimes used to improve image quality this process cannot be done if there are different areas of density within the FOV. At this point only a transmission source can be used to compensate for the differences in density within the imaging media. Example of this would include the myocardium ane bone
        10. Transmission imaging can be accomplished with the use of a line source and a fan beam collimator or with an x-ray tube (CT)
      Return to the beginning of the document
      Return to the Table Of Contents

     

    Chapter 10, The Essential Physics of Medical Imaging,Bushberg Radiation Detection and Measurement, Knoll, 2nd ed. http://engineering.dartmouth.edu/courses/engs167/11%20Image%20Analysis.pdf