Professional Documents
Culture Documents
IMAGE Image
PROCESSING
Processing
ANISHA M. Dr.LAL
Anisha M. Lal,
SCOPE,
Introduction
VIT University.
Contents
• Low-Level Processes:
• Input and output are images
• Tasks: Primitive operations, such as, image
processing to reduce noise, contrast
enhancement and image sharpening
Computerized Processes Types
• Mid-Level Processes:
• Inputs, generally, are images. Outputs are
attributes extracted from those images (edges,
contours, identity of individual objects)
• Tasks:
• Segmentation (partitioning an image into regions or objects)
• Description of those objects to reduce them to a form suitable
for computer processing
• Classifications (recognition) of objects
Computerized Processes Types
• High-Level Processes:
• Image analysis and computer vision
Digital Image Definition
RGB components
10 10 16 28
9 656 7026 5637 43
32 99 54 70 67 78
96 56
15 256013 902296 67
21 54 47 42
85 85 43 92
32 15 87 39
54 65 65 39
32 65 87 99
Image Types : Binary Image
Binary data
0 0 0 0
0 0 0 0
1 1 1 1
1 1 1 1
Image Types : Index Image
Index image
Each pixel contains index number
pointing to a color in a color table
Color Table
https://youtu.be/TGsGGtPWzfo
Fundamental Steps in Digital Image Processing:
Outputs of these processes generally are images
Image
Restoration
Segmentation
Image
Acquisition Object
Recognition
Problem Domain
Step 1: Image Acquisition
Typical general-
Image sensors purpose DIP
Problem Domain system
Components of an Image
Processing System
1. Image Sensors
Two elements are required to acquire digital images.
The first is the physical device that is sensitive to
the energy radiated by the object we wish to image
(Sensor). The second, called a digitizer, is a device for
converting the output of the physical sensing
device into digital form.
Components of an Image
Processing System
2. Specialized Image Processing Hardware
Usually consists of the digitizer, mentioned before, plus
hardware that performs other primitive operations, such as
an arithmetic logic unit (ALU), which performs arithmetic
and logical operations in parallel on entire images.
The lens and the ciliary muscle focus the reflected lights from objects
into the retina to form an image of the objects.
(Images from Rafael C. Gonzalez and Richard E.
Wood, Digital Image Processing, 2nd Edition.
1. The lens contains 60-70% water, 6% of fat.
2. The iris diaphragm controls amount of light that enters the eye.
3. Light receptors in the retina
- About 6-7 millions cones for bright light vision called photopic
- Density of cones is about 150,000 elements/mm2.
- Cones involve in color vision.
- Cones are concentrated in fovea about 1.5x1.5 mm2.
- About 75-150 millions rods for dim light vision called scotopic
- Rods are sensitive to low level of light and are not involved
color vision.
4. Blind spot is the region of emergence of the optic nerve from the eye.
5. Fovea : Circular indentation in center of retina, about 1.5mm diameter,
dense with cones.
•Photoreceptors around fovea responsible for spatial vision (still images).
•Photoreceptors around the periphery responsible for detecting motion.
Image Formation in the Human Eye
Simultaneous contrast. All small squares have exactly the same intensity
but they appear progressively darker as background becomes lighter.
Optical illusion
• Sampling rate
• Nyquist sampling rate
• 2*maximum frequency
• Aliasing
• Quantization
• Rounding off
• Truncation
Aliasing and Anti-aliasing
Generating a Digital Image
64 levels 32 levels
Effect of Quantization Levels (cont.)
16 levels 8 levels
4 levels 2 levels
Basic Relationship of Pixels
(0,0) x
(x,y-1) 4-neighbors of p:
(x-1,y)
(x-1,y) p (x+1,y)
(x+1,y)
N4(p) = (x,y-1)
(x,y+1)
(x,y+1)
(x-1,y-1)
(x-1,y) p (x+1,y)
(x,y-1)
(x+1,y-1)
(x-1,y)
(x-1,y+1) (x,y+1) (x+1,y+1) (x+1,y)
N8(p) = (x-1,y+1)
(x,y+1)
(x+1,y+1)
(x-1,y-1)
p
(x+1,y-1)
ND(p) = (x-1,y+1)
(x+1,y+1)
(x-1,y+1) (x+1,y+1)
S1
S2
q
p
Path (cont.)
8-path m-path
p p p
q q q
m-path from p to q
8-path from p to q
solves this ambiguity
results in some ambiguity
Distance Measure (Euclidean)
For pixels p, q, and z, with coordinates (x,y), (s,t), and
(v,w), respectively, D is a distance function or metric if
(a) D(p,q) 0 ,
(b) D(p,q) = D(q,p), (symmetry)
(c) D(p,z) D(p,q) + D(q,z) (triangular inequality)
0 0 1 q 0 0 1 0 1 1
0 1 0 1 1 0 1 1 0
p 1 0 0 1 0 0 1 0 0
1 2 1 1
1 0 1 2
(p)