Dip Unit1 Lecture Notes (1)
Dip Unit1 Lecture Notes (1)
Introduction
6CS3-01: Digital Image Processing
SYLLABUS
S.N. Content Hours
S.No. Description
Blooms’ taxonomy
After completion of course the student will be able level
In the early 1920s, the Bartlane cable picture transmission system was
introduced which reduced the time requirement to transport a picture
across the Atlantic from more than a week to less than three hours.
The first picture of the moon was taken by U.S. spacecraft Ranger 7 to
Jet Propulsion Laboratory in 1964 which serves as the basis of future
image processing.
Wavelets &
Colour Image Image Morphological
Multiresolution
Processing Compression Processing
processing
Image
Restoration
Segmentation
Image
Knowledge Base Representation
Enhancement
& Description
Image
Acquisition Object
Recognition
Problem Domain
Step 1: Image Acquisition
The image is captured by a sensor (eg. Camera),
and digitized if the output of the camera or
sensor is not already in digital form, using
analogue-to-digital convertor
Step 2: Image Enhancement
The process of manipulating an image so that the result
is more suitable than the original for specific
applications.
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.
images of molecules
Image Sensing
Incoming energy lands on a sensor material
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Imaging Sensor
Single sensor
Line sensor
Array sensor
The use of a filter in front of a sensor improves selectivity. For example, a green
(pass) filter in front of a light sensor favors light in the green band of the color
spectrum.
As a consequence, the sensor output will be stronger for green light than for
other
components in the visible spectrum.
In order to generate a 2-D image using a single sensor, there has to be relative
displacements in both the x- and y-directions between the sensor and the area to
be imaged
Image Sensors : Line Sensor
In-line sensors are used routinely in airborne imaging applications, in which the
imaging system is mounted on an aircraft that flies at a constant altitude and
speed over the geographical area to be imaged
Sensor strips mounted in a ring configuration are used in medical and industrial
imaging to obtain cross-sectional (―slice‖) images of 3-D objects.
The response of each sensor is proportional to the integral of the light energy
projected onto the surface of the sensor.
Its key advantage is that a complete image can be obtained by focusing the
energy
pattern onto the surface of the array.
Origin
y
Image “After snow storm” f(x,y)
An image: a multidimensional function of spatial coordinates.
Spatial coordinate: (x,y) for 2D case such as photograph,
(x,y,z) for 3D case such as CT scan images
(x,y,t) for movies
The function f may represent intensity (for monochrome
images)
or color (for color images) or other associated values.
Conventional Coordinate for Image Representation
Binary data
0 0 0 0
0
0 0 0
1 1 1 1
1 1
1 1
Digital Image Types : Intensity Image(GRAYSCALE
IMAGE)
Intensity image or monochrome image
each pixel corresponds to light intensity
normally represented in gray scale (gray
level).
10 10 16 28
9 37
6
15 26 22
25
13
32 15 87 39
Digital Image Types : RGB Image
Color image or RGB image:
each pixel contains a vector
representing red, green and
blue components.
RGB components
10 10 16 28
9 65 6 7026 56 43
15 37 5
32 99
60 70 56 4 78
25 13 22
21
32 90 43 67
96 992
54 85 1 6
85 5
32
65 87 6 99
8 7
7
Color Imaging
Introduction
we’ll look at color image processing, covering:
– Color fundamentals
– Color models
Color Fundamentals
In 1666 Sir Isaac Newton discovered that when a
Images taken from Gonzalez & Woods, Digital Image Processing
energy at other d
wavelengths
Color Fundamentals (cont…)
Chromatic light spans the electromagnetic
Images taken from Gonzalez & Woods, Digital Image Processing
• R, G, B at 3 axis ranging in
[0 1] each
• Gray scale along the
diagonal
• If each component is
quantized into 256 levels
[0:255], the total number
of different colors that can
be produced is (28)3 = 224 =
16,777,216 colors.
• RGB safe color:
– Quantize each
components into 6 levels
from 0 to 255.
RGB (cont…)
The HSI Color Model
RGB is useful for hardware implementations and
is serendipitously related to the way in which
the human visual system works
However, RGB is not a particularly intuitive way
in which to describe colors
Rather when people describe colors they tend to
use hue, saturation and brightness
RGB is great for color generation, but HSI is
great for color description
The HSI Color Model (cont…)
The HSI model uses three measures to describe
colors:
– Hue: A color attribute that describes a pure color
(pure yellow, orange or red)
– Saturation: Gives a measure of how much a pure
color is diluted with white light
– Intensity: Brightness is nearly impossible to
measure because it is so subjective. Instead we
use intensity. Intensity is the same
achromatic notion that we have seen in grey
level images
HSI, Intensity & RGB
Intensity can be extracted from RGB images –
which is not surprising if we stop to think about
it
Remember the diagonal on the RGB color cube
that we saw previously ran from black to white
Now consider if we stand this cube on the black
vertex and position the white vertex directly
above it
HSI, Intensity & RGB (cont…)
Now the intensity component
Images taken from Gonzalez & Woods, Digital Image Processing
• Hue:
– an attribute describing
pure color
• Saturation:
– The degree of which a
pure color is diluted by
white light.
• HSI model
– Hue and saturation lie
in a plane
perpendicular to an
intensity axis.
Color Coordinate Transform