Chapter 20 - Digital Image Processing in Nuclear - 2012 - Physics in Nuclear Med
Chapter 20 - Digital Image Processing in Nuclear - 2012 - Physics in Nuclear Med
20
Digital Image
Processing in Nuclear
Medicine
Image processing refers to a variety of tech- purpose microprocessor. Such devices can be
niques that are used to maximize the infor- programmed to perform a wide variety of
mation yield from a picture. In nuclear tasks, but they are relatively large and not
medicine, computer-based image-processing very energy efficient. For very specific tasks,
techniques are especially flexible and power- an application-specific integrated circuit often
ful. In addition to performing basic image is used. ASICs are compact and energy effi-
manipulations for edge sharpening, contrast cient, but their functionality is hardwired
enhancement, and so forth, computer-based into their design and cannot be changed.
techniques have a variety of other uses that Examples of their uses include digitizing
are essential for modern nuclear medicine. signals (analog-to-digital converters) and
Examples are the processing of raw data for comparing signal amplitudes (pulse-height
tomographic image reconstruction in single analyzers and multichannel analyzers). Other
photon emission computed tomography categories of microprocessors include digital
(SPECT) and positron emission tomography signal processors (DSPs) and graphics pro-
(PET) (see Chapters 16 to 18), and correcting cessing units. These devices have limited pro-
for imaging system artifacts (e.g., Chapter 14, grammability, but they are capable of very
Section B, and Chapter 18, Section D). fast real-time signal and image processing,
Another important example is time analysis such as 3-D image rotation and similar types
of sequentially acquired images, such as is of image manipulations.
done for extracting kinetic data for tracer The technology of microprocessors and
kinetic models (see Chapter 21). Computer- computers is undergoing continuous and
based image displays also allow three- rapid evolution and improvement, such
dimensional (3-D) images acquired in SPECT that a “state-of-the-art” description rarely
and PET to be viewed from different angles is valid for more than a year or, in some
and permit one to fuse nuclear medicine cases, even a few months. However, the end
images with images acquired with other result is that the usage of computers and
modalities, such as computed tomography microprocessors in nuclear medicine is ubiq-
(CT) and magnetic resonance imaging (MRI) uitous. They are used not only for acquisi-
(see Chapter 19). Computer-based acquisition tion, reconstruction, processing, and display
and processing also permit the raw data and of image data but also for administrative
processed image data to be stored digitally applications such as scheduling, report gen-
(e.g., on computer disks) for later analysis eration, and monitoring of quality control
and display. protocols.
All of these tasks are performed on silicon- In this chapter, we describe general con-
based processor chips, generically called cepts of digital image processing for nuclear
microprocessors. The central processing unit medicine imaging. Additional discussions of
(CPU) of a general purpose computer, such as specific applications are found in Chapters 13
a personal computer, is called a general to 19 and Chapter 21.
363
364 Physics in Nuclear Medicine
Active area of
gamma camera Detected Pixel corresponding
radiation event to event location
x Image matrix
FIGURE 20-2 Subdivision of the gamma camera detector area for generating a digital image. The photomultiplier
tube signals are analyzed using analog-to-digital converters to assign the digital matrix location for each detected
event.
for “binary digit”). In general, an n-bit binary in a pixel exceeds the allowed pixel depth, the
number can represent decimal numbers with count for that pixel is reset to 0 and starts over,
values between zero and (2n − 1). which can lead to erroneous results and image
Binary numbers are employed in computer artifacts.
systems because they can be represented con- Pixel depth also affects the number of gray
veniently by electronic components that can shades (or color levels) that can be repre-
exist only in an “on” or “off ” state. Thus an sented within the displayed image. In most
n-bit binary number can be represented by computer systems in use in nuclear medicine,
the “on” or “off ” state of a sequence of n such 8 bits equals a byte of memory and 16 bits
components. To communicate sensibly with equals a word of memory. The pixel depth,
the outside world, the binary numbers used therefore, frequently is described as “byte”
within the computer must be converted into mode or “word” mode.*
decimal integers or into decimal numbers and
fractions. The latter are called floating point 2. Spatial Resolution and Matrix Size
numbers. The methods by which binary The spatial resolution of a digital image is
numbers are converted to decimal format are governed by two factors: (1) the resolution of
beyond the scope of this presentation and can the imaging device itself (such as detector or
be found in more advanced texts on computer collimator resolution) and (2) the size of the
systems. pixels used to represent the digitized image.
Digital images are characterized by matrix For a fixed field-of-view, the larger the number
size and pixel depth. Matrix size refers to the of pixels, that is, the larger the matrix size,
number of discrete picture elements in the the smaller the pixel size (Fig. 20-3). Clearly,
matrix. This in turn affects the degree of a smaller pixel size can display more image
spatial detail that can be presented, with detail, but beyond a certain point there is no
larger matrices generally providing more further improvement because of resolution
detail. Matrix sizes used for nuclear medicine limitations of the imaging device itself. A
images typically range from (64 × 64) to (512 question of practical importance is, At what
× 512) pixels. Matrix size virtually always point does this occur? That is, how many
involves a power of 2 (26 and 29 in the previous pixels are needed to ensure that significant
examples) because of the underlying binary detail is not lost in the digitization process?
number system used in the computer. The situation is entirely analogous to that
Pixel depth refers to the maximum number presented in Chapter 16 for sampling require-
of events that can be recorded per pixel. Most ments in reconstruction tomography. In par-
systems have pixel depths ranging from 8 bits ticular, Equation 16-13 applies—that is, the
(28 = 256; counts range from 0 to 255) to 16 bits
(216 = 65,536; counts range from 0 to 65,535).
Note again that these values are related to the *Most modern computer CPUs have 32-bit or 64-bit pro-
cessors. This means they can process data 32 or 64 bits
underlying binary number system used in the at a time; however, this is largely independent of image
computer. When the number of events recorded display and how pixel values are stored.
366 Physics in Nuclear Medicine
64 × 64 32 × 32
linear sampling distance, d, or pixel size, larger pixels) to diminish the visibility of
must be smaller than or equal to the inverse noise in the final digitized image.
of twice the maximum spatial frequency, kmax,
EXAMPLE 20-1
that is present in the image:
What is the approximate spatial resolution
d = 1/(2 × kmax ) (20-1) that can be supported for a 30-cm diameter
field-of-view using a 64 × 64 matrix? A 128 ×
This requirement derives directly from the 128 matrix? Assume that the original data
sampling theorem discussed in Appendix F, are noise free.
Section C.
Once this sampling requirement is met, Answer
increasing the matrix size does not improve
spatial resolution, although it may produce 64 × 64 matrix
a cosmetically more appealing image with
less evident grid structure. If the sampling A 64 × 64 image matrix results in a pixel size
requirements are not met (too coarse a of 300 mm/64 = 4.69 mm. From Equation
grid), spatial resolution is lost. The maximum 20-2, this would be suitable for image resolu-
spatial frequency that is present in an image tion given by
depends primarily on the spatial resolution FWHM 3 × pixel size = 14.06 mm
of the imaging device. If the resolution of
the device is specified in terms of the full 128 × 128 matrix
width at half maximum (FWHM) of its line-
spread function (Chapter 15, Section B.2), FWHM 3 × 300 mm/128 = 7.03 mm
then the sampling distance (pixel size) should
not exceed about one third of this value to The values calculated in Example 20-1 rep-
avoid significant loss of spatial resolution, resent the approximate levels of imaging
that is, system resolution that could be supported
FWHM without loss of imaging resolution for the
d (20-2) specified image and matrix sizes. The practi-
3 cal effects of undersampling depend as well
This applies for noise-free image data. With on the information contained in the image
added noise it may be preferable to relax the and whether it has a significant amount of
sampling requirement somewhat (i.e., use actual spatial frequency content near the
20 • Digital Image Processing in Nuclear Medicine 367
resolution limit of the imaging device. Practi- independently generated red, green, and blue
cal experimentation sometimes is required to color channels].
determine this for a particular type of imaging One commonly used color scale, the pseudo
procedure. color scale (sometime known as the rainbow
or spectrum color scale), assigns different
3. Image Display colors from the visible spectrum, ranging
Digital images in nuclear medicine are dis- from blue at the low (“cool”) end, through
played on cathode ray tubes (CRTs) or flat- green, yellow, and red (“hot”), for progres-
panel displays such as liquid crystal displays sively increasing pixel values. This is an
(LCDs). In addition to their use at the site of intrinsically nonlinear scale, because the
the imaging device, displays are an essential viewer does not perceive equal significance for
component of picture archival communica- successive color steps. A somewhat more
tions systems (PACS) networks, for remote natural scale, the so-called heat or hot-body
viewing of images (see Section C). The spatial scale, assigns different shades of similar
resolution of the display device should exceed colors, such as red, yellow, and white, to pro-
that of the underlying images so as not to gressively increasing pixel values, corre-
sacrifice image detail. In general, the display sponding to the colors of an object heated to
devices used in nuclear medicine computer progressively higher temperature. In both
systems and in radiology-based PACS net- examples, the colors are blended to produce a
works comfortably exceed this requirement. gradual change over the full range of the
Typical high-resolution CRTs have 1000 or scale. Figure 20-4 shows the same image dis-
more lines and a typical LCD might have played with different color scales.
1536 × 2048 elements. The major problem with the use of color
Individual pixels in a digital image are dis- scales to represent pixel count levels is that
played with different brightness levels, they are somewhat unnatural and also can
depending on the pixel value (number of produce contours, such as apparently sharp
counts or reconstructed activity in the pixel) changes in pixel values, where none actually
or voxel value. On grayscale displays, the exist. A more practical use of color displays is
human eye is capable of distinguishing for color coding a second level of information
approximately 40 brightness levels when they on an image. For example, in combined-
are presented in isolation and an even larger modality imaging of PET or SPECT with CT
number when they are presented in a sequence (see Chapter 19), the anatomic (CT) image
of steps separated by sharp borders. Image often is displayed using a standard gray scale,
displays are characterized by the potential whereas the functional (PET) image is shown
number of brightness levels that they can using a color scale. Such a display clearly dif-
display. For example, an 8-bit grayscale ferentiates between the two types of images,
display can potentially display 28 = 256 differ- whereas a simple overlay of two grayscale
ent brightness levels. Such a range is more images would be confusing.
than adequate in comparison with the capa- Hard-copy images can be produced on
bilities of human vision. In practice, the effec- black-and-white transparency film from a
tive brightness scale often is considerably less CRT display. Single-emulsion films are used
than the physical limits of the display device to minimize blurring of the recorded image,
because of image noise. For example, if an especially when images are minified for
image has a root mean square noise level of compact display on a single sheet of film. The
1%, then there are not more than 100 signifi- CRT display intensity must be calibrated to
cant brightness levels in the image, regard- compensate for the sensitometric properties
less of the capabilities of the display device. of the recording film to match the monitor
Digital images also can be displayed in display. Computer printers are now commonly
color by assigning color hues to represent dif- used to record hard-copy images and a range
ferent pixel values. The human eye can dis- of different technologies and media are avail-
tinguish millions of different colors, and color able depending on requirements such as
displays are capable of producing a broader quality (resolution and gray-scale range), cost
dynamic range (i.e., number of distinguish- and printing speed.
ably different levels) than can be achieved in
black-and-white displays. For example, a 4. Acquisition Modes
true-color display with 24-bit graphics can Digital images are acquired either in frame
generate nearly 16.8 million different colors mode or in list mode. In frame-mode acquisi-
[224 = (28)3, in which the 3 represents the tion, individual events are sorted into their
368 Physics in Nuclear Medicine
A C
B D
FIGURE 20-4 The same reconstructed transaxial image slice rendered in different color scales. A, Grayscale, high-
intensity white; B, inverted grayscale, high-intensity black; C, hot-wire or hot-body scale; D, pseudocolor spectral scale.
The slice is from a PET scan of the brain using the radiotracer 18F-fluorodeoxyglucose. (Original image courtesy Siemens
Molecular Imaging, Knoxville, TN).
appropriate x-y locations within the digital improved, but the total counts per frame and
image matrix immediately after their position per pixel are reduced compared with slower
signals are digitized. After a preset amount of frame rates.
time has elapsed or after a preset number In list-mode acquisition, the incoming x
of counts have been recorded, the acquisition and y position signals from the camera are
of data for the image is stopped and the pixel digitized, but they are not sorted immediately
values [p(x,y) = number of counts per pixel] into an image grid. Instead, the x and y posi-
are stored in computer memory. tion coordinates for individual events are
When a series of such images is obtained stored, along with periodic clock markers
sequentially, individual images in the (e.g., at millisecond intervals). This permits
sequence are referred to as “frames.” Clearly, retrospective framing with frame duration
the image matrix size (e.g., 64 × 64, 128 × 128, chosen after the data are acquired.
and so forth) must be specified before the List-mode acquisition permits greater flex-
acquisition begins. Additionally, the time ibility for data analysis. However, it is not an
duration of the frame sets a limit on the tem- efficient method for using memory space
poral accuracy of the data. For example, if during acquisition for conventional imaging,
the frame is acquired during a 1-minute especially for high-count images, because
period, the number of counts recorded in each every recorded event occupies a memory loca-
pixel represents the integrated number of tion. Thus a 1-million count 128 × 128 image
counts during the 1-minute acquisition period recorded in list mode would require 1 million
and cannot be subdivided retrospectively into memory locations, whereas in frame mode
shorter time intervals. When faster framing the same image would require only approxi-
rates are used, such as for cardiac blood-pool mately 16,000 memory locations. However,
imaging, temporal sampling accuracy is list mode can actually be more efficient in
20 • Digital Image Processing in Nuclear Medicine 369
FIGURE 20-5 Effect of changing the distribution of gray levels on image contrast. Left, Original image with uniform
distribution of gray levels. Center, Gray scale compressed (fewer levels) in high-count (dark) regions to improve the
visualization of soft tissues. Right, Gray scale compressed in low-count (light) regions to suppress soft tissues and
visualize only bone. (Image courtesy Siemens Medical Solutions, USA, Inc.)
Sagittal plane
Coronal plane
Transverse plane
B
FIGURE 20-6 A, Orientation of transverse (also known as transaxial), coronal and sagittal sections. B, Orthogonal
views (transverse, coronal, sagittal) of an 18F-fluorodeoxyglucose PET brain study in which the imaging field-of-view
covers the entire head. (A, Reproduced from http://en.wikipedia.org/wiki/File:Human_anatomy_planes.svg#file. B,
Images courtesy CTI PET Systems, Inc., Knoxville, TN.)
20 • Digital Image Processing in Nuclear Medicine 371
Projection image
2-D views of the object from many projection combine images acquired with different radio-
directions. Another approach is to display only nuclides or acquired with different modali-
the surface pixel values (surface rendering). ties. Most image-processing software allows
An approach that highlights internal features one to add, subtract, multiply, and divide
is to display only the pixel with the maximum single images or 3-D image volumes. These
value along the projection direction (maximum operations typically are applied on a pixel-by-
intensity projection). pixel basis. Figure 20-8 is an example of a
By computing projection views at a set of simple frame arithmetic operation: subtrac-
angles around the object and presenting them tion. The study illustrated is a visual stimula-
in a continuous loop, one can create movies in tion using 15O-labeled water as a flow tracer.
which it appears that the object is rotating in Visual stimulation, created by having the
space. This sometimes is called cine mode. subject view a strobe light, caused an increase
These and other rendering and display algo- in blood flow to the occipital (visual) cortex,
rithms are discussed in some of the suggested while the remainder of the brain remained
readings at the end of the chapter. largely unaffected. Subtraction of an image
Another important application of image taken from a resting control study from the
processing is image arithmetic. There are a image obtained in the stimulation study pro-
number of applications in which one wishes vides a display of the blood flow changes
to see differences between images or to occurring as a result of stimulation.
372 Physics in Nuclear Medicine
FIGURE 20-8 Cerebral blood-flow images (H215O PET) acquired in the resting state (left) and during visual stimula-
tion using a flashing light (center). The stimulus causes a small increase in blood flow in the visual cortex that is virtu-
ally invisible on the image acquired during visual stimulation; however, the increase is clearly visible when the
resting-state image is subtracted from it (right).
Most digital images in nuclear medicine radiotracer distribution in the body. Conven-
are, in essence, pictures of the count density tional 2-D images also can provide informa-
in the organ or tissue of interest. Instead of tion about the relative concentration of
presenting the data in this format, one may radiotracer in different areas. Regions of
desire to first process the image data on a interest (ROIs) are used to extract numerical
pixel-by-pixel basis using a model that repre- data from these images. The size, shape, and
sents the functional process and display the position of ROIs can be defined and positioned
calculated result. Such an image, in which the by the user, using a selection of predefined
pixel values represent a calculated parame- geometric shapes (e.g., rectangles, circles).
ter, sometimes is called a parametric image. Alternatively, irregular ROIs can be created
For example, a digital ventilation image can using a cursor on the image display. The com-
be divided by a perfusion image to produce a puter then reports ROI statistics such as the
parametric image that shows the ventilation/ mean pixel value, the standard deviation of
perfusion ratio. Other examples of calculated the pixel values, and the number of pixels in
functional parameters are discussed in the ROI (Fig. 20-9). Software tools that use
Chapter 21. edge-detection algorithms also are available
for automated definition of ROIs (see Section
2. Regions and Volumes of Interest B.5).
Care must be taken in the use of ROIs to
Both PET and SPECT can provide semiquan- accurately place them on the tissues of inter-
titative, or when all appropriate corrections est, especially for applications in which
are applied, quantitative images of the radiotracer uptake or concentration are
0.0 min 0.75 min 1.25 min 1.75 min 2.25 min 2.75 min
4.5 min 7.5 min 10.5 min 13.5 min 20 min 30 min
0.3
0.25
Striatum
Radioactivity (µCi/mL)
0.2
0.15
Cerebellum
0.1
0.05
0
0 20 40 60 80 100 120
Time (min)
FIGURE 20-10 Top, PET images of the same two-dimensional (2-D) slice through the brain at different times after
administration of a bolus injection of 18F-fluoroDOPA. A region of interest (ROI) is drawn over the right striatum on
the last image and then copied to all other time points. Bottom, Time-activity curve (TAC) showing the mean value in
the ROI, converted with a calibration factor from counts per second per pixel to absolute concentration of radioactivity,
versus time for the striatum. Also shown is a TAC for the cerebellum, taken from a different 2-D image slice, demon-
strating how different brain regions can have different kinetics. Analysis of such TACs is discussed in Chapter 21.
(Adapted from Cherry SR, Phelps ME: Positron emission tomography. In Sandler MP, Coleman RE, Patton JA, et al
[eds]: Diagnostic Nuclear Medicine, 4th ed. Baltimore, Williams & Wilkins, 2002, p. 79.)
20 • Digital Image Processing in Nuclear Medicine 375
FIGURE 20-11 Effect of image smoothing using a gaussian filter with a full width at half maximum of 4 mm (center)
and 8 mm (right). Smoothing improves the signal-to-noise ratio in the images but at the expense of spatial
resolution.
location of edge
normal controls. A summary of modern image
d 2p/dx 2
FIGURE 20-14 Series of images illustrating the segmentation of the lungs on a transmission scan acquired on a
single-photon emission computed tomography system. (Original image courtesy Dr. Freek Beekman, University Medical
Delft University of Technology, The Netherlands.)
FIGURE 20-15 Top three rows, Co-registered slices from three 18fluorodeoxyglucose PET scans acquired at 1-year
intervals on the same subject. Images in each column represent the same anatomic slice, after co-registration. Bottom
row, Corresponding co-registered slices from a magnetic resonance imaging scan acquired at the time of the third PET
scan (intermodality co-registration). Images were co-registered using the Automated Image Registration software
developed by Roger Woods of the University of California-Los Angeles. Note the excellent agreement in structures
included and their locations in each slice. Some images were truncated (particularly in the left column) because parts
of the brain were outside the field-of-view in some scans. (From Woods RP, Mazziotta JC, Cherry SR: Optimizing
activation methods: Tomographic mapping of functional cerebral activity. In Thatcher RW, Hallett M, Zeffiro T, et al
[eds]: Functional Neuroimaging: Technical Foundations. San Diego, Academic Press, 1994, p. 54.)
378 Physics in Nuclear Medicine
addition to freeing up the image acquisition imaging equipment support this standard.
computer for additional studies, it allows a The objective of DICOM is to enable vendor-
variety of other activities to proceed simulta- independent communication not only of
neously. For example, it allows a medical phys- images but also of associated diagnostic and
icist to reprocess a study from his or her office therapeutic data and reports.
while physicians are viewing the same images A true archival system not only should
in the reading room or even at a different hos- store the image or processed image data but
pital and researchers are downloading the also should be organized around a logical
studies onto a computer in the research retrieval system that permits correlation of
laboratory. images with other types of data (e.g., reports)
Many nuclear medicine departments there- for a given patient study. That is, it should
fore employ high-speed networks to connect have the capacity of a computer database
their imaging systems together with other system and interface seamlessly with radiol-
computer systems in the institution and, via ogy, nuclear medicine, and hospital informa-
the Internet, to the outside world. These tion systems. In addition, the system must be
departments use PACS to store and move capable of protecting patient information by
images from acquisition sites to more conve- providing access only to authorized users.
nient viewing stations and to provide a
common basis for handling nuclear medicine
and all other diagnostic imaging modalities.2 REFERENCES
PACS systems in hospitals with large radiol- 1. Hill DLG, Batchelor PG, Holden M, Hawkes DJ:
ogy and nuclear medicine departments must Medical image registration. Phys Med Biol 46:R1-R45,
be capable of handling huge amounts of data, 2001.
typically several gigabytes per day (1 Gb = 2. Bick U, Lenzen H: PACS: The silent revolution. Eur
Radiol 9:1152-1160, 1999.
1012 bytes). 3. Mildenberger P, Eichelberg M, Martin E: Introduction
To facilitate the exchange and handling of to the DICOM standard. Eur Radiol 12:920-927, 2002.
images from multiple different imaging
modalities and from different vendors each
with their own custom software, image file BIBLIOGRAPHY
format standards have been developed. The General references on image processing
central standard in radiology is the Digital Gonzalez RC, Woods RE: Digital Image Processing, ed 3,
Upper Saddle River, NJ, 2008, Pearson Prentice Hall.
Imaging and Communications in Medicine (Chapters 2, 3, 6, and 10 are especially relevant.)
(DICOM) standard described in reference 3, Robb RA: Biomedical Imaging, Visualization, and Analy-
and all manufacturers producing diagnostic sis, ed 2, New York, 1999, Wiley-Liss.