Professional Documents
Culture Documents
ebook download Computer Vision Technology for Food Quality Evaluation, Second Edition Sun - eBook PDF all chapter
ebook download Computer Vision Technology for Food Quality Evaluation, Second Edition Sun - eBook PDF all chapter
https://ebooksecure.com/download/probabilistic-graphical-models-
for-computer-vision-ebook-pdf/
https://ebooksecure.com/download/feature-extraction-and-image-
processing-for-computer-vision-ebook-pdf/
https://ebooksecure.com/download/computer-vision-theory-
algorithms-practicalities-ebook-pdf/
http://ebooksecure.com/product/ebook-pdf-the-healthcare-quality-
book-vision-strategy-and-tools-4th-edition/
Food Quality and Shelf Life 1st edition - eBook PDF
https://ebooksecure.com/download/food-quality-and-shelf-life-
ebook-pdf/
https://ebooksecure.com/download/technology-for-success-computer-
concepts-ebook-pdf/
http://ebooksecure.com/product/ebook-pdf-introduction-to-
healthcare-quality-management-second-edition/
http://ebooksecure.com/product/ebook-pdf-evaluation-essentials-
second-edition-by-marvin-c-alkin/
https://ebooksecure.com/download/citrus-fruit-biology-technology-
and-evaluation-2nd-edition-ebook-pdf/
Computer Vision Technology for Food
Quality Evaluation
This page intentionally left blank
Computer Vision Technology for
Food Quality Evaluation
Second Edition
Edited by
Da-Wen Sun
This book and the individual contributions contained in it are protected under copyright by the Publisher
(other than as may be noted herein).
Notices
Knowledge and best practice in this field are constantly changing. As new research and experience broaden
our understanding, changes in research methods, professional practices, or medical treatment may become
necessary.
Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using
any information, methods, compounds, or experiments described herein. In using such information or methods
they should be mindful of their own safety and the safety of others, including parties for whom they have a
professional responsibility.
To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any
liability for any injury and/or damage to persons or property as a matter of products liability, negligence or
otherwise, or from any use or operation of any methods, products, instructions, or ideas contained in the
material herein.
British Library Cataloguing-in-Publication Data
A catalogue record for this book is available from the British Library
v
Contents
vi
Contents
vii
Contents
viii
Contents
ix
Contents
x
Contents
xi
Contents
xii
Contents
xiii
Contents
xiv
Contents
xv
This page intentionally left blank
Contributors
M.Z. Abdullah School of Electrical and Electronic Engineering, Universiti Sains Malaysia,
Penang, Malaysia
Z. Ayvaz Çanakkale Onsekiz Mart University, Çanakkale, Turkey
M.O. Balaban University of Auckland, Auckland, New Zealand
D.F. Barbin University College Dublin (UCD), National University of Ireland, Dublin, Ireland
J. Blasco Instituto Valenciano de Investigaciones Agrarias (IVIA), Moncada, Spain
K. Chao Beltsville Agricultural Research Center, Beltsville, MD, United States
J.-H. Cheng South China University of Technology, Guangzhou, China
S. Cubero Instituto Valenciano de Investigaciones Agrarias (IVIA), Moncada, Spain
Q. Dai South China University of Technology, Guangzhou, China
R. Diaz AINIA Technological Centre, Valencia, Spain
C.-J. Du University College Dublin (UCD), National University of Ireland, Dublin, Ireland
C. Erkinbaev University of Manitoba, Winnipeg, MB, Canada
P.K. Ghosh Agriculture, Food and Rural Development, Government of Manitoba,
Winnipeg, MB, Canada
S. Gunasekaran University of Wisconsin-Madison, Madison, WI, United States
H.-J. He University College Dublin (UCD), National University of Ireland, Dublin, Ireland
A. Iqbal University College Dublin (UCD), National University of Ireland, Dublin, Ireland
D.S. Jayas University of Manitoba, Winnipeg, MB, Canada
M. Kamruzzaman University College Dublin (UCD), National University of Ireland,
Dublin, Ireland
C. Karunakaran Canadian Light Source, Saskatoon, SK, Canada
M.S. Kim Beltsville Agricultural Research Center, Beltsville, MD, United States
Y. Lu Michigan State University, East Lansing, MI, United States
R. Lu Michigan State University, East Lansing, MI, United States
T. Marique Centre pour l’Agronomie et l’Agro-Industrie de la Province de Hainaut (CARAH),
Belgium
D. Mery Pontificia Universidad de Católica de Chile, Santiago, Chile
E. Misimi SINTEF Fisheries and Aquaculture, Trondheim, Norway
E. Moltó Instituto Valenciano de Investigaciones Agrarias (IVIA), Moncada, Spain
M. Nagata University of Miyazaki, Miyazaki, Japan
xvii
Contributors
xviii
About the Editor
xix
About the Editor
xx
Preface to the 2nd Edition
Computer vision is a technology that employs image processing and analysis for object recognition
and quantitative information extraction. Driven by significant increases in computer power and rapid
developments in image processing techniques and software, the application of computer vision has
become widespread, in particular, to provide objective, rapid, noncontact, and nondestructive quality
inspection, classification, and evaluation for a wide range of food and agricultural products.
The 1st edition of Computer Vision Technology for Food Quality Evaluation was published in
2008, with the main aims to present a comprehensive review of computer vision applications for the
food industry and pinpoint the research and development trends in the development of the technology;
to provide the engineer and technologist working in research, development, and operations in the food
industry with critical, comprehensive, and readily accessible information on the art and science of
computer vision technology; and to serve as an essential reference source to undergraduate and post-
graduate students and researchers in universities and research institutions. This will continue to be the
purpose of this 2nd edition.
In the 2nd edition, besides updating or rewriting individual chapters with the latest developments in
each topic area, two new chapters are added. Hyperspectral imaging has rapidly emerged as and
matured into one of the most powerful and fastest growing nondestructive tools for food quality anal-
ysis and control. Using hyperspectral imaging techniques, the spectrum associated with each pixel in a
food image can be used as a fingerprint to characterize the biochemical composition of the pixel, thus
enabling the visualization of the constituents of the food sample at the pixel level. Many chapters in
this 2nd edition have thus been updated to include hyperspectral imaging applications in relevant
areas. On the other hand, Raman chemical imaging technology is expected to become one of the
dominant imaging techniques in food research. Therefore two new chapters are added in Part I to
reflect this current trend of developments in food imaging technology. In addition, one chapter is
removed from Part V due to lack of development in the topic area.
D.-W. Sun
South China University of Technology, Guangzhou, China;
University College Dublin (UCD), National University of Ireland, Dublin, Ireland
xxi
This page intentionally left blank
PART 1
Fundamentals of Computer
Vision Technology
This page intentionally left blank
CHAPTER 1
1.1 Introduction
In making a physical assessment of agricultural materials and foodstuff, images are undoubtedly
the preferred method in representing concepts to the human brain. Many of the quality factors
affecting foodstuffs can be determined by visual inspection and image analysis. Such inspections
determine market price and, to some extent, the “best-if-used-before date.” Traditionally, quality
inspection is performed by trained human inspectors who approach the problem of quality assess-
ment in two ways: seeing and feeling. In addition to being costly, this method is highly variable,
and decisions are not always consistent between inspectors or from day to day. This is, however,
changing with the advent of electronic imaging systems and with the rapid decline in costs of com-
puters, peripherals and other digital devices. Moreover, the inspection of foodstuffs for various
quality factors is a very repetitive task, which is also very subjective in nature. In this type of envi-
ronment, machine vision systems are ideally suited for routine inspection and quality assurance
tasks. Backed by powerful artificial intelligence systems and the state-of-the-art electronic technol-
ogies, machine vision provides a mechanism in which the human thinking process is simulated arti-
ficially. To date, machine vision has extensively been applied to solve various food engineering
problems, ranging from the simple quality evaluation of food products to complicated robot guid-
ance applications (Abdullah et al., 2000; Pearson, 1996; Tao et al., 1995). Despite the general
utility of machine vision images as a first-line inspection tool, their capabilities for more in-depth
investigation are fundamentally limited. This is due to the fact that images produced by vision
camera are formed using a narrow band of radiation, extending from 104 to 107 m in wave-
length. Due to this, scientists and engineers have invented camera systems that allow patterns of
energy from virtually any part of the electromagnetic spectrum to be visualized. Camera systems
such as the computed tomography (CT), the magnetic resonance imaging (MRI), the nuclear mag-
netic resonance (NMR), the single-photon emission computed tomography (SPECT), and the posi-
tron emission tomography (PET) operate at shorter wavelengths, ranging from 108 to 1013 m.
On the opposite side of the electromagnetic spectrum, there are infrared and radio cameras, which
enable visualization to be performed at wavelengths greater than 106 and 104 m, respectively.
All these imaging modalities rely on acquisition hardware featuring an array or ring of detectors,
which measure the strength of some form of radiation, either due to reflection or after the signal
has passed transversely through the object. Perhaps one thing that these camera systems have in
common is the requirement to perform digital image processing of the resulting signals using
modern computing power. While digital image processing is usually assumed as the process of
converting radiant energy in a three-dimensional world into a two-dimensional radiant array of
numbers, this is certainly not so when the detected energy is outside the visible part of the spec-
trum. The reason is that the technology used to acquire the imaging signals are quite different
depending on the camera modalities. The aim of this chapter is, therefore, to give a brief review of
the present state-of-the-art image acquisition technologies which have found many applications in
the food industry.
Section 1.2 summarizes the electromagnetic spectrum, which is useful in image formation. Section
1.3.1 gives a summary of the principle of operation of the machine vision technology, followed in
Section 1.3.1.1 and Section 1.3.1.2 by the illumination and electronics requirements, respectively.
Other imaging modalities, particularly the acquisition technologies operating at the nonvisible range,
are briefly discussed in Section 1.3. In particular, technologies based on ultrasound (Section 1.3.2),
infrared (Section 1.3.3), MRI and CT (Section 1.3.4) will be addressed, followed by some of their
successful applications in food engineering found in literature. Section 1.4, which is the final conclu-
sion section, addresses likely future developments in this exciting field of electronic imaging.
Visible
Ultraviolet Infrared
X-Rays (UV) (IR)
Gamma Microwaves
rays Increasing resolution
Increasing energy
Radio waves
Decreasing wavelength
Figure 1.1
The electromagnetic spectrum comprising the visible and nonvisible range.
Mathematically, the wavelength (l), the frequency ( f ) and the energy (E) are related by Planck’s
equation, which is given by:
c
E¼h [1.1]
l
where h is the Planck’s constant (6.626076 1034 J s), and c is the speed of light (2.998 108 m/
s). Consequently, the energy increases as the wavelength decreases. Therefore gamma rays, which
have the shortest wavelengths, have the highest energy of all the electromagnetic waves. This
explains why gamma rays could easily travel through most objects without being affected. In
contrast, radio waves have the longest wavelength and hence the lowest energy. Therefore their pene-
trative power is at least hundreds orders of magnitude lower compared to gamma or x-rays. More-
over, both gamma and x-rays travel in a straight line, and the paths are not affected by the object
through which these signals propagate. This is known as the hard field effect. Conversely, radio
waves do not travel in straight lines, and their paths depend strongly on the medium of propagation.
This is the soft field effect. Both the hard and soft field effects have a direct implication on the
quality of images produced by these signals. Soft field effect causes many undesirable artifacts, most
notably, image blurring. Therefore images produced by gamma rays generally appear better than
6 Chapter 1
images produced by radio waves. Another important attribute, which is wavelength dependent, is the
image resolution. In theory, the image spatial resolution is essentially limited to half of the interro-
gating wavelength. Therefore the spatial resolution also increases as the wavelength decreases. Thus
the resolution of typical gamma rays is less than 0.05 nm, enabling this type of electromagnetic
wave to “see” extremely small objects such as water molecules. In summary, these attributes, along
with the physical properties of the sensor materials, establish the fundamental limits on the capability
of imaging modalities and their applications.
The following sections explain the technology of image acquisition and applications for all the
imaging modalities discussed, focusing on the visible modality or computer vision system since this
device has extensively been used for solving various food engineering problems. Moreover, given the
progress in computer technology, computer vision hardware is now relatively inexpensive and easy
to use. To date, some personal computers offer capability for a basic vision system by including a
camera and its interface within the system. However, there are specialized systems for vision, offer-
ing performance in more than one aspect. Naturally, as any specialized equipment, such systems can
be expensive.
CCD
color Illumination
camera system
BNC cable
Test
station Sample under test
Colour frame
grabber
Figure 1.2
Essential elements of a typical computer vision system.
Even though machine vision systems have become increasingly simple to use, the applications
themselves can still be extremely complicated. A developer needs to know precisely what needs to
be achieved in order to ensure a successful implementation of machine vision application. Key char-
acteristics include not only the specific part dimensions and part tolerances, but also the level of mea-
surement precision required and the speed of the production line. Virtually all manufacturing
processes will produce some degree of variability, and while the best machine vision technology is
robust enough to compensate automatically for minor difference over time, the applications them-
selves need to take major changes into account. Additional complexity arises for companies with
complex lighting and optical strategies, or unusual materials-handling logistics. For these reasons, it
is essential to understand the characteristics of the part and subassemblies of the machine system, as
well as the specifications of the production line itself.
1.3.1.1 Illumination
The importance of correct and high-quality illumination, in many vision applications, is absolutely
decisive. Despite the advances of machine vision hardware and electronics, lighting for machine
vision remains the art for those involved in vision integration. Engineers and machine vision prac-
titioners have long recognized lighting as an important piece of the machine vision system.
However, choosing the right lighting strategy remains a difficult problem because there is no spe-
cific guideline for integrating lighting and machine vision application. In spite of this, some rules
of thumb exist. In general, three areas of knowledge are required to ensure successful levels of
lighting for the vision task: firstly, understanding the role of the lighting component in machine
vision applications; secondly, knowing the behavior of light on a given surface; and finally, under-
standing what basic lighting techniques are available that will cause the light to create the desired
feature extraction. In the vast majority of machine vision applications, image acquisition deals
with reflected light even though the use of backlight techniques can still be found. Therefore the
most important aspect of lighting is to understand what happens when light hits the surface, more
specifically, to know how to control the reflection so that the image appears at reasonably good
quality.
Another random document with
no related content on Scribd:
Æquitas non vaga atque incerta est, sed terminos habet atque
limites præfinitas.
Equity is not vague and uncertain, but has determinate
or prescribed boundaries and limits.
Æquitas vult domum quod alteri obsit ex causa æque favorabili esse
ac id quod aufert.
Equity wishes that the house which may be injurious to
another should be in the predicament, equally
favourable to that other, as that which it takes from
him.
Æquitas vult spoliatos, vel deceptos, vel lapsos ante omnia restituti.
Equity wishes the spoiled, the deceived, and the
ruined, above all things to have restitution.
Aliquis non debet esse judex in propria causa; quia non potest esse
judex et pars.
One ought not to be judge in his own cause, because
he cannot be a judge and a party.
Ambigua autem intentio ita accipienda est, ut res salva actori sit.
An ambiguous answer is so to be understood that the
interest of the pleader may be safe.
Caveat emptor; qui ignorare non debuit quod jus alienum emit.
Let the purchaser take care; who ought not to be
ignorant what right of another he purchases.
Confirmare est id quod prius infirmum fuit, firmare vel firmum facere.
To confirm is to strengthen, or make strong, that which
before was weak.
Confirmatio est possessionis jure defective per eos quorum jus est
ratihabitio.
The confirmation of a possession defective in law, is a
ratification by means of those whose right it is.