Professional Documents
Culture Documents
Thi-Giac-May-Tinh - Vo-Quang-Hoang-Khang - Dip01-Fundamental-Image-Processing - (Cuuduongthancong - Com)
Thi-Giac-May-Tinh - Vo-Quang-Hoang-Khang - Dip01-Fundamental-Image-Processing - (Cuuduongthancong - Com)
om
.c
ng
co
Digital Imaging Fundamentals
an
th
o ng
du
u
cu
CuuDuongThanCong.com https://fb.com/tailieudientucntt
Contents
om
Light and the electromagnetic spectrum
.c
Image representation
ng
Image sensing and acquisition
co
Sampling, quantisation and resolution
an
th
o ng
du
u
cu
om
spectrum that can be sensed by the human eye.
.c
The electromagnetic spectrum is split up according to
ng
the wavelengths of different forms of energy
co
an
th
o ng
du
u
cu
om
nature of the light reflected from an object
.c
For example, if white
ng
light is shone onto a
co
green object most
an
wavelengths are
th
absorbed, while green ng Colours
light is reflected from Absorbed
o
the object.
du
u
cu
om
capturing a digital image of a real-world scene
.c
Image sensing and representation
ng
Sampling and quantisation
co
Resolution
an
th
o ng
du
u
cu
om
and absorbing the energy reflected by the objects in
.c
that scene.
Typical notions of
ng
co
illumination and
an
scene can be way off:
th
ng
• X-rays of a skeleton
o
• Ultrasound of an
du
unborn baby
u
cu
• Electro-microscopic
images of molecules
om
responsive to that type of energy and this generates a
.c
voltage
Collections of sensors are arranged to capture images
ng
co
an
th
o ng
du
u
cu
Imaging Sensor
om
samples at a discrete set of energy levels
.c
Quantisation is the process of converting a continuous
ng
analogue signal into a digital representation of this
co
signal
an
th
o ng
du
u
cu
om
approximation of a real world scene
.c
ng
co
an
th
o ng
du
u
cu
om
pixels each storing a value.
.c
Pixel values are most col
ng
often grey levels in the
co
range 0-255(black-white).
an
We will see later on
that images can easily
th
ng
be represented as
o
du
matrices.
u
cu
f (row, col)
row
om
.c
ng
co
an
th
o ng
du
u
cu
om
how sampling was carried out
.c
Spatial resolution simply refers to the smallest
ng
discernable detail in an image
co
• Vision specialists will
an
often talk about pixel
th
size ng
• Graphic designers will
o
du
om
.c
ng
co
an
th
o ng
du
u
cu
om
.c
ng
co
an
th
o ng
du
u
cu
om
.c
ng
co
an
th
o ng
du
u
cu
om
.c
ng
co
an
th
o ng
du
u
cu
om
.c
ng
co
an
th
o ng
du
u
cu
om
.c
ng
co
an
th
o ng
du
u
cu
om
intensity levels used to represent the image
.c
• The more intensity levels used, the finer the level of
ng
detail discernable in an image
co
• Intensity level resolution is usually given in terms of the
an
number of bits used to store each intensity level
th
Number of Intensity
ng
Number of Bits Examples
Levels
o
du
1 2 0, 1
2 4 00, 01, 10, 11
u
cu
om
.c
ng
co
an
th
o ng
du
u
cu
16 grey levels (4 bpp) 8 grey levels (3 bpp) 4 grey levels (2 bpp) 2 grey levels (1 bpp)
om
.c
ng
co
an
th
o ng
du
u
cu
om
This all depends on what is in the image and what you
.c
would like to do with it
ng
Key questions include
co
an
• Does the image look aesthetically pleasing?
th
• Can you see what you need to see within the image?
ng
o
du
u
cu
om
.c
ng
co
an
th
o ng
du
om
.c
p
ng
co
an
4-neighbors of p, N4(p): neighbors at (x+1,y), (x-
th
ng
1,y), (x,y+1), (x,y-1).
o
om
satisfy specified criterion of similarity (e.g. they are
.c
equal). Let V set of gray levels used to define
ng
co
connectivity (e.g. V={1}: binary image;
V={32,33,…,63,64}: gray-scale image).
an
th
• 4-connectivity (4-adjacent): p and q are 4-connected if
ng
their values from V and q is in N4(p).
o
du
om
q is in N4(p), or
.c
q is in ND(p) and set S=N4(p) N4(q) is empty (pixels S are
ng
4-neighbors of both p and q, and whose values are from V).
co
m-connectivity introduced to eliminate ambiguity in
an
path connections (resulted from allowing 8-
connectivity)
th
o ng
du
u
cu
om
(x0, y0) to pixel q with coordinates (xn, yn) is a sequence
.c
of distinct pixels with coordinates:
ng
(x0, y0), (x1, y1), …, (xn, yn)
co
where (xi, yi) and (xi-1, yi-1) are adjacent for 1 ≤ i ≤ n.
an
th
Here n is the length of the path. ng
• If (x0, y0) = (xn, yn), the path is closed path.
o
du
connectivity used.
om
.c
ng
co
an
th
o ng
du
u
cu
om
.c
Light and the electromagnetic spectrum
ng
Image representation
co
Image sensing and acquisition
an
Sampling, quantisation and resolution
th
o ng
Next time we start to look at techniques for image
du
enhancement
u
cu