Beruflich Dokumente
Kultur Dokumente
Chapter 1: Introduction
1
13-08-2019
Books
• Rafael C. Gonzalez, Richard E. Woods, Steven L. Eddins, "Digital Image
Processing Using MATLAB," 3rd ed., Gatesmark Publishing, 2015. Digital
Image Processing Using MATLAB (3rd ed).
• Rafael C. Gonzalez and Richard E. Woods, "Digital Image Processing“, 4th
ed., Pearson, Prentice Hall, 2018
(http://www.imageprocessingplace.com/).
• Kenneth R. Castleman, DIP, P.Ed., 2010
• James H. McClellan, Ronald W. Schafer, and Mark A. Yoder, "DSP FIRST: A
Multimedia Approach," Prentice Hall, 1998.
• Al Bovik, editor, "Handbook of Image and Video Processing," 2nd ed.,
Elsevier, Academic Press, 2005.
• Dan E. Dudgeon and Russell M. Mersereau, "Multidimensional Digital
Signal Processing," Prentice Hall, 1984.
• Jae S. Lim, "Two-Dimensional Signal and Image Processing," Prentice Hall,
1990.
2
13-08-2019
Digital Image
A picture is worth more than ten thousand words.
• When x, y, and the intensity values of f are all finite, discrete quantities, we call the
image a digital image.
• The field of digital image processing refers to processing digital images by means of
a digital computer.
• Humans are limited to visual band of electromagnetic spectrum, but the imaging
machines cover almost entire EM spectrum, ranging from gamma to radio waves.
• Thus, digital image processing encompasses a wide and varied field of applications.
3
13-08-2019
• Three levels of image processing operations are: low, mid, and high level processes.
• Low level process is characterized by the fact that both its inputs and outputs are
images.
• Low-level tasks involve noise reduction, contrast enhancement, image sharpening etc.
• Mid-level process is characterized by the fact that its inputs are generally images but
its outputs are attributes extracted from images.
• E.g. edges, contours, identity of individual objects, partitioning image into regions or objects
(segmentation), classification/recognition of individual objects, description of those objects to
reduce them to a form suitable for computer processing etc.
4
13-08-2019
• During this period, introduction of a system for developing a film plate via light
beams were modulated by the coded picture tape improved the reproduction
process considerably.
• Examples just cited involve digital image, but they are not considered digital image
processing results as computers were not involved in their creation.
• In 1964, at Jet Propulsion laboratory, digital image processing work started on images of moon
transmitted by a US spacecraft.
• During early 1970s, DIP began to be used in medical imaging, remote earth resource observations,
and astronomy.
5
13-08-2019
EM Spectrum
• The electromagnetic spectrum from lowest energy/longest
wavelength (at the top) to highest energy/shortest wavelength
(at the bottom). (Credit: NASA's Imagine the Universe)
• Electromagnetic radiation can be expressed in terms of energy,
wavelength, or frequency.
• Frequency is measured in cycles per second, or Hertz.
• Wavelength is measured in meters.
• Energy is measured in electron volts. Each of these three
quantities for describing EM radiation are related to each other in
a precise mathematical way.
6
13-08-2019
EM Spectrum
• EM waves can be conceptualized as a stream of massless particles each travelling in a
wavelike pattern, and moving at the speed of light.
• Each mass less proton contains a certain amount/bundle of energy.
• Each bundle of energy is called a photon.
• If spectral bands are grouped according to energy per photon, we obtain the spectrum
shown in fig 1.5 ranging from gamma rays (highest energy) at one end to radio waves
(lowest energy) at the other with smooth transition from one to another.
• As fig 2.10 shows, range of colors we perceive in visible light represents a very small
portion of electromagnetic spectrum.
• On one end of spectrum are radio waves with wavelengths billions of times longer
than those of visible light and on the other end are gamma rays with wavelengths
millions of times smaller than those of visible light.
• The EM spectrum can be expressed in terms of wavelength (λ) measured in meter,
frequency (ν) measured in Hertz, or energy by the expression:
𝑐
𝜆=
𝜐
• here c is the speed of light 2.988X108 m/s
7
13-08-2019
EM Spectrum
8
13-08-2019
9
13-08-2019
Gamma-Rays Imaging
• Major uses of imaging based
on gamma rays include nuclear
medicine and astronomical
observation.
• In nuclear medicine, the
approach is to inject a patient
with a radioactive isotope
that emits gamma rays as it
decays.
• Images are produced from the
emissions collected by gamma
ray detectors.
X-Ray Imaging
• These are different uses of X-Rays for imaging:
• Medical diagnosis
• Industrial imaging
• Angiography
• Computerized Axial Tomography (CAT)
10
13-08-2019
11
13-08-2019
12
13-08-2019
Steps in DIP
• Image acquisition is simple given an image that is already in digital form. It may
involve pre-processing such as scaling.
• Image enhancement is process of manipulating an image so that result is more
suitable than original for a specific application.
• Enhancement techniques are problem-oriented and there is no general theory
for it.
• e.g. A method that is quite useful for enhancing X-ray images might not be the
best approach for enhancing satellite images taken in Infrared band of EM.
• Image restoration also deals with improving appearance of an image.
• Unlike enhancement, which is subjective, image restoration is objective, as
restoration techniques are based on mathematical or probabilistic models of
image degradation.
• Color image processing has gained significant importance because of Internet.
• Wavelets are foundation for representing images in various degrees of resolution.
13
13-08-2019
Steps in DIP
• Image compression deals with techniques for reducing storage required to save
image or bandwidth required to transmit it.
• e.g. images stored in the form of image file extensions such as JPEG (Joint Photographic Experts
Group) image compression method.
• Morphological processing deals with tools for extracting image components that
are useful in representation and description of shape.
• From this step begins a transition from processes that output images to processes that output
image attributes.
• Segmentation procedures partition an image into its constituent parts or objects.
• Autonomous segmentation is one of the most difficult tasks in DIP.
• A rugged segmentation procedure brings the process a long way toward successful solution of
imaging problems that require object to be identified individually.
• A weak or erratic segmentation algorithms almost always guarantee eventual failure, i.e. the
more accurate the segmentation, the more likely recognition is to succeed.
Steps in DIP
• Representation and description follows the output of a segmentation stage, which
usually is raw pixel data, constituting either the boundary of a region or all the
points in the region itself i.e. the set of pixels separating one image region from
another.
• In either case, converting data to a form suitable for computer processing is
necessary.
• Description, also called feature selection, deals with extracting attributes that result
in some quantitative information of interest or are basic for differentiating one
class of objects from another.
• The following are the decisions to be made for representation:
• Whether data should be represented as a boundary or as a complete region
• Boundary representation is appropriate when focus is on external shape characteristics, such as
corners and inflections
• Regional representation is appropriate when the focus is on internal properties, such as texture
or skeletal shape
• In some applications, both may be needed.
14
13-08-2019
Steps in DIP
• Recognition is the process that assigns a label to an object based on its descriptors.
• Knowledge about a problem domain is coded into image processing system in the
form of Knowledge base.
• This knowledgebase may be used for the following:
• Details of regions of image where the information of interest is known to be located.
• Interrelated list of all major possible defects in a materials inspection problem.
• An image database containing high-resolution satellite images of a region in connection with
change detection application.
• It guides the operation of each processing module.
• It controls the interaction between modules.
Semantic Segmentation
15
13-08-2019
Basic
Components
16
13-08-2019
• Initially, GPU's were mostly used to power computations for graphics applications, but
soon people realized that they are just as useful for any kind of numerical computing.
• GPU's are made of a large number of processing units which by themselves aren't very
powerful, but become powerful when used in parallel.
• For any kind of processing to be done that is parallelizable, the GPU is a great fit.
• In order to interact with the GPU from MATLAB, you require the Parallel Computing
Toolbox.
17
13-08-2019
18