Unit 2 ( - MIP) Notes
Unit 2 ( - MIP) Notes
• Several limitations are encountered in imaging such organs special imaging devices and
image processing techniques are required to facilitate their visualization
• Visualization of the arteries in the brain requires the injection of an Xray contrast agent
and the subtraction of a reference image
• Despite the use of such special devices and techniques, images obtained in some
applications tend to be affected by severe artifacts
[2] Variability of information
• Biological systems exhibit great ranges of inherent variability within their
different categories
• The intrinsic and natural variability presented by biological entities within a given
class far exceeds the variability that we may observe in engineering, physical, and
manufactured samples
• Imaging conditions and parameters could cause ambiguities due to the effects of
subject positioning and projection
• Most malignant breast tumors are irregular and spiculated in shape, whereas
benign masses are smooth and round/oval
• However, some malignant tumors may present smooth shapes, and some benign
masses may have rough shapes
• However, cardiac activity, blood circulation, and peristaltic movement are not
under one’s volitional control
• The rhythmic contractile activity of the heart poses challenges in imaging of the
heart
• The pulsatile movement of blood through the brain causes slight movements of
the brain that could cause artifacts in an giographic imaging
• Dark shadows may appear in ultrasound images next to bony regions due to
significant attenuation of the investigating beam and hence the lack of echoes
from tissues beyond the bony regions along the path of beam propagation
• Electronic steering of the Xray beam has been employed to reduce the scanning
time required for CT projection data acquisition in order to permit imaging of the
heart
[4] Energy limitations
• In Xray mammography, considering the fact that the organ imaged is mainly
composed of soft tissues, a low kVp would be desired in order to maximize image
contrast
• However, low-energy Xray photons are absorbed more readily than high-energy
photons by the skin and breast tissues, thereby increasing the radiation dose to
the patient
• The protection of the subject in a study from electrical shock, radiation hazard,
and other potentially dangerous conditions is an unquestionable requirement of
paramount importance
• The relative levels of potential risks involved should be assessed when a choice is
available between various procedures, and analyzed against their relative
benefits
Characterization of Image Quality
• Sampling may be modeled as the multiplication of the given analog signal with a
periodic train of impulses.
.. . r::- -~.,~
~~~
tJII!
~ \~,
.,. I
·' \'
-~
-~_~•"V''
';_,.
-.-=-
~- .•-.
-
'
~ •
.
--~
L
-~
....,,
(a) (b)
(c) (d)
Figure 2.1: Effect of sampling on the appearance and quality of an image: (a) 225 x 250 pixels; (b) 112 x 125
pixels; (c) 56 x 62 pixels; and (d) 28 x 31 pi,xels. All four images have 256 gray levels at 8 bits per pixel.
Quantization
Using n bits per sample and positive integers only, there exist
2n possible quanhzed levels, spanning the range [O, 2n - 1].
L-1 R1 2
L fR, +
1
(r - Qz) p(r) dr. (2.1)
l=O
Q Q Q Q Q Q Quantizer
0 1 2 3 L-2 L-7 output levels
I 1
R
0
= rmin R
1
R
2
R
3
R
4
R
L-1
R
L
r
max
Decision levels
gray l.evel. r
Figure 2.2: Quantization of an image gray-level signal r with a Gaussian (solid line) or uniform (dashed line)
PDF. The quantizer output levels are indicated by Qi and the decision levels represented by Fq.
A classical result indicates that the output level Q z should lie at
the centroid of the part of the PDF between the decision levels
Rz and Rz+ 1 > given by
If{z+i r p( r) dr
Qz = R 1
, (2.2)
IR/+ p( r) dr
which reduces to
Rz + Rz+1
(2.3)
Qz
2
if the PDF is uniform.
Rz = Qz-1 + Qz . (2.4)
?.
.,_,
row
2 f(0,2) f(l,2) f(2,2) f (3, 2) f(l,1) f(l,2) f(l,3) f(l,4)
m =1
X =0 1 2 3
Ii]
OD - log 10 [ Io
• where Ii is the intensity of the light input and Io is the intensity of the light
transmitted through the film at the spot of interest
A perfectly clear spot will trans1nit all of the light that is input c::::::c~::::::::l
and will haYe OD= 0;
l 1
J.
•I•o-==i-- film with image
(transparency)
.l
light
a dark spot that reduces the intensity of the input light by a factor Measurement of the optical density
at a spot on a film or transparency
of 1, 000 will haYe OD = 3. using a laser microdensitometer.
cd - The candela is the SI unit of luminous intensity. The candela is used to measure the visual intensity of
light sources, like light bulbs or the bulbs in torches. It is the only SI base unit based on human perception
• Figure below compares the characteristic curves of two devices
Toe
/
/
Plots of film density versus the log of X-
~--
,I
.,.. . / Back round level
(base, fog, noise)
ray exposure are known as Hurter-
Driffield or HD curves
log (exposure)
• Air in the lungs and bowels, as well as fat in various organs including
the breast, tend to extend the dynamic range of images toward the
lower end of the density scale
Hounsfield units (HU) are a dimensionless unit universally used in computed tomography (CT) scanning to
express CT numbers in a standardized and convenient form. Hounsfield units are obtained from a linear
transformation of the measured attenuation coefficients
Contrast
• Contrast is defined in a few different ways, but is essentially the difference
between the parameter imaged in a region of interest (ROI) and that in a suitably
defined background
• If the image parameter is expressed in OD contrast is defined as
Coo = f oo - boo
where foD and boD represent the foregrom1d ROI and
background OD. respectively.
Figure 2.7: Illustration of I.he notion of contrast. comparing a foreground region / with its badtground b.
vVhen the in1age para1neter has not been nonualized. the n1.eastu·e
of contrast will require nonnalization.
or as
f-b
C1 = -b-. (2.8)
Due to the use of a reference background. the measures defined
aboYe are often referred to as s;,nulraneous contrast.
• Example: The two squares in Figure are of the same value (130 in the Scale 0 –
255), but are placed on two different background regions of value 150 on the left
and 50 on the right
• The lighter background on the left makes the inner square region appear darker
than the corresponding inner square on the right
• This effect could be explained by the measure of simultaneous contrast: the contrast of the inner
square on the left, using the definition in Equation 2.8 is
_ 130 150 _
Cl - - 0.1333,
150
whereas that for the inner square on the right is
130 50
Cr - - tl.6.
50
• The values of Cl and Cr using the definition in Equation 2.7 are, respectively, -0.0714 and +0.444
• The advantage of this formulation is that the values of contrast are limited to the range [-1,1]
• The negative contrast value for the inner square on the left indicates that it is darker than the
background, whereas it is the opposite for that on the right
Just noticeable difference
• The concept of just-noticeable difference (JND) is important in analyzing contrast,
visibility and the quality of medical images
JND is determined as follows
• For a given background level b as in Equation 2.8, the value of an object in the
foreground f is increased gradually from the same level as b to a level when the
object is just perceived
• The value (f – b)/b at the level of minimal perception of the object is the JND for
the background level b
• The experiment should, ideally, be repeated many times for the same observer,
and also repeated for several observers
• Experiments have shown that the JND is almost constant, at approximately 0.02
or 2% over a wide range of background intensity; this is known as Weber’s law
Example: The five bars in Figure 2.9 have intensity values of (from left to
right) 155, 175, 195, 215, and 235. The bars are placed on a background of
150. The contrast of the first bar (to the left), according to Equation 2.8, is
1111
Example: A calcification that appears again.st fat and lo~•-density
tissue may possess high. contrast and be easily Yisible.
Figure 2.10: Part of a mammogram with several calcifications ~iatcd with malignant b~t disca1:£. The
density of the background affects the contrast and visibility of lhe calcificalions. The image h~ 768 x512 pixe~
at al'CSl]ution of 62 µm; the true \\idth of lhe image~ about ~2 mm.
Histogram
• The dynamic range of the gray levels in an image provides global information on
the extent or spread of intensity levels across the image
• However, the dynamic range does not provide any information on the existence
of intermediate gray levels in the image
• The histogram of an image provides information on the spread of gray levels over
the complete dynamic range of the image across all pixels in the image
Histogram Processing
• The histogram of a digital image with gray levels in the range [0, L-1] is a
discrete function
h(rk)=nk,
where
rk is the kth gray level
nk is the number of pixels in the image having gray level rk
• In practice, a histogram is normalized by dividing each of its values by the
total number of pixels in the image, denoted by n
• A normalized histogram is given by
p(rk)=nk / n,
for k=0, 1,…… ,L-1
• p(rk) gives an estimate of the probability of occurrence of gray
level rk
I
2
6
3
6
4
4
5
6
6
6
cP 5
5/36
4
4/36
5
5/36
6
6/36
2
2/36
14
14/36
3 4 5 6 6 6
I 4 6 6 2 3
I 3 6 4 6 6
42
300(),------~------~------~-------,
200
43
Properties of Histogram
♦ The histogram only shows the distribution of grey levels in the
image, and it doesn't include the location information of pixels.
(a) (b)
44
lniage Histogran,s
X 10
.
..
3.5
2.5
1.5
0.5
45
Image Histograms
7000
6000
5000
4000
3000
2000
1000
Over-exposed image
46
Groups of Histogrm:n
47
Grol1ps of Histogram
MlmH::ltl:c:i::i
■ h:C:im111c::i:
► lmli· =
·Uc:ll:Ci ~
48
• Information inherent in histograms also is quite useful in other
image processing applications, such as image compression and
segmentation
Dark image
For dark image components
of the histogram are
concentrated on the low
(dark) side of the gray scale
Bright image
The components of the
histogram of the bright image
are biased toward the high
side of the gray scale
Low-cootrasl in,age
The components of the
histogram in the high-
contrast image cover a
broad range of the gray
scale
An image with low contrast has a histogram that will be narrow and will be centered
toward the middle of the gray scale
For a monochrome image this implies a dull, washed-out gray look
LS
t
ti.
b
I,
z
o.s
....,so_ _•
0 0....__ _ _
100 ,so 200 2SO
Gl>ylevel
Figure 2.11: Histq;ram of the imai;coflhc ,-mtricular myocytc in Figure 1.3. The size of the llMllC is 180 x 480 •
230,400 pixels. E:r1lropy // 4.96 bola.
• It is seen that most of the pixels in the image lie in the narrow range of 70 – 150 out of the available range
of 0 – 255
• The effective dynamic range of the image may be taken to be 70 – 150 rather than 0 – 255
• This agrees with the dull and low-contrast appearance of the image
• The full available range of gray levels has not been utilized in the image which
could be due to poor lighting and image acquisition conditions, or due to the
nature of the object being imaged
• The gray level of the large blank background in the image is in the range 80 -90;
the peak in the histogram corresponds to the general background range
• The relatively bright areas of the myocyte itself have gray levels in the range 100 –
130
• The histogram of the myocyte image is almost unimodal; that is, it has only one
major peak
• The peak happens to represent the background in the image rather than the
object of interest
,,.,.
•~ e '
•-•r,·:~,:,··~~--.
:-t>.
• . • - ·o~
~ :a ~I
·~~~1~..
•
I .--. i i
••'5
o.il,,a~
••o. ··--o
•• •:~ ~
•• .'¥':..,
~•J: l~ •~Ffofl
,• •F. !ti eS; 1
I _lit..,., ~ \~
~.. •.at°'~
~ , a
t: t.·-·-~
,_
'"""
t
! tCDl
! .,.
2
GO
:z,c
!Ill
010!-_ _. . . , . _ _. . . .
Figure 2.12: (a) Histogram of the image of the collagen fibers in rigure 1.5 (b); // 7.0 bit.s. (b) Histogram of (b)
the image after the application of the 3 x 3 mean filter and rounding the results to int.cgcrs; // 7.1 bil.s.
0.025
0.02
8
~ij 0.015
'II
l:-
D
.8
£ 0.01
0.005
0
0 50 100 150 200 250
Gray level
Figure 2.14: Normalized histogram of the nuunm0£ram in Piguro 2.13. Entropy II 6.92 bi.ll.
F'igure 2.13: Part of a mammograrn with a malignanl lwnor (the rclalivcly bright region along lhc upper-left
odgc of lhc image). The size of lhc image is 700 x 700 490,000 pixels. The pixel resolution of 62 µm; the widlh
of Lhc image is about 44 mm. Image courtesy of Foothills Hospilal, Calgary.
-
(a)
j•
i •
!
Figure 2.15: CT ima~ of apatient with ncuroblastoma. Only one scetional image out of atot.al of 75 llll8o"tS in i.
the study is shown. The sil.c of the image is 512 x512 262.1~1 pixels. The tumor, which appears as alarge
circular rq;ion oo thr left-hand side of the ima~1 includes calcified t~cs that appear as bright regions. The
/JU ran~ of I 200.400 has been linearly mapped lo the dL5play range of!O, 2551; s:c BBl figurcs 2.16 and 4.4.
Image court~ of AIberia Childrtn's lla;pilal. Calgary.
•100 o
-- t:x>
(b)
XO X10 c,o
l'igurc 2.16: (a) Histogram of lhc CT iMion image in Figure 2.15. (b) llislogram of the cnlirc CT sludy or the
I
palicnl. \\ilh 75 ll:Clional im,~. The histograms arc ~~rlaycd for the range 1/U 2Wa400 only. I 12 =
Entropy
The distribution of gray levels over the full available range is represented by the
histogram
However, it is often desirable to express, in a single quantity, the manner in which the
values of a histogram or PDF vary over the full available range
Entropy is a statistical measure of information that is commonly used for this purpose
Entt·opy is a stahstical n1eas11re of infor1nation.
L-1
H = - lEo p(l) log2 [p(l)] bits. (2.18)
L-1 1 [ 11 . (2.19)
Hrna'<= - I: L log2 Lj = log2 L.
l=O
Entropy does not account for the spatial distribution of the gray
leYels in a given i1nage.
and Pg( l2). where l1 and l2 represent gray leYels in the range
[O, L - l]. the average joint infonuation or joint entropy is
(2.22)
1 otherwise.
Higher-order entropy: The definition of the zeroth-order
entropy in Equation 2.18 assu1nes that the successiYe pixels
produced by the source are statistically independent.
1
I: p( { ln}) log2 [p( { ln} )] ; (2.23)
(n + 1) {ln}
Hf g = 0 and I fig = HJ
If g is independent off
H1 g = HJ and I11 9 = 0
(a) (b)
Figure 2.17: (a) An ideal point source. (b) A Gaussian-shaped point spread function.
Mathematically. an ideal point is represented by the continuous
unit itnpulse function or the Dirac delta function 8 (x, y):
and
fx00 _ 00
Jy00 _ 00
8(x, y) dx dy = 1. (2.26)
The JD Dirac delta function:
-----
8(x) is defined in tenus of its action ·within an integral as
00
/ 00 8(x) dx = 1, (2.29)
00
/ 00 o(x) dx == 1, (2.29)
o(x) == {undefined at x == 0 2 30
0 otherwise. ( - )
The delta function is also defined as the liiniting condition of
several ordinaiy functions. one of which is
■ Focal spot.
■ Thickness of screen or c1yst.al.
• Scattering.
Ideal
point
source J Finite
focal
spot
-x rays
Object
\-being
\ imaged
:' \ \
: \
' \
Umbra Umbra
Penumbra
(blur)
l<iguro 2.18: The effect of a finite focsl spot (X-my-genemling ponion of the target) on the sh9.f))ncss of the image
of an object.
Point, line, and edge spread functions:
l,igurc 2.19: The relationship between point (impulse function), line, and edge (step) images. The height of each
function represents its strength.
A phantom representing an ideal edge may also be used.
Blurred or
unsharp edge
,
J
Intensity
,
J
f(x) ,
J
,J
f(a)
I I
x=a x=b
Distance x
r,'igure 2.20: Blurring or an idCAI sharp edge into an unsharp edge by an imaging system.
Mathe1natical relationships between the PSF, LSF, and ESF:
00
fl ( X, Y) == fx -oo <5 (X, Y) dx
== o(y). (2.33)
The last integral above is equal to unity.
= f~-oo h(a, y) da
Hz(v) == Jy
00
_ 00 hz(y) exp(-j21rvy) dy
== Jy
00
_ 00 dy fx00 _ 00 dx h(x, y) exp[-j21r(ux + vy)]lu=O
== H(u, v)lu=O
The Fou1ier transfo1m of the LSF gives the values of the Fourier
transfo1m of the PSF along a line in the 2D Folll'ier plane
(in this case. along the v axis).
Consider integrating the line function as follows:
1 if y > 0
Yx, fe(x, y) == (2.37)
10 if y < o,
d
ht(Y) == dy he(y). (2.39)
Thus the ESF 1nay be used to obtain the LSF, which 1nay ftuther
be used to obtain the PSF and MfF.
Fro1n the Fourier slice theorem:
Figure 2.21: ~uclcsr medicine (planar) image of a line source obtained using a gQrnma carncr11. The size of the
image is 64 x &I pixels. with an effective width of 100 mm. The pixel siw is 1.56 mm.
180
160
140
120
! 100
§
I
"'
80
60 I
I
I \
'
40 I
20
0 .___
0 10 20 30
J
___.._ __,__ _. . . . _ - = = - - ' - - - - - ' - -
40 50
Distance in nvn
60
\_
70 so 90 100
Figure 2.22: Sample profile (dot Led line) and averngcd profile (solid line) obtained from the image in Figure 2.21.
Either profile may be taken to represent. the LSF of the g11111m11 camera.
f (mk nl'\l
f (m, n) == AI-1
I:
k=D
N-1
I:
l=D
F(k, l) exp +j 21r M +NI ,
l )J
(2.43)
, I I 111 I Ir , , , I I 11 I I Ir . r I I I l I I I 1,
1
'I! I I l I l 1 ' I[ I I I I 11 1I I I I I I I 11 1 I
11 I 11 r 1
1
, 1111 r,
1 1
d 11 I I I d 11 I I) 1
111111 11111 I I I I I] I I I I 111
I I I I Ir I I l 11 I I I JI I I [ ,1111, irllr,
I I
I 111 II II I' 11 I I I I ' 1111 1' I I I l I'
I 11 I I I I 11 I I IIII ti I 1. , r 11, 1II I1
I IlII I I 11' ' [ I 11 I IIII l I I I' l IlII
I] I 1 1 111, r 11 I r 11 I c 11 1. , I l 1. . r I le
III 'I I I' •I I I 1 I III I 11 1 [II I I l II
l<igurc 2.23: The firaL eight sine basis functions of the ID OFT: k = 0, l, 2, ... , 7 from top to bottom. Each
function was computed using 64 samples.
lligurc 2.24: The first 6.1 cosine basis functions of the 2D Dl-'T. Each function was computed using a 64 x 64
matrL'I:.
Fij,'llrc 2.25: The first 6-1 sine be.sis funeLions of the 2D DIT. Each funcLion was computed using e. 6.J x 6-t me.trix.
Zero padding for FFT: Pad the given i1nage with zeros or so1ne
other approp1iate background value and conven the in1age to a
square of size N x N where fl is an integral power of 2.
l
f(m, n) = N
N -1 N -1
k~O ~
1 0
[ 21r
F(k, l) exp +j N (mk + nl) .
l
(2.45)
. . . sin(1ru) sin(1rv)
sinc(u,v) = sinc(u) sinc(v) = - - - - - -
1ru 1fV
(2.50)
(a) (b)
(c) (d)
(o) (r)
Piguro 2.26: (a) Rectangle image, with tot.al size 128 x 128 pLxels and a rectangle (square) or size 40 x -to pLxcls.
(b) Log-magnitude spocmnn or Lhc inmgc in (a). (e) Rccuu1glo size 20 x 20 pixels. (d) Log-magnitude spoclrum
or the image in (c). (c) Rectangle size 10 x 10 pixels. (f) Log-magnimdc spoctmm or the image i.n (c). The
spectra have been scaled lo map the range 15. 12) to the display range (0. 255). Sec also Figures 2.28 and 2.29.
I
(0, 0) (U/2 -.,,1,, 0) (U, 0) (0, V/2)
,,, ' ,, '- /
, ' ,, '
I
u
I
(0,
... -V/2)
I
"' , '
/
ro: vJ I (U,
;
V)
V V
(a) (b)
Figure 2.27: Frequency coordinaws in (a) the unshift.cd mode and (b} the shifted mode of display of image
spectra... i· and \' reprc:s!nt the sampling frequencies along the two axes. Spectra of images \1,ith real va.lucs
possess conjugate symmetry about U/2 and V/2. Spectra of sampled images arc periodic. with the periods equal
to U and V along the two axes. h is common practic-c to display one romplct.c period of the shifted spectrum.
including the oonjugat.c symmetric parts. as in (b). Sec also i.igurc 2.28.
(a) (b)
l,igurc 2.28: (a) Log-magnitude spcctnuo of the rretaugle imago in Figure 2.26 (c) 9.ithout shifting. Most Fl<'f
routin~ provide spectral data it1 this format. (b) The spc.'Ctrum in (a) shifU?d or foldod such that (u. t) (0. 0)
is at, the ccmcr. It is common practice to display one complete period of the shifted spectrum. including the
conjugate symmetric pruts. as in (b). Sec also Figure 2.27.
,,. . ) 1(:4
,:
'"
,,.
~ Ot
(s.) (b)
1-~rure 2.29: (s.) l\lesh pfot of the rectangle image in Figure 2.26 (c). with total size L28x L28 pixels and a rectangle
(square) of size 10 x 10 pb;cls. (b) Magnitude spcetmm of the image in (a).
I
I
I
I
111111111,
I
I
I
I
(n) (b)
(c) (d)
(c) (f)
J1igurc 2.30: (a) Rectangle image, with tot.al size 128 x 128 pixels and a rectangle of size 10 x •10 pLxels.
(b) Log-magnitude spectrum of the image in (a). (e) Rcct.a11gle siw 40 x 10 pixels; this imagl! may be oonsidcrcd
to be that in (a) rotatoo by 90". (d) Log-magnitude spectrum of the imQgc in (c). (e) Image in (e) rot,ncd by 45°
using ricarcst-neighbor sclcction. (f) Log-magnitude spectrum of the imago in (e). Spectra scaled to map [5, 121
to the displa\" rru1J?.c IO. 2551.
The circle function and its Fourier transform:
. (r )
circ = l 1 if r < 1 (2.51)
0 if r > 1,
i
The Fotuier transfonn of circ(r) is J1(21rv).
Figure 2.3 I: (a) Image of a circulAr disc. The radius of the disc is IO pLxck the size of the image is 128 x 128
pixels. (b) Log-magnitude spectrum of tho image in (a). Seo also Figur~ 2.32 and 2.33.
(a) (b)
Figure 2.32: (a) ~lcsh plot. of the circular disc in Figure 2.3l (a). The radius of the disc is JO pixels: the size or
the image is 128 x J~ pLxcls. (b) ~1agnitude 3Pcctrum or the image in (a).
11 11
tl 1C
--·
IQ
(a)
IQ •OD 1:10 10
--
l0
(b)
C)
Figure 2.33: (a) Profile of the log-magnitude ~cctrum in ~gure 2.31 (b) Along the central horizontal a.xis.
(b) Profile in (a) shown only for positi\·e frequencies. The frequency a.xis is indicated in samples: the true
frequency values depend upon the sampling frequency.
Profiles of 2D syste1n transfer functions:
(c) (d)
Figure 2.34: (a) TEM image of collagen fibers in 11. nonnnl rabbit ligament sample. (b) Log-magnitude spectrum
of the image in (a). (c) T&\I image of collagen fibers in a scar tissue sample. (d) Log-magnitude spectrum of the
image ir1 (c). Sec also Figure 1.5 and Section 1.4.
(a) (b)
(c) (d)
l<'iguro 2.35: (a) SEM image of collagen fibers in a norrnlll rabbit ligament sample. (b) Log-magnitude spocmnn
of the image in (a). (c) SEM imnge of collagen fibers in a scar tissue sample. {d) Log-mB!!Ilitude spocmun of the
image in (c). Sec also Figure 1.8 and Section 1.4.
Important properties of the Fourier transform (FT)
1
F(k,l) == N x (2.52)
_ r r~ N-1 (- .21r ,1
F(m, l) - 1\ IN L f(m, n) exp J I\Tnl 11, (2.53)
l n=O j )J
1 N-1 ( 21r )
F(k,l) == NmLo F(m,l)exp - j Nmk . (2.54)
IJ(x, Y)l 2 dx dy
00
fx~-oc /y -oo
= fu~-oo 00
fv -oc IF(u, v)l 2 dudv. (2.55)
f == I FT(F) == [FT{F*}]*
4. The Fourier transfo1m is a linear transfonn.
Images are often con11pted by additive noise:
2
f (m - mo, n - no) <=} F(k, l) exp f-j N7r (kmo + lno)1,
l J
(2.60)
f .21r l
J(m, n) exp IJ N (k 0 m + l 0 n)I ¢:? F(k - k0 , l - l 0 ).
l J
(2.61)
1 (k l)
J(am,bn) {:} labl F a'b' (2.67)
N-1 N-1
== E E h(a, {3) f(m - a, n - {3).
o=O {3=0
Upon Fou1ier transfonnation, the convolution rnaps to the
1nultiplication of the two spectra:
(2. 71)
1V-l JV-1
iJ.g(a, 6) == E
1 E f(m, n) g(m+a, n+/3). (2.72)
m=O n=O
E"'IV=l
m-0 EJV-l
n-0 f(m. n) g(m. n)
i ,
8f(x,y) .
By <=> J21rv F(u, v). (2.75)
(c) (d)
I
I
I
-= I
I
I
I
I
I
(c) '
(r)
i;'igurc 2.36: (a) Image or a roctangular box. (c) Horizontal and (e) vertical dcrirntim, or the image in (a).
respccti\'cly. (b). (d), and (r): Log-magnitude spectra or the images in (a). (c). and (e). respectively. The images
in (c) and (e) were obtained by mapping the range l-200, 2001 1-0 the display range or (0, 2551. Negative differences
appc,-u in black. positive differences in white. The "l)CCtra show values in the range (5, 121 mapped to I0, 255).
(a) (b)
(c) (d)
(c) (f)
Figure 2.37: (a) Image of a myocyui. (c) Horizontal and (o) \Utical derivatives of tho image in (a). rcspcctivcly.
(b). (d). and (f): Log-magnitude spcctm of the images in (a), (c), and (c), rCl>-pocti\-cly. Images in (c) and (c)
were obtained by mapping tho rnngo l-20, 20J LO tho di'iJ)lay range of [O. 255J. The spcctrn show \'lllucs in the
range (3. 12) mapped to (0. 255).
~6 ••, .- •. \
L_·,2_ ._.·.
-_-·
6
,':~\,iii '
(c) (d)
(e) (r)
Figure 2.38: (a) MR image or n lmcc. (c) llorizontal and (c) vcnical dcriv-aLivcs or the image in (a). rcspoctivcly.
{b). (d). and (f): Log-magnitude spcctrn of the inLQgCS in (a). (e). 9.lld (c}. rcspcctivdy. The images in (e) and
(e) were obtained by mapping the rruil,rc [-50, 50) to the display range of [O. 255). Negative differences appear in
black, pa;itivc differences in white. ·nic spectra show values in the range (3. 12] mapped 10 [O, 255[.
16. The Laplac;an of an in1age:
? a2J a2J
v-J(x,y) ==a? +-a9· (2.77)
x- y-
(2.78)
II
Jy(m, n)
~ f (m, n) - f (m - 1, n) - [f (m - 1, n) - f (m - 2, n)]
Jy(m, n) (2.80)
If
0 1 0
1 -4 1 (2.83)
lO 1 0J
Ill
■
111
,,,
1~111111111
.
I
111111i111111
'
,,,I
,,,
Ill
(a) (b)
J<'iguro 2.39: (a) Laplacian of the roctanglo image i11 Figure 2.36 (a). (b) Log-magniLude SJX.'CLrum of the image
in (a).
(a) (b)
Figuro 2.-IO: (a) Laplacian of the myocyte image in Figure 2.37 (a). (b) Log-magniLude spectrum of tho image in
(a.).
(a) (b)
l•igurc 2.41: (a) Laplacian of the .\1R image in Figure 2.38 (a). (b) Log-magnitude spectrum of the image in (a).
17. Integration of an irnage leads to s1noothing or bluning, and
lowpass filtering:
1
J:: -oo J(a, y) da. {cc} . F(u, v), (2.84)
J 21fU
1
/% -oo f (x, (3) d(J {cc} . F(u, v). (2.85)
J27fV
_ 1 A/2 B/2
g(x, Y) - AB fc~=-A/2 !(3=-B/2 f (x + a, y + (3) da d{3,
(2.86)
1 1 1
g(m, n) == - E E f(m + a, n + {3). (2.87)
9 a=-1 {3=-1
1
g(m, n) == x
9
1 1 1
1
- 1 1 1 (2.89)
9
1 1 1
I
I
I
,1
1illl~1
,,
I
I
I
(c) (d)
(c) (f)
Figure 2.-12: (a) lmngc of a roctanguh1r box. Raiults of averaging using throo pixels in the (c) horizomru and
(c) vcnical directions. rcspcctivcly. (b), (d), and (f): Log-magnitude !>l)Cctrn of the imagl'S in (a). (c). and (e).
rcspocti\'l!ly. The spectra show \'ruuos in the rruJgc i5, 121 mapped 10 (0. 255.
-- - - -
(a) (b)
F'i.!,ruro 2..13: (a) Result, of 3 x 3 averaging of the rectangle image in Figure 2.42 (a). (b) Log-mAgDiLude spoctrwn
of the image in (a).
(a) (b)
(c) (d)
(c) (f)
Piguro 2.44: (a) Image of a myocytc. Results of averaging using throo pixels in the (c) horizomal and (c) rnrtical
direction,. rcspoctivcly. (b), (d), and (f): Log-nmgnirndc Sp(.'Clm of the imagos in (a), (c). and (o). respectively.
The spcctrn show vruuos in the rnngc 13. 121 mapped to 10. 255j.
(a) (b)
l<'igurc 2A5: (a.) Rc.5ult of 3 x 3 averaging of lhc myocyte imRgc in Figure 2.44 (a.). (b) Log-magnitud~ spectrum
of the imll'JC in (a).
(a) (b)
(c) (d)
(c) (f)
Figure 2.46: (a) ~Ill image of a knee. Rosultsof B\'ernging using throe pixels in the (c) horizont;il and (c) \'t'rtical
directions. rcspocLin:ly. (b), (d). and (f): log-rnagnitudc spectra of the images in (a), (c). illld (c). rcspoctivcly.
1110 !i'J)CCtrs show values in the range (3. J2j nuippcd to (0. 255j.
.
(a)
• -
(b)
.
(11) Result of 3 x 3 avcrAging of the knee ~tR imAgc in r,'igurc '2.'16 (a). (b) Log-lThlgnitudc spectrum
J.igurc 2..17:
of the image in (a).