Presentation 32777 Content Document 20250313123607AM
Presentation 32777 Content Document 20250313123607AM
22MD63
–1–
Objectives of Biomedical Image Analysis
1. THE NATURE OF BIOMEDICAL IMAGES 1.10. OBJECTIVES OF BIOMEDICAL IMAGE ANALYSIS
–127– ◯c G o n z a l e z
1. THE NATURE OF BIOMEDICAL IMAGES 1.10. OBJECTIVES OF BIOMEDICAL IMAGE ANALYSIS
Physiological system
(patient) Image data acquisition
Biomedical images
Imaging Analog-to- Picture archival and
Transducers
system digital communication system
conversion (PACS)
Probing signal or
radiation
Computer-aided
diagnosis
and therapy
Physician or
medical
specialist
Image or pattern analysis Image processing
Figure 1.33: Computer-aided diagnosis and therapy based upon biomedical image analysis.
endoscopes,
catheter-tip sensors,
X-ray contrast
media.
statistical,
structural,
perceptual,
semantic, and
diagnostic
connotations.
Energy limitations:
Patient safety:
sampling, and
quantization.
2.3.1 Sampling
(a) (b)
(c) (d)
Figure 2.1: Effect of sampling on the appearance and quality of an image: (a) 225 × 250 pixels; (b) 112 × 125
pixels; (c) 56 × 62 pixels; and (d) 28 × 31 pixels. All four images have 256 gray levels at 8 bits per pixel.
2.3.2 Quantization
Table 2.1: Relationships Between Tissue Type, Tissue Density, X- ray Attenuation Coefficient, Hounsfield Units
(HU ), Optical Density (OD ), and Gray Level. The X- ray Attenuation Coefficient was Measured at a Photon
Energy of 103.2 keV .
(a) (b)
(c) (d)
Figure 2.3: Effect of gray-level quantization on the appearance and quality of an image: (a) 64 gray levels (6 bits
per pixel); (b) 16 gray levels (4 bits per pixel); (c) four gray levels (2 bits per pixel); and (d) two gray levels (1 bit
per pixel) All four images have 225 × 250 pixels. Compare with the image in Figure 2.1 (a) with 256 gray levels
at 8 bits per pixel.
colu n n = 1 2 3 4
x = 0 1 2 3
O D = log10 I i .
(2.5)
Io
I
o
film with image
(transparency)
Ii
light
Figure 2.5: Measurement of the optical density at a spot on a film or transparency using
a laser microdensitometer.
order of
0 − 600 cd/m2 in luminance or 1 : 1, 000 in sampled
gray levels.
–178– ◯c R.M. Rangayyan, CRC
2. IMAGE QUALITY AND INFORMATION CONTENT 2.5. DYNAMIC RANGE
3.0 Saturation
-
Shoulder
1
.
0
Toe
- Background level
(base, fog, noise)
log (exposure)
2.6 Contrast
C O D = f O D − b OD , (2.6)
Figure 2.7: Illustration of the notion of contrast, comparing a foreground region f with its background b.
When the image parameter has not been normalized, the measure
of contrast will require normalization.
or as
f − b
C1 = . (2.8)
b
Due to the use of a reference background, the measures
defined above are often referred to as simultaneous contrast.
Example:
130 −
Cl = = −0.1333, (2.9)
15015
0
130 − 50
Cr = = +1.6. (2.10)
5
0
Figure 2.8: Illustration of the effect of the background on the perception of an object (simultaneous contrast).
The two inner squares have the same gray level of 130, but are placed on different background levels of 150 on
the left and 50 on the right.
Just-noticeable difference:
Weber’s law:
Figure 2.9: Illustration of the notion of just-noticeable difference. The five bars have intensity values of (from left
to right) 155, 175, 195, 215, and 235, and are placed on a background of 150. The first bar is barely noticeable;
the contrast of the bars increases from left to right.
Figure 2.10: Part of a mammogram with several calcifications associated with malignant breast disease. The
density of the background affects the contrast and visibility of the calcifications. The image has 768 × 512 pixels
at a resolution of 62 µm; the true width of the image is about 32 mm.
2.7 Histogram
P
M −1 N − 1 δd[f (m, n) − l], l = 0, 1, 2, . . . , L −
(l) =
Σ 1,
f
m =0
Σ (2.12)
n =0
L−1
Σ
P f (l) = M N . (2.14)
l=
0
1
(2.15)
p f (l) = P f (l).
MN
L−1
Σ
p f (l) = 1. (2.16)
l=
0
4
x 10
1.
5
Number of
pixels
0.
5
0
0 5 10 15 20 25
0 0 Gray level 0 0 0
Figure 2.11: Histogram of the image of the ventricular myocyte in Figure 1.3. The size of the image is 480 ×480 =
230, 400 pixels. Entropy H = 4.96 bits.
3000
2500
2000
Number of
1500
pixels
1000
500
0
0 50 100 150 200 250
Gray
level
(a)
1800
1600
1400
1200
1000
Number of
pixels
800
600
400
200
(b)
Figure 2.12: (a) Histogram of the image of the collagen fibers in Figure 1.5 (b); H = 7.0 bits. (b) Histogram of
the image after the application of the 3 × 3 mean filter and rounding the results to integers; H = 7.1 bits.
Figure 2.13: Part of a mammogram with a malignant tumor (the relatively bright region along the upper-left
edge of the image). The size of the image is 700 × 700 = 490, 000 pixels. The pixel resolution of 62 µm; the width
of the image is about 44 mm. Image courtesy of Foothills Hospital, Calgary.
0.02
5
0.0
2
0.01
Probability of
5
occurrence
0.0
1
0.00
5
0
0 50 10 15 20 25
0 Gray level 0 0 0
Figure 2.14: Normalized histogram of the mammogram in Figure 2.13. Entropy H = 6.92 bits.
Figure 2.15: C T image of a patient with neuroblastoma. Only one sectional image out of a total of 75 images in
the study is shown. The size of the image is 512 × 512 = 262, 144 pixels. The tumor, which appears as a large
circular region on the left-hand side of the image, includes calcified tissues that appear as bright regions. The
H U range of [−200, 400] has been linearly mapped to the display range of [0, 255]; see also Figures 2.16 and 4.4.
Image courtesy of Alberta Children’s Hospital, Calgary.
2500
2000
1500
Number of
pixels
1000
500
0
−2 − 10 0 100 200 300 400
00 0 Hounsfield
Units
(a)
x 104
10
6
Number of
5
voxels
0 −10 0 100 20 30 40
−200 0 Hounsfield 0 0 0
Units
(b)
Figure 2.16: (a) Histogram of the C T section image in Figure 2.15. (b) Histogram of the entire C T study of the
patient, with 75 sectional images. The histograms are displayed for the range H U = [−200, 400] only.
–202– ◯c R.M. Rangayyan, CRC
An example of digital image acquisition.
(a) Illumination (energy) source. (b) A scene. (c) Imaging system. (d) Projection of the
scene onto the image plane. (e) Digitized image.
◯c Gonzalez
NEIGHBORS OF A PIXEL
When referring in the following discussion to particular pixels, we use lower case letters,
such as p and q.
A pixel p at coordinates (x ,y ) has two horizontal and two vertical neighbors with
coordinates
This set of pixels, called the 4-neighbors of p, is denoted N4(p). The four diagonal
neighbors of p have coordinates
The set of image locations of the neighbors of a point p is called the neighborhood of p.
The neighborhood is said to be closed if it contains p. Otherwise, the neighborhood is
said to be open.
◯c Gonzalez
ADJACENCY, CONNECTIVITY, REGIONS, AND BOUNDARIES
Let V be the set of intensity values used to define adjacency. In a binary image,
V ={ 1 } if we are referring to adjacency of pixels with value 1.
In a grayscale image, the idea is the same, but set V typically contains more elements.
For example, if we are dealing with the adjacency of pixels whose values are in the
range 0 to 255, set V could be any subset of these 256 values.
1. 4-adjacency. Two pixels p and q with values from V are 4-adjacent if q is in the set N 4(p
).
2. 8-adjacency. Two pixels p and q with values from V are 8-adjacent if q is in the set
N8(p).
3. m-adjacency (also called mixed adjacency). Two pixels p and q with values from V are
m-adjacent if
(a) q is in N4(p). Or
(b) q is in ND(p)) and the N4(p)ՈN4(q) has no pixels whose values are from V.
◯c Gonzalez
(a) (b) (c) (d) (e) (f)
◯c Gonzalez
◯c Gonzalez
V={1}
p, p2, and p4 have a value of 1
If p1 and p3 are 0, the length of the shortest m-path (the
Dm distance) between p and p4 is 2.
If p1 is 1, then p2 and p will no longer be m-adjacent
(see the definition of m-adjacency given earlier) and
the length of the shortest m-path becomes 3 (the path
goes through the points pp1p2p4).
◯c Gonzalez
INTRODUCTION TO THE BASIC MATHEMATICAL TOOLS USED IN
DIGITAL IMAGE PROCESSING
ELEMENTWISE VERSUS MATRIX OPERATIONS
An elementwise operation involving one or more images is carried out on a pixel-by pixel
basis
Consider the following 2 * 2 images (matrices):
The matrix product of the images is formed using the rules of matrix multiplication
◯c Gonzalez
LINEAR VERSUS NONLINEAR OPERATIONS
The first property is called the property of additivity, and the second is called the property of
homogeneity. By definition, an operator that fails to satisfy Eq. (2-23) is said to be nonlinear.
◯c Gonzalez
◯c Gonzalez
ARITHMETIC OPERATIONS
Arithmetic operations between two images f (x, y) and g (x, y) are denoted as
These are elementwise operations which means that they are performed between corresponding
pixel pairs in f and g for x = 0,1,2, , , , , … M-1 and y= 0,1,2, , , , , . … N-1.
As usual, M and N are the row and column sizes of the images. Clearly, s, d, p, and v are images
of size M x N
As K increases, as equation indicate that the variability (as measured by the variance or the
standard deviation) of the pixel values at each location (x , y ) decreases.
Because E{g(x , y)} = f(x ,y ) this means it approaches the noiseless image f (x , y ) as the
number of noisy images used in the averaging process increases. In order to avoid blurring
and other artifacts in the output (average) image, it is necessary that the images g i (x, y ) be
registered (i.e., spatially aligned).
2. IMAGE QUALITY AND INFORMATION CONTENT 2.9. BLUR AND SPREAD FUNCTIONS
(a)
(b)
Figure 2.17: (a) An ideal point source. (b) A Gaussian-shaped point spread function.
Focal spot.
Thickness of screen or crystal.
Scattering.
Ideal Finite
point focal
source spot
X rays
Object
being
imaged
Umbra Umbra
Penumbra
(blur)
Figure 2.18: The effect of a finite focal spot (X- ray-generating portion of the target) on the sharpness of the image
of an object.
(x,y) y f (x,y) y y
l fe
(x,y)
x x x
Integrate Integrate
Figure 2.19: The relationship between point (impulse function), line, and edge (step) images. The height of each
function represents its strength.
Blurred or
unsharp edge
Intensity
f(x)
f(a)
x=a x=b
Distance x
Figure 2.20: Blurring of an ideal sharp edge into an unsharp edge by an imaging system.
H l (v) = ∞
h l (y) exp(−j2πvy) dy
∫
y =−∞
= ∞
dy ∞
dx h(x, y) exp[−j2π(ux +
∫ ∫
y =−∞ x =−∞
vy)]|u=0
= H(0, v),
(2.35)
Figure 2.21: Nuclear medicine (planar) image of a line source obtained using a gamma camera. The size of the
image is 64 × 64 pixels, with an effective width of 100 mm. The pixel size is 1.56 mm.
18
0
16
0
14
0
12
0
Scaled
counts
10
0
80
60
40
0 10 20 30 40 50 70 80 90 10
0
20 60
Distance in
Figure 2.22: Sample profile (dotted line) and averaged
profile
mm
(solid line)
obtained from the image in Figure 2.21.
Either profile may
0
be taken to represent the L S F of the gamma camera.
2.10 Resolution
F (u, v) =
∫
∞
x =−∞ −∞ f (x, y) exp[−j 2π(ux+vy)] dxdy.
∫
∞
y =
(2.40)
1 M −1 N − 1 mk nl
F (k, l) = f (m, n) exp − j + .
MN Σ
M N
2π
m =0
Σ (2.42)
n =0
Then, the inverse transform gives back the original image with no
error or loss of information as
M −1
Σ
mk nl
Nk=0
−1 F (k, l) exp +j 2π + ,
M N
f (m, n) = Σ
(2.43)
l= 0
for m = 0, 1, . . . , M − 1, and n = 0, 1, . . . , N − 1.
Figure 2.23: The first eight sine basis functions of the 1D D F T; k = 0, 1, 2, . . . , 7 from top to bottom. Each
function was computed using 64 samples.
Figure 2.24: The first 64 cosine basis functions of the 2D D F T. Each function was computed using a 64 × 64
matrix.
Figure 2.25: The first 64 sine basis functions of the 2D D F T. Each function was computed using a 64 × 64 matrix.
F (k, l) = 1 × (2.52)
N
N−1 2π N−1 2π
exp − j mk f (m, n) exp − j nl .
Σ
m =0
N
Σ
n =0
N
N−1 2π
1
F (m, l) = N f (m, n) exp − N
Σ
N
n =0
1 N−1 2π
F (k, l) = Σ
F (m, l) exp − N
(2.54)
N m =0
2. Parseval’s theorem:
The Fourier transform is an energy-conserving transform.
∞ ∞
|f (x, y)|2 dxdy
∫ ∫
x =−∞ y =−∞
=
∫
∞
u =−∞
∫
∞
v =−∞ |F (u, v)|2 du (2.55)
dv.
f = I F T (F ) = [FT {F
}]
∗ ∗
(2.59)
N
(2.60)
2π
f (m, n) exp j (k om + l on) ⇔ F (k − k o, l − l ).
N o
(2.61)
N o
(2.62)
(m+n)
f (m, n) (−1) ⇔ F (k − N/2, l − N/2). (2.63)
f (m 1 , n 1 ) ⇔ F (k 1 , l1 ), (2.64)
1
f (am, bn) ⇔ (2.67)
k l
| F , ,
a b
ab|
where a and b are scalar scaling factors.
The shrinking of an image leads to an expansion of
its spectrum, with increased high-frequency content.
On the contrary, if an image is enlarged, its spectrum is
shrunk, with reduced high-frequency energy.
β =0
N−1 N−1
γ
f, g (α, β) = Σ
n =0
(2.73)
N−1 Σ N−1
n=0 f (m, n) g(m,
Σ
m=0
γ= .
"
N−1 N−1 n)
2 (m, n) Σ N − 1 Σ N − 1 g2(m, n) 2
#1
Σ
m=0
Σ
n=0 f m=0 n=0
(2.74)
∂ f (x,
⇔ j2πu F (u, v);
y) ∂x
∂ f (x,
⇔ j2πv F (u, v). (2.75)
y) ∂y
′
f y (m, n) ≈ f (m, n) − f (m − 1,
n),
′
f x (m, n) ≈ f (m, n) − f (m, n − (2.76)
1),
(a) (b)
(c) (d)
(e) (f)
Figure 2.26: (a) Rectangle image, with total size 128 × 128 pixels and a rectangle (square) of size 40 × 40 pixels.
(b) Log-magnitude spectrum of the image in (a). (c) Rectangle size 20 × 20 pixels. (d) Log-magnitude spectrum
of the image in (c). (e) Rectangle size 10 × 10 pixels. (f) Log-magnitude spectrum of the image in (e). The
spectra have been scaled to map the range [5, 12] to the display range [0, 255]. See also Figures 2.28 and 2.29.
(0, -V/2)
(0, V) (U, V)
v v
(a) (b)
Figure 2.27: Frequency coordinates in (a) the unshifted mode and (b) the shifted mode of display of image
spectra. U and V represent the sampling frequencies along the two axes. Spectra of images with real values
possess conjugate symmetry about U/2 and V/2. Spectra of sampled images are periodic, with the periods equal
to U and V along the two axes. It is common practice to display one complete period of the shifted spectrum,
including the conjugate symmetric parts, as in (b). See also Figure 2.28.
–261– ◯c Mathworks
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
–261– ◯c Mathworks
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
ω1
ω2
–261– ◯c Mathworks
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
(a) (b)
Figure 2.28: (a) Log-magnitude spectrum of the rectangle image in Figure 2.26 (e) without shifting. Most F F T
routines provide spectral data in this format. (b) The spectrum in (a) shifted or folded such that (u, v) = (0, 0)
is at the center. It is common practice to display one complete period of the shifted spectrum, including the
conjugate symmetric parts, as in (b). See also Figure 2.27.
(a) (b)
Figure 2.29: (a) Mesh plot of the rectangle image in Figure 2.26 (e), with total size 128×128 pixels and a rectangle
(square) of size 10 × 10 pixels. (b) Magnitude spectrum of the image in (a).
(a) (b)
(c) (d)
(e) (f)
Figure 2.30: (a) Rectangle image, with total size 128 × 128 pixels and a rectangle of size 10 × 40 pixels.
(b) Log-magnitude spectrum of the image in (a). (c) Rectangle size 40 × 10 pixels; this image may be considered
to be that in (a) rotated by 90o. (d) Log-magnitude spectrum of the image in (c). (e) Image in (c) rotated by 45o
using nearest-neighbor selection. (f) Log-magnitude spectrum of the image in (e). Spectra scaled to map [5, 12]
to the display range [0, 255].
–263– ◯c R.M. Rangayyan, CRC
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
,
, 1 if r < 1
circ(r) = (2.51)
,,,,
0 if r > 1 ,
where r = (x 2 + y2).
(a) (b)
Figure 2.31: (a) Image of a circular disc. The radius of the disc is 10 pixels; the size of the image is 128 × 128
pixels. (b) Log-magnitude spectrum of the image in (a). See also Figures 2.32 and 2.33.
4
x 10
250 8
7
200
6
5
150
4
100 3
2
50
1
0
120 120
100 100
120 120
80 100 80 100
60 80 60 80
40 60 40 60
40 40
20 20 20 20
(a) (b)
Figure 2.32: (a) Mesh plot of the circular disc in Figure 2.31 (a). The radius of the disc is 10 pixels; the size of the image is 128 × 128 pixels.
(b) Magnitude spectrum of the image in (a).
11 11
10 10
9 9
8 8
log magnitude
log magnitude
7 7
spectrum
spectrum
6 6
5 5
4 4
3 3
20 40 60 80 100 120 10 20 30 40 50 60
sample sample
number number
(a) (b)
Figure 2.33: (a) Profile of the log-magnitude spectrum in Figure 2.31 (b) along the central horizontal axis.
(b) Profile in (a) shown only for positive frequencies. The frequency axis is indicated in samples; the true
frequency values depend upon the sampling frequency.
(a) (b)
(c) (d)
Figure 2.34: (a) T E M image of collagen fibers in a normal rabbit ligament sample. (b) Log-magnitude spectrum
of the image in (a). (c) T E M image of collagen fibers in a scar tissue sample. (d) Log-magnitude spectrum of the
image in (c). See also Figure 1.5 and Section 1.4.
(a) (b)
(c) (d)
Figure 2.35: (a) SEM image of collagen fibers in a normal rabbit ligament sample. (b) Log-magnitude spectrum
of the image in (a). (c) SEM image of collagen fibers in a scar tissue sample. (d) Log-magnitude spectrum of the
image in (c). See also Figure 1.8 and Section 1.4.
–272– ◯c Gonzalez
2. IMAGE QUALITY AND INFORMATION CONTENT
(a) (b)
–272– ◯c Gonzalez
2. IMAGE QUALITY AND INFORMATION CONTENT
Using image multiplication and division for shading correction and for masking
–272– ◯c Gonzalez
2. IMAGE QUALITY AND INFORMATION CONTENT
–272– ◯c Gonzalez
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
–274– ◯c Gonzalez
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
Neighbourhood operations
Eq. 2-43
–274– ◯c Gonazalez
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
where ( x, y ) are pixel coordinates in the original image and (x’ , y’ ) are the
corresponding pixel coordinates of the transformed image.
For example, the transformation (x’, y’) = ( x/2, y/2 ) shrinks the original image to half
its size in both spatial directions.
–274– ◯c Gozalez
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
Geometric Transformations
–272– ◯c Gonzalez
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
–274– ◯c Gonzalez
2. IMAGE QUALITY AND INFORMATION CONTENT 2.11. THE FOURIER TRANSFORM AND SPECTRAL CONTENT
IMAGE TRANSFORMS
(a) (b)
(c) (d)
(e) (f)
Figure 2.36: (a) Image of a rectangular box. (c) Horizontal and (e) vertical derivatives of the image in (a),
respectively. (b), (d), and (f): Log-magnitude spectra of the images in (a), (c), and (e), respectively. The images
in (c) and (e) were obtained by mapping the range [−200, 200] to the display range of [0, 255]. Negative differences
appear in black, positive differences in white. The spectra show values in the range [5, 12] mapped to [0, 255].
(a) (b)
(c) (d)
(e) (f)
Figure 2.37: (a) Image of a myocyte. (c) Horizontal and (e) vertical derivatives of the image in (a), respectively.
(b), (d), and (f): Log-magnitude spectra of the images in (a), (c), and (e), respectively. Images in (c) and (e)
were obtained by mapping the range [−20, 20] to the display range of [0, 255]. The spectra show values in the
range [3, 12] mapped to [0, 255].
(a) (b)
(c) (d)
(e) (f)
Figure 2.38: (a) MR image of a knee. (c) Horizontal and (e) vertical derivatives of the image in (a), respectively.
(b), (d), and (f): Log-magnitude spectra of the images in (a), (c), and (e), respectively. The images in (c) and
(e) were obtained by mapping the range [−50, 50] to the display range of [0, 255]. Negative differences appear in
black, positive differences in white. The spectra show values in the range [3, 12] mapped to [0, 255].
2 ∂2 f ∂2 f
(2.77)
∇ f (x, y) = + .
∂x 2 ∂y 2
2 2 2 2
∇ f (x, y) ⇔ −(2π) (u + v ) F (u, v).
(2.78)
≈ f (m, n) − f (m − 1, n) − [f (m − 1, n) − f (m − 2,
n)]
= f (m, n) − 2 f (m − 1, n) + f (m − 2, n)
(2.79)
= f (m − 1, n) − 2 f (m, n) + f (m + 1,
n).
′′
f x (m, n) ≈ f (m, n − 1) − 2 f (m, n) + f (m, n +
1). (2.81)
f L ( m , n) = f (m − 1, n) + f (m, n − 1) − 4f (m, n)
+ f (m + 1, n) + f (m, n + 1).
(2.82)
1 −4 1
. (2.83)
0 1 0
0
0
(a) (b)
Figure 2.39: (a) Laplacian of the rectangle image in Figure 2.36 (a). (b) Log-magnitude spectrum of the image
in (a).
(a) (b)
Figure 2.40: (a) Laplacian of the myocyte image in Figure 2.37 (a). (b) Log-magnitude spectrum of the image in
(a).
(a)
(b)
Figure 2.41: (a) Laplacian of the MR image in Figure 2.38 (a). (b) Log-magnitude spectrum of the image in (a).
1
∫
x
α=−∞ f (α, y) dα ⇔ F (u, v), (2.84)
j2πu
1
∫ y
β=−∞ f (x, β) dβ ⇔ F (u, v). (2.85)
j2πv
∫ A /2 ∫ B/2
1 α =
g(x, y) = −A/2 f (x + α, y + β) dα
AB β=−B/2 dβ,
(2.86)
where the region of integration is a rectangle of size A × B .
The normalization factor A1B leads to the average intensity
being computed over the area of integration.
This may be interpreted as a moving-average (MA)
filter.
1 1Σ 1
g(m, n) = 9 f (m + α, n + (2.87)
Σ
α=
β=−1
1
— β).
g(m, n) = 1 ×
9
[ f (m − 1, n − 1) + f (m − 1, n) + f (m − 1, n + 1)
+ f (m, n − 1) + f (m, n) + f (m, n + 1)
+ f (m + 1, n − 1) + f (m + 1, n) + f (m + 1, n + 1)
].
(2.88)
1
11
1
1
11
(2.89)
9
,
1 1
1
which may be viewed as the PSF of a filter.
Equivalent to multiplication of the Fourier transform of the
image with a 2D sinc function.
(a) (b)
(c) (d)
(e) (f)
Figure 2.42: (a) Image of a rectangular box. Results of averaging using three pixels in the (c) horizontal and
(e) vertical directions, respectively. (b), (d), and (f): Log-magnitude spectra of the images in (a), (c), and (e),
respectively. The spectra show values in the range [5, 12] mapped to [0, 255].
(a) (b)
Figure 2.43: (a) Result of 3 × 3 averaging of the rectangle image in Figure 2.42 (a). (b) Log-magnitude spectrum
of the image in (a).
(a) (b)
(c) (d)
(e) (f)
Figure 2.44: (a) Image of a myocyte. Results of averaging using three pixels in the (c) horizontal and (e) vertical
directions, respectively. (b), (d), and (f): Log-magnitude spectra of the images in (a), (c), and (e), respectively.
The spectra show values in the range [3, 12] mapped to [0, 255].
(a) (b)
Figure 2.45: (a) Result of 3 × 3 averaging of the myocyte image in Figure 2.44 (a). (b) Log-magnitude spectrum
of the image in (a).
(a) (b)
(c) (d)
(e) (f)
Figure 2.46: (a) MR image of a knee. Results of averaging using three pixels in the (c) horizontal and (e) vertical
directions, respectively. (b), (d), and (f): Log-magnitude spectra of the images in (a), (c), and (e), respectively.
The spectra show values in the range [3, 12] mapped to [0, 255].
(a) (b)
Figure 2.47: (a) Result of 3 × 3 averaging of the knee MR image in Figure 2.46 (a). (b) Log-magnitude spectrum
of the image in (a).
Mean:
µg = µ f + µ η , (2.92)
Variance:
σ2 = σ2 + σ2. (2.93)
g f
η
2f
S N R 1 = 10 log10 σ
(2.94)
σ η2
dB.
µ f − µb
CNR = , (2.96)
σb
Mean-squared error:
1 MΣ −1 NΣ− 1 2
MSE = [f (m, n) − g(m, n)] (2.97)
MN m=0 n=0
.
Normalized MSE:
M −1 N−1 2
Σ
m=0
Σ
n=0 [f (m, n) − g(m,
NMSE = . (2.98)
Σ M −1
m=0
n)]
Σ N−1
n=0 [f (m, 2
n)]
Normalized error:
M −1 N−1
Σ Σ
|f (m, n) − g(m,
m=0 Σ Mn=0 (2.99)
N E = −1
m=0
n)|
Σ N−1
n=0 |f (m,
.
n)|
Laplacian MSE:
Σ M −2
m=1
Σ N−2
n=1 [f L (m, n) − gL (m, n)]2
LMSE = Σ M −2 Σ N−2 2 .
m=1 n=1 [f L (m, n)] (2.100)
A = 1 ∫
b
d f (x)
2
a
dx. (2.101)
f (b) − f (a)
dx
Blurred or
unsharp edge
Intensity
f(x)
f(a)
x=a x=b
Distance x
(2.108)
Rangayyan and Elkadiki split the normal at each boundary
pixel into a foreground part f (n) and a background part b(n)
and defined an averaged gradient as
1 N f
( n ) − b(n) (2.109)
Σ
d
f (k) = N n=1 2n ,
Normal
b(3) Background
b(2)
b(1)
f(1)
f(2)
Boundary
f(3)
Foreground
(Object)
Figure 2.52: Computation of differences along the normals to a region in order to derive a measure of acutance.
Four sample normals are illustrated, with three pairs of pixels being used to compute differences along each
normal.
The averaged gradient values over all boundary pixels were then
combined to obtain a single normalized value of acutance A :
1
1
1 KΣ 2
2
A =
f d (k) , (2.110)
k=1
dmax K
Acutance:
reduced by blurring,
increased by sharpening,
not affected significantly
by noise,
correlates well with
sharpness as judged by
human observers.
CT Scan Protocols: Define parameters such as slice thickness, contrast agent usage,
and radiation dose optimization.
MRI Protocols: Specify pulse sequences, field strength, and scan duration based on
the region of interest (e.g., Brain MRI vs. Spine MRI).
Ultrasound Protocols: Define probe type, scanning angles, and Doppler settings for
imaging various organs.
Nuclear Medicine Protocols: Specify radiopharmaceutical dosage, imaging time
points, and reconstruction techniques for PET and SPECT scans.
Example:
• Head CT without contrast: Used for stroke detection.
• T1-weighted MRI with gadolinium: Used for tumor detection in the brain
Ensures Image Quality & Accuracy – Standardized protocols prevent imaging errors
and variability.
Enhances Patient Safety – Optimized radiation doses and proper scanning techniques
reduce risks.
Facilitates Data Sharing & Interoperability – Standards like DICOM and HL7 ensure
seamless communication between systems.
Supports AI & Machine Learning Applications – Structured imaging data helps in
developing automated diagnosis tools.
Regulatory Compliance – Adhering to ISO, FDA, and hospital-specific guidelines
ensures legal and ethical practices.