Dip Unit-1
Dip Unit-1
FIGURE Examples of X-ray imaging. (a) Chest X-ray. (b) Head CT. (c)
Circuit boards.
Imaging in the Ultraviolet Band
FIGURE 1.8 Examples of ultraviolet imaging. (a) Normal corn. (b) Smut corn.
Imaging in the Visible and Infrared Bands
Imaging in the Microwave Band
Imaging in the Radio Band
Fundamental Steps in Digital Image Processing
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Image Enhancement
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Image Restoration
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Morphological Processing
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Segmentation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Object Recognition
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Representation & Description
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Image Compression
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Colour Image Processing
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
• Image acquisition: It could be as simple as being given an image
that is already in digital form. Generally the image acquisition stage
involves processing such scaling.
• Image Enhancement: It is among the simplest and most appealing
areas of digital image processing. The idea behind this is to bring
out details that are obscured or simply to highlight certain features
of interest in image. Image enhancement is a very subjective area
of image processing.
• Image Restoration: It deals with improving the appearance of an
image. It is an objective approach, in the sense that restoration
techniques tend to be based on mathematical or probabilistic
models of image processing. Enhancement, on the other hand is
based on human subjective preferences regarding what constitutes
a “good” enhancement result.
• Color image processing: It is an area that is been gaining
importance because of the use of digital images over the internet.
Color image processing deals with basically color models and their
implementation in image processing applications.
• Wavelets and Multiresolution Processing: These are the
foundation for representing image in various degrees of resolution
• Compression: It deals with techniques reducing the storage required to
save an image, or the bandwidth required to transmit it over the network.
It has to major approaches a) Lossless Compression b) Lossy Compression
• Morphological processing: It deals with tools for extracting image
components that are useful in the representation and description of shape
and boundary of objects. It is majorly used in automated inspection
applications.
• Representation and Description: It always follows the output of
segmentation step that is, raw pixel data, constituting either the boundary
of an image or points in the region itself. In either case converting the data
to a form suitable for computer processing is necessary.
• Recognition: It is the process that assigns label to an object based on its
descriptors. It is the last step of image processing which use artificial
intelligence of software.
• Knowledge base: Knowledge about a problem domain is coded into an
image processing system in the form of a knowledge base. This knowledge
may be as simple as detailing regions of an image where the information
of the interest in known to be located. Thus limiting search that has to be
conducted in seeking the information. The knowledge base also can be
quite complex such interrelated list of all major possible defects in a
materials inspection problems or an image database containing high
resolution satellite images of a region in connection with change detection
application.
Components of an Image Processing System
30
Image Acquisition and Sensing
31
Under exposed
Correct exposed
• Integration over
time
– Exposure time
Over exposed
– Maximum charge
• Saturation
• Blooming 32
Image Acquisition Using a Single Sensor
Image Acquisition Using Sensor Strips
Image Acquisition Using Sensor Arrays
A/D
• Illumination
– Passive: sun
– Active: ordinary lamp, X-ray, radar, IR
• Camera lens
– Focus the light on the CCD chip
38
A Simple Image Formation Model
t
Quantization
f(t) 7
8 levels = 23: uses 3
Bits to represent the value of
the function.
0 t
Representing Digital Images
• The result of sampling and quantization is a matrix of
real numbers.
• Assume that an image f(x, y) is sampled so that the
resulting digital image has M rows and N columns.
• The values of the coordinates (x, y) now become
discrete quantities.
• For notational clarity and convenience, we shall use
integer values for these discrete coordinates.
• Thus, the values of the coordinates at the origin are (x,
y)=(0, 0).
• The next coordinate values along the first row of the
image are represented as (x, y)=(0, 1).
Complete MXN digital image in the compact
matrix form is
f(0,0), . . f(0,N-1)
f(0,1),
f(1,0), f(1,1), . . .
f(1,N-1)
f(x,y)=
f(M-1,0), f(M-1,1), . . f(M-1,N-1)
A set of number
CAMERA DIGITIZER in 2D grid.
L = 2k
b=MxNxk
Resolution
(a) 1024x1024
(b) 512x512
(c) 256x256
(d) 128x128
(e) 64x64
(f) 32x32
• Euclidean Distance
• D4 distance (also called city-block distance)
• D8 distance (also called chessboard distance)
• The Euclidean Distance between p and q is
defined as:
• De (p,q) = [(x – s)2 + (y - t)2]1/2
• Pixels having a distance less than or equal to
some value r from (x,y) are the points
contained in a disk of radius ‘ r ‘centered at
(x,y)
• The D4 distance (also called city-block distance) between p
and q is defined as:
• D4 (p,q) = | x – s | + | y – t |
• Pixels having a D4 distance from (x,y), less than or equal to
some value r form a Diamond centered at (x,y)
• Example:
• The pixels with distance D4 ≤ 2 from (x,y) form the following contours of
constant distance.
• The pixels with D4 = 1 are the 4-neighbors of (x,y)
• The D8 distance (also called chessboard distance) between p
and q is defined as:
• D8 (p,q) = max(| x – s |,| y – t |)
• Pixels having a D8 distance from (x,y), less than or equal to
some value r form a square Centered at (x,y).
• Example:
• D8 distance ≤ 2 from (x,y) form the following contours of
constant distance.
IMAGE TRANSFORMS
Discrete Fourier Transform (DFT)
• 1-D Discrete Fourier Transform (DFT) is defined
as
For u=0,1,2,….N-1
• The inverse DCT is defined as
For x=0,1,2……N-1
• Where
2-D DISCRETE COSINE TRANSFORM (DCT)
• The 2-D Discrete Cosine transform (DCT) is defined as