Вы находитесь на странице: 1из 38

Digital Image Processing

Course Website: http://www.comp.dit.ie/bmacnamee


2
of
36
Reference Book

“Digital Image Processing”,


Rafael C. Gonzalez & Richard E. Woods,
Addison-Wesley, 2002

“Digital Image Processing”


S. Sridhar

“Digital Image Processing” by


Sanjay Sharma
3
Module I : Introduction and Digital Image
of Fundamentals
36


• Motivation & Perspective, Applications, Components
of Image Processing System,
• Fundamentals Steps in Image Processing, Image
Sampling and Quantization,

• Some basic relationships like Neighbors,


Connectivity, Distance Measures between pixels,

• Two-dimensional mathematical preliminaries, 2D


transforms-DFT, DCT, KLT, SVD.
4
of
36
Chapter 1- Contents
This lecture will cover:

– What is a digital image?

– What is digital image processing?

– History of digital image processing

– State of the art examples of digital image processing

– Key stages in digital image processing


5
of
36
1.1 What is a Digital Image?
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

Digital Image

In image processing, the term ‘image’ is used to denote the image


data that is sampled, quantized, and readily available in a form
suitable for further processing by digital computers.
6
of An image can be defined by a two dimensional function
36
F(x,y)
Where x, y are spatial coordinates and Amplitude (f) for pair x, y
is called intensity or gray level .

When x, y and f are discrete and finite the image is called digital
image.
7
of
36
A digital image is a representation of a two-dimensional image
as a finite set of digital values, called picture elements or pixels
8 Resolution
of
36 Resolution is an important characteristic of an imaging system.
It is the ability of the imaging system to produce the smallest
discernable details, i.e., the smallest sized object clearly, and
differentiate it from the neighboring small objects that are
present in the image.
Bit Depth
The number of bits necessary to encode the pixel value is
called bit depth. Bit depth is a power of two; it can be written
as powers of 2.

So the total number of bits necessary to represent the image is

Number of rows *Number of columns * Bit depth


9
of
36
1.2 TYPES OF IMAGES
12
of
36

• Binary Images
• Grey Scale Images
• Colour Images
13
of
36
1.3 What is Digital Image Processing?

Digital image processing is an area that uses digital circuits,


systems, and software algorithms to carry out the image
processing operations. The image processing operations may
include quality enhancement of an image, counting of objects,
and image analysis.

Digital image processing focuses on two major tasks


– Improvement of pictorial information for human
interpretation
– Processing of image data for storage, transmission and
representation for autonomous machine perception
14
of
36
Some Related Terms

Computer Vision – Use computers to emulate human vision ,


including learning and being able to make inferences and take
actions based on visual inputs.
Main objective is to emulate human vision.

Image Analysis – means Image understanding


It can be said that image analysis process is in between image
processing and computer vision.
16
of
36
What is DIP? (cont…)
The continuum from image processing to computer vision can be
broken up into low-, mid- and high-level processes

Low Level Process Mid Level Process High Level Process


Input: Image Input: Image Input: Attributes
Output: Image Output: Attributes Output: Understanding

Examples: Noise Examples: partitioning Examples: Scene


an image into objects and understanding, or
removal, image description of those making sense of
sharpening objects for classification or recognized objects.
recognition, detecting
edges etc.
17
of
36

Example- Automated Text Analysis


Possible steps of DIP will be-

• Acquiring an image of the area containing the text


• Preprocessing of image
• Segmenting the individual characters
• Description of characters in a form suitable for computer
processing
• At last recognition of individual characters.
24
of
36
Examples: Image Enhancement
One of the most common uses of DIP techniques:
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

improve quality, remove noise etc


27
of
36
Examples: Medicine
Take slice from MRI scan of heart, and find boundaries
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

between types of tissue


– Image with gray levels representing tissue density
– Use a suitable filter to highlight edges

Original MRI Image of a Dog Heart Edge Detection Image


29
of
36
Examples: Industrial Inspection
Human operators are expensive,
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

slow and
unreliable
Make machines do the
job instead
Industrial vision systems
are used in all kinds of industries.
31
of
36
Examples: Law Enforcement
Image processing techniques are
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

used extensively by law enforcers


– Number plate recognition for
speed cameras/automated toll
systems
– Fingerprint recognition
– Enhancement of CCTV
images
32
of
36
Examples: HCI

Try to make human computer


interfaces more natural
– Face recognition
– Gesture recognition
33
of
36 1.3 Examples of Fields That Use Digital Image Processing

• Energy of one photon


34
of
36 1.3.1 Gamma-Ray Imaging
35
of
36 •1.3.2 X-ray Imaging
47
of
1.4 Fundamental steps in Digital Image
36 Processing

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Representation
Acquisition & Description

Object
Problem Domain
Recognition
Colour Image Image
Processing Compression
48
of
Key Stages in Digital Image Processing:
36 Image Aquisition
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Representation
Acquisition & Description

Object
Problem Domain
Recognition
Colour Image Image
Processing Compression
49
of
36

Image Acquisition-

• Process of acquiring an image


• Converting simple image into digitized image
• Involves some preprocessing like scaling etc also
50
of
Key Stages in Digital Image Processing:
36 Image Enhancement
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Representation
Acquisition & Description

Object
Problem Domain
Recognition
Colour Image Image
Processing Compression
51
of
36

Image Enhancement-
• Highlighting certain features of interest in an image suitable
for specific application.
• It is a subjective process
Because what constitutes a good enhancement result is based
on human subjective preferences
52
of
Key Stages in Digital Image Processing:
36 Image Restoration
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Representation
Acquisition & Description

Object
Problem Domain
Recognition
Colour Image Image
Processing Compression
53
of
36

Image Restoration
• Deals with improving the appearance of image
• It is a objective process
• Because restoration techniques based on the mathematical or
probalistic models of image degradation.
54
of
Key Stages in Digital Image Processing:
36 Morphological Processing
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Representation
Acquisition & Description

Object
Problem Domain
recognition
Colour Image Image
Processing Compression
55
of
Key Stages in Digital Image Processing:
36 Segmentation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Representation
Acquisition & Description

Object
Problem Domain
Recognition
Colour Image Image
Processing Compression
56
of
36

Morphological Processing
• Deals with tools for extracting image components that are
useful in image representation and description of shape.
Segmentation
• Partitioning an image into its constituent parts or objects.
• If more accurate segmentation then more succeeded
recognition is done.
57
of
Key Stages in Digital Image Processing:
36 Object Recognition
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Representation
Acquisition & Description

Object
Problem Domain
Recognition
Colour Image Image
Processing Compression
58
of
36

Representation and Description

• Conversion of data in a form suitable for computer processing.


• Boundary representation- when focus is on external shape like
corners etc.
• Region Representation- when focus is on internal
representation like texture etc.

Object Recognition
Assigning a label to an object based on its descriptor.
59
of
Key Stages in Digital Image Processing:
36 Representation & Description
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Representation
Acquisition & Description

Object
Problem Domain
Recognition
Colour Image Image
Processing Compression
60
of
Key Stages in Digital Image Processing:
36 Image Compression

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Object
Acquisition Recognition

Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
61
of
Key Stages in Digital Image Processing:
36 Colour Image Processing

Image Morphological
Restoration Processing

Image
Segmentation
Enhancement

Image Representation
Acquisition & Description

Object
Problem Domain
Recognition
Colour Image Image
Processing Compression
62
of
36

Image Compression
• Reducing storage required
• Reducing bandwidth required for transmission
Color Image Processing
• Extracting features of interest in an image

Вам также может понравиться