Professional Documents
Culture Documents
PROCESSING
Dr.K.Kalaivani
Associate Professor
Dept. of EIE
Easwari Engineering College
Text Books and References
• TEXT BOOKS:
• Rafael C. Gonzalez, Richard E. Woods, ‘Digital Image Processing’, Pearson,
Third Edition, 2010.
• Anil K. Jain, ‘Fundamentals of Digital Image Processing’, Pearson, 2002.
• REFERENCES
• Kenneth R. Castleman, ‘Digital Image Processing’, Pearson, 2006.
• Rafael C. Gonzalez, Richard E. Woods, Steven Eddins, ‘Digital Image Processing
using MATLAB’, Pearson Education, Inc., 2011.
• D,E. Dudgeon and RM. Mersereau, ‘Multidimensional Digital Signal
Processing’, Prentice Hall Professional Technical Reference, 1990.
• William K. Pratt, ‘Digital Image Processing’, John Wiley, New York, 2002
• Milan Sonka et al ‘Image processing, analysis and machine vision’,
Brookes/Cole, Vikas Publishing House, 2nd edition, 1999
Unit1-Digital Image Fundamentals
• Steps in Digital Image Processing
• Components
• Elements of Visual Perception
• Image Sensing and Acquisition
• Image Sampling and Quantization
• Relationships between pixels
• Color image fundamentals
• RGB, HSI models
• Two-dimensional mathematical preliminaries
• 2D transforms - DFT, DCT.
• Unit 2 – Image Enhancement
• Forensics
• Remote sensing
• Communications
• Automobiles
Digital Image Generation
Generating a digital image
• Place a regular 2D grid over an image and read the colour
value
• at the intersections of the grid => set of data points for that
image
Fundamental steps in Digital Image
Processing
• Color is one of the very important features that has been
extracted from an image.
• This hardware consists of the digitizer and some hardware to perform other
basic operations.
• Example: Arithmetic Logic Unit (ALU) which perform arithmetic and logical operations on
entire images in parallel.
• This type of hardware is also known as front-end subsystem.
• The main feature of this hardware is its high speed. Therefore, fast functions
which cannot be performed by the main computer can be handled by this
unit.
Computer
15 x
100 17
x 2.55mm
Image Formation in the Eye
Image Formation in the Eye
• Perception takes place by the relative excitation
of light receptors.
Simultaneous contrast. All small squares have exactly the same intensity
but they appear progressively darker as background becomes lighter.
HUE
• The hue of a color refers to its “redness”, “greenness” and
so on.
A
B
Intensity
Position
• 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.
• Figure shows an arrangement used in high-precision scanning, where a film negative
is mounted onto a drum whose mechanical rotation provides displacement in one
dimension.
• The single sensor is mounted on a lead screw that provides motion in the
perpendicular direction. Since mechanical motion can be controlled with high
precision, this method is an inexpensive (but slow) way to obtain high-resolution
images.
Image Acquisition Using Sensor Strips:
• A geometry that is used much more frequently than single sensors consists of an in-line
arrangement of sensors in the form of a sensor strip, as Figure shows.
• The strip provides imaging elements in one direction. Motion perpendicular to the strip
provides imaging in the other direction, as shown in Figure below.
Image Acquisition Using Sensor Strips:
• This is the type of arrangement used in most flat bed scanners.
• Sensing devices with 4000 or more in-line sensors are possible.
• 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.
• One- dimensional imaging sensor strips that respond to various bands
of the electromagnetic spectrum are mounted perpendicular to the
direction of flight.
• The imaging strip gives one line of an image at a time, and the
motion of the strip completes the other dimension of a two-
dimensional image.
Image Acquisition Using Sensor Strips:
• Sensor strips mounted in a ring configuration are used in medical and
industrial imaging to obtain cross-sectional (“slice”) images of 3-D
objects, as Figure shows.
Image Acquisition Using Sensor Strips:
• A rotating X-ray source provides illumination and the portion of the
sensors opposite the source collect the X-ray energy that pass through the
object (the sensors obviously have to be sensitive to X-ray energy).
• This is the basis for medical and industrial computerized axial tomography
(CAT).
• Output of the sensors must be processed by reconstruction algorithms
whose objective is to transform the sensed data into meaningful cross-
sectional images.
• In other words, images are not obtained directly from the sensors by
motion alone; they require extensive processing.
• A 3-D digital volume consisting of stacked images is generated as the
object is moved in a direction perpendicular to the sensor ring.
• Other modalities of imaging based on the CAT principle include magnetic
resonance imaging (MRI) and positron emission tomography (PET).
Image Acquisition Using Sensor Arrays:
• Figure shows individual sensors arranged in the form of a 2-D array.
• Numerous electromagnetic and some ultrasonic sensing devices frequently are arranged in
an array format. This is also the predominant arrangement found in digital cameras.
• A typical sensor for these cameras is a CCD array, which can be manufactured with a broad
range of sensing properties and can be packaged in rugged arrays of 4000 * 4000 elements
or more.
• CCD sensors are used widely in digital cameras and other light sensing instruments.
Image Acquisition Using Sensor Arrays:
• The response of each sensor is proportional to the integral of the light
energy projected onto the surface of the sensor, a property that is
used in astronomical and other applications requiring low noise
images.
• Noise reduction is achieved by letting the sensor integrate the input
light signal over minutes or even hours.
Image Acquisition Using Sensor Arrays:
Fig. An example of the digital image acquisition process (a)
Energy (“illumination”) source (b) An element of a scene (c)
Imaging system (d) Projection of the scene onto the image
plane (e) Digitized image
Image Acquisition Using Sensor Arrays:
• This figure shows the energy from an illumination source being reflected
from a scene element
• The energy also could be transmitted through the scene elements.
• The first function performed by the imaging system shown in Fig. (c) is to
collect the incoming energy and focus it onto an image plane. If the
illumination is light, the front end of the imaging system is a lens, which
projects the viewed scene onto the lens focal plane, as Fig.(d) shows.
• The sensor array, which is coincident with the focal plane, produces outputs
proportional to the integral of the light received at each sensor.
• Digital and analog circuitry sweep these outputs and converts them to
analog signal, which is then digitized by another section of the imaging
system.
• The output is a digital image, as shown diagrammatically in Fig. (e).
RGB Model
However
B
Blue Cyan
Magenta
G
Green
Red Yellow
R
The HSI Model (an alternative to RGB)
Hue
Green Yellow
Cyan Red
Saturation
Blue Magenta
Black
A Simple Image Model
• Image: a 2-D light-intensity function f(x,y)
• Illumination: i(x,y)
• Reflectance: r(x,y)
and
• Varying N, M numbers
• Varying k (number of bits)
• Varying both
Sampling & Quantization
• Conclusions:
• Quality of images increases as N & k increase
• Sometimes, for fixed N, the quality improved by
decreasing k (increased contrast)
• For images with large amounts of detail, few gray
levels are needed
Dithering
• Dithering is the attempt by a computer program to approximate a color from a mixture of other
colors when the required color is not available
• Dithering is the most common means of reducing the color range of images down to the 256 (or
fewer) colors seen in 8-bit GIF images
• Most images are dithered in a diffusion or randomized
pattern to diminish the harsh transition from one color to
another
Definitions
Definitions (Con’t)
(Con’t)
110
Review: Matrices and Vectors
Some
Some Basic
Basic Matrix
Matrix Operations
Operations
111
Review: Matrices and Vectors
Some
Some Basic
Basic Matrix
Matrix Operations
Operations (Con’t)
(Con’t)
is defined as
• It has a constant elements along the main diagonal and the sub
diagonals
113
ORTHOGONAL AND UNITARY MATRICES
114
BLOCK MATRIX
• Any matrix whose elements are matrices themselves is called a block
matrix.
115
TWO DIMENSIONAL DISCRETE
FOURIER TRANSFORM ( 2D DFT)
2-D DFT:
The discrete fourier transform of a function (image) f(x,y) of size M×N is given
by,
(u, v) =1/MN∑ x ∑ y f(x,y) e-j2П(ux/M+vy/N)
for u=0,1,2,….,M-1. and v=0,1,2,…..,N-1.
Similarly, given F(u,v), we obtain f(x,y) by the inverse fourier transform, given
by,
f(x,y)= ∑ u∑ v F(u,v) ej2П(ux/M+vy/N)
for x=0,1,2,….,M-1. and y=0,1,2,….,N-1.
U and V are the transform or frequency variables and X and Y are the spatial
or image variables.
DFT AND UNITARY DFT ARE
SYMMETRIC
PERIODIC
FAST ALGORITHM
CONJUGATE SYMMETRIC
ABOUT N/2
• CIRCULAR CONVOLUTION THEOREM