Lecture01-Part I
Lecture01-Part I
DS617
Image Processing
Lecture 1 – Part I
Course Objectives
Cover basic concepts, theories and algorithms widely used
in digital image processing
8
What Is An Image? - 2
Assume that an image intensity values can be any real numbers in the
range 0.0 (black) to 1.0 (white).
9
What Are Image Sources ?
The principal source for images is the electromagnetic (EM) energy
spectrum ranging from gamma rays to radio waves.
Radiance is the total amount of energy that flows from the light
source, and it is usually measured in watts.
What Are Image Sources ? - 4
Luminance, measured in lumens, gives a measure of the amount of
energy an observer perceives from a light source.
21
What Is Image Processing? - 3
Removing noise (random errors ) from an image. Noise is a very
common problem in data transmission because all sorts of electronic
components may affect data passing through them, and the results
may be undesirable. Noise may take many different forms; each type
of noise requiring a different method of removal.
22
What Is Image Processing? - 4
Removing motion blur from an image. Motion blur may occur when
the shutter speed of the camera is too long for the speed of the
object. In photographs of fast moving objects: vehicles for example,
the problem of blur may be considerable.
23
What Is Image Processing? - 5
Examples of image processing methods satisfying (2) may include:
Obtaining the edges of an image using edge detection algorithms for
the measurement of objects in an image; Once we have their edges
we can measure their spread, and the area contained within them.
24
What Is Image Processing? - 6
Removing detail from an image. For measurement or counting
purposes, we may not be interested in all the detail in an image so we
simplify the image to measure the size and shape of the object
without being distracted by unnecessary detail.
25
What Is Digital Image Processing?
Processing digital images by means of a digital computer.
26
What Is Digital Image Processing? - 2
Low Level Process Mid Level Process High Level Process
Input: Image Input: Image Input: Attributes
Output: Image Output: Attributes Output: Understanding
Examples: Examples: Examples:
Noise Removal, Object Segmentation, Scene Understanding,
Image Sharpening Object Recognition Autonomous Navigation
27
What Is Digital Image Processing? - 3
Classification / decision
• Recognition,
Interpretation
Algorithm HIGH Amount of – Intelligent
Complexity Data • Edges Extraction &
Increases MEDIUM Decreases Joining
• Acquisition,
LOW Preprocessing
– No Intelligence
Raw data
What Is A Digital Image?
When x, y, and the amplitude values of f(x,y) are all finite, discrete
quantities (usually they take on only integer values), we call the
image a digital image.
• I(m,n) is the term used most widely to denote a digital image, where
m =0, 2, . . . ,M-1 and n = 0, 2, . . . ,N-1 denote the pixel located at the
mth row and nth column starting from a top-left image origin.
29
What Is A Digital Image? - 2
30
How Is A Digital Image Captured?
1. Charged Coupled Device (CCD) Camera: Such a camera has a 2D-
array of silicon electronic devices (sensors) whose voltage output is
proportional to the intensity of light falling on them.
How Is A Digital Image Captured? - 2
2. Flat Bed Scanner: This works on a principle similar to the CCD
camera. Instead of the entire image being captured at once on a
large array, a single row of photosites (sensors) is moved across the
image, capturing it row-by-row as it moves.
How Is A Digital Image Captured? - 3
Image Acquisition I(m,n)
Sampled image
1mm
2mm
No detail is lost!
Minimum Spatial resolution Nyquist Rate: Spatial resolution must
Period (sampling rate) be less or equal half of the minimum
period of the image or sampling
= Sampling locations frequency must be greater or equal
twice of the maximum frequency.
How Is A Digital Image Sensed? - 5
Varying Image Sampling
a b c
d e f
(a) 1024x1024
(b) 512x512
(c) 256x256
(d) 128x128
(e) 64x64
(f) 32x32
If levels are not enough, false contouring can occur on the smooth area
How Is A Digital Image Sensed? - 8
Image Sampling & Quantization
How Is A Digital Image Sensed? - 9
Image Sampling & Quantization
How Is A Digital Image Represented?
After image sampling and quantization, the digitized image function,
f(x,y), is represented as 2D numerical array (matrix) containing M
rows and N columns where x = 0,1,2,…, M-1 and y = 0,1,2,…,N-1.
If M = N, then b = N2*k
How Is A Digital Image Represented? - 3
The discrete intensity levels are equally spaced and they are integers
in the interval [0, L-1].
Saturation is the highest value beyond which all intensity levels are
clipped.
Noise is a variation of the intensity level from its true value by a small
(random) amount due to external or internal factors in the image-
processing pipeline.
How Is A Digital Image Represented? - 5
How Is A Digital Image Represented? - 6
How Is A Digital Image Represented? - 7
What Is The Best Digital Image Representation?
How to select the suitable sampling and quantization resolutions for
digitizing an image?
So for a fixed value of N, the perceived quality for high detail image is
nearly independent of the number of intensity levels used.
For the other two image categories, the perceived quality remained
the same in some intervals in which the number of samples was
increased, but the number of intensity levels actually decreased.
The most likely reason for this result is that a decrease in k tends to
increase the apparent contrast, a visual effect that humans often
perceive as improved quality in an image.
So for images of the same size, low detail image need more pixel depth
and as image size increase, fewer gray levels are needed.