Image Processing The Fundamentals Second Edition Maria Petrou pdf download
Image Processing The Fundamentals Second Edition Maria Petrou pdf download
https://ebookfinal.com/download/image-processing-the-
fundamentals-second-edition-maria-petrou/
https://ebookfinal.com/download/image-processing-and-mathematical-
morphology-fundamentals-and-applications-1st-edition-frank-y-shih/
https://ebookfinal.com/download/optical-and-digital-image-processing-
fundamentals-and-applications-1st-edition-gabriel-cristobal/
https://ebookfinal.com/download/software-engineering-for-image-
processing-systems-image-processing-series-1st-edition-philip-a-
laplante/
https://ebookfinal.com/download/the-image-processing-handbook-sixth-
edition-john-c-russ/
Digital Image Processing 1st Edition S.K. Ghosh
https://ebookfinal.com/download/digital-image-processing-1st-edition-
s-k-ghosh/
https://ebookfinal.com/download/field-guide-to-image-processing-khan-
iftekharuddin/
https://ebookfinal.com/download/feature-extraction-image-
processing-2nd-edition-mark-nixon/
https://ebookfinal.com/download/digital-color-image-processing-1st-
edition-andreas-koschan/
https://ebookfinal.com/download/digital-image-processing-for-medical-
applications-dougherty-g/
Image Processing The Fundamentals Second Edition
Maria Petrou Digital Instant Download
Author(s): Maria Petrou, Costas Petrou(auth.)
ISBN(s): 9781119994398, 111999439X
File Details: PDF, 16.16 MB
Year: 2010
Language: english
Image Processing: The Fundamentals
Image Processing: The Fundamentals, Second Edition Maria Petrou and Costas Petrou
© 2010 John Wiley & Sons, Ltd. ISBN: 978-0-470-74586-1
Image Processing: The Fundamentals
Registered office
John Wiley & Sons Ltd, The Atrium, Southern Gate, Chichester, West Sussex, PO19 8SQ, United Kingdom
For details of our global editorial offices, for customer services and for information about how to apply for
permission to reuse the copyright material in this book please see our website at www.wiley.com.
The right of the author to be identified as the author of this work has been asserted in accordance with the
Copyright, Designs and Patents Act 1988.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise,
except as permitted by the UK Copyright, Designs and Patents Act 1988, without the prior permission of
the publisher.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not
be available in electronic books.
Designations used by companies to distinguish their products are often claimed as trademarks. All brand
names and product names used in this book are trade names, service marks, trademarks or registered
trademarks of their respective owners. The publisher is not associated with any product or vendor
mentioned in this book. This publication is designed to provide accurate and authoritative information in
regard to the subject matter covered. It is sold on the understanding that the publisher is not engaged in
rendering professional services. If professional advice or other expert assistance is required, the services of a
competent professional should be sought.
ISBN 978-0-470-74586-1
A catalogue record for this book is available from the British Library.
Preface xxiii
1 Introduction 1
Why do we process images? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
What is an image? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
What is a digital image? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
What is a spectral band? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Why do most image processing algorithms refer to grey images, while most images
we come across are colour images? . . . . . . . . . . . . . . . . . . . . . . . . 2
How is a digital image formed? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
If a sensor corresponds to a patch in the physical world, how come we can have more
than one sensor type corresponding to the same patch of the scene? . . . . . 3
What is the physical meaning of the brightness of an image at a pixel position? . . 3
Why are images often quoted as being 512 × 512, 256 × 256, 128 × 128 etc? . . . . 6
How many bits do we need to store an image? . . . . . . . . . . . . . . . . . . . . . 6
What determines the quality of an image? . . . . . . . . . . . . . . . . . . . . . . . 7
What makes an image blurred? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
What is meant by image resolution? . . . . . . . . . . . . . . . . . . . . . . . . . . 7
What does “good contrast” mean? . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
What is the purpose of image processing? . . . . . . . . . . . . . . . . . . . . . . . 11
How do we do image processing? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Do we use nonlinear operators in image processing? . . . . . . . . . . . . . . . . . 12
What is a linear operator? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
How are linear operators defined? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
What is the relationship between the point spread function of an imaging device
and that of a linear operator? . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
How does a linear operator transform an image? . . . . . . . . . . . . . . . . . . . 12
What is the meaning of the point spread function? . . . . . . . . . . . . . . . . . . 13
Box 1.1. The formal definition of a point source in the continuous domain . . . . . 14
How can we express in practice the effect of a linear operator on an image? . . . . 18
Can we apply more than one linear operators to an image? . . . . . . . . . . . . . 22
Does the order by which we apply the linear operators make any difference to the
result? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Box 1.2. Since matrix multiplication is not commutative, how come we can change
the order by which we apply shift invariant linear operators? . . . . . . . . . 22
vii
viii Contents
2 Image Transformations 47
What is this chapter about? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
How can we define an elementary image? . . . . . . . . . . . . . . . . . . . . . . . 47
What is the outer product of two vectors? . . . . . . . . . . . . . . . . . . . . . . . 47
How can we expand an image in terms of vector outer products? . . . . . . . . . . 47
How do we choose matrices hc and hr ? . . . . . . . . . . . . . . . . . . . . . . . . . 49
What is a unitary matrix? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
What is the inverse of a unitary transform? . . . . . . . . . . . . . . . . . . . . . . 50
How can we construct a unitary matrix? . . . . . . . . . . . . . . . . . . . . . . . . 50
How should we choose matrices U and V so that g can be represented by fewer bits
than f ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
What is matrix diagonalisation? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Can we diagonalise any matrix? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
2.1 Singular value decomposition . . . . . . . . . . . . . . . . . . . . . . . . . 51
How can we diagonalise an image? . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Box 2.1. Can we expand in vector outer products any image? . . . . . . . . . . . . 54
1
How can we compute matrices U , V and Λ 2 needed for image diagonalisation? . . 56
Box 2.2. What happens if the eigenvalues of matrix gg T are negative? . . . . . . . 56
What is the singular value decomposition of an image? . . . . . . . . . . . . . . . . 60
Can we analyse an eigenimage into eigenimages? . . . . . . . . . . . . . . . . . . . 61
How can we approximate an image using SVD? . . . . . . . . . . . . . . . . . . . . 62
Box 2.3. What is the intuitive explanation of SVD? . . . . . . . . . . . . . . . . . 62
What is the error of the approximation of an image by SVD? . . . . . . . . . . . . 63
How can we minimise the error of the reconstruction? . . . . . . . . . . . . . . . . 65
Are there any sets of elementary images in terms of which any image may be expanded? 72
What is a complete and orthonormal set of functions? . . . . . . . . . . . . . . . . 72
Are there any complete sets of orthonormal discrete valued functions? . . . . . . . 73
2.2 Haar, Walsh and Hadamard transforms . . . . . . . . . . . . . . . . . . 74
How are the Haar functions defined? . . . . . . . . . . . . . . . . . . . . . . . . . . 74
How are the Walsh functions defined? . . . . . . . . . . . . . . . . . . . . . . . . . 74
Box 2.4. Definition of Walsh functions in terms of the Rademacher functions . . . 74
How can we use the Haar or Walsh functions to create image bases? . . . . . . . . 75
How can we create the image transformation matrices from the Haar and Walsh
functions in practice? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
What do the elementary images of the Haar transform look like? . . . . . . . . . . 80
Can we define an orthogonal matrix with entries only +1 or −1? . . . . . . . . . . 85
Box 2.5. Ways of ordering the Walsh functions . . . . . . . . . . . . . . . . . . . . 86
What do the basis images of the Hadamard/Walsh transform look like? . . . . . . 88
Contents ix
What are the advantages and disadvantages of the Walsh and the Haar transforms? 92
What is the Haar wavelet? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
2.3 Discrete Fourier transform . . . . . . . . . . . . . . . . . . . . . . . . . . 94
What is the discrete version of the Fourier transform (DFT)? . . . . . . . . . . . . 94
Box 2.6. What is the inverse discrete Fourier transform? . . . . . . . . . . . . . . . 95
How can we write the discrete Fourier transform in a matrix form? . . . . . . . . . 96
Is matrix U used for DFT unitary? . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Which are the elementary images in terms of which DFT expands an image? . . . 101
Why is the discrete Fourier transform more commonly used than the other
transforms? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
What does the convolution theorem state? . . . . . . . . . . . . . . . . . . . . . . . 105
Box 2.7. If a function is the convolution of two other functions, what is the rela-
tionship of its DFT with the DFTs of the two functions? . . . . . . . . . . . . 105
How can we display the discrete Fourier transform of an image? . . . . . . . . . . . 112
What happens to the discrete Fourier transform of an image if the image
is rotated? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
What happens to the discrete Fourier transform of an image if the image
is shifted? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
What is the relationship between the average value of the image and its DFT? . . 118
What happens to the DFT of an image if the image is scaled? . . . . . . . . . . . . 119
Box 2.8. What is the Fast Fourier Transform? . . . . . . . . . . . . . . . . . . . . . 124
What are the advantages and disadvantages of DFT? . . . . . . . . . . . . . . . . . 126
Can we have a real valued DFT? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Can we have a purely imaginary DFT? . . . . . . . . . . . . . . . . . . . . . . . . . 130
Can an image have a purely real or a purely imaginary valued DFT? . . . . . . . . 137
2.4 The even symmetric discrete cosine transform (EDCT) . . . . . . . . 138
What is the even symmetric discrete cosine transform? . . . . . . . . . . . . . . . . 138
Box 2.9. Derivation of the inverse 1D even discrete cosine transform . . . . . . . . 143
What is the inverse 2D even cosine transform? . . . . . . . . . . . . . . . . . . . . 145
What are the basis images in terms of which the even cosine transform expands an
image? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
2.5 The odd symmetric discrete cosine transform (ODCT) . . . . . . . . 149
What is the odd symmetric discrete cosine transform? . . . . . . . . . . . . . . . . 149
Box 2.10. Derivation of the inverse 1D odd discrete cosine transform . . . . . . . . 152
What is the inverse 2D odd discrete cosine transform? . . . . . . . . . . . . . . . . 154
What are the basis images in terms of which the odd discrete cosine transform
expands an image? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
2.6 The even antisymmetric discrete sine transform (EDST) . . . . . . . 157
What is the even antisymmetric discrete sine transform? . . . . . . . . . . . . . . . 157
Box 2.11. Derivation of the inverse 1D even discrete sine transform . . . . . . . . . 160
What is the inverse 2D even sine transform? . . . . . . . . . . . . . . . . . . . . . . 162
What are the basis images in terms of which the even sine transform expands an
image? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
What happens if we do not remove the mean of the image before we compute its
EDST? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
2.7 The odd antisymmetric discrete sine transform (ODST) . . . . . . . 167
What is the odd antisymmetric discrete sine transform? . . . . . . . . . . . . . . . 167
x Contents
Box 2.12. Derivation of the inverse 1D odd discrete sine transform . . . . . . . . . 171
What is the inverse 2D odd sine transform? . . . . . . . . . . . . . . . . . . . . . . 172
What are the basis images in terms of which the odd sine transform expands an
image? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
What is the “take home” message of this chapter? . . . . . . . . . . . . . . . . . . 176
Can we avoid blurring the image when we are smoothing it? . . . . . . . . . . . . . 337
What is the edge adaptive smoothing? . . . . . . . . . . . . . . . . . . . . . . . . . 337
Box 4.6. Efficient computation of the local variance . . . . . . . . . . . . . . . . . 339
How does the mean shift algorithm work? . . . . . . . . . . . . . . . . . . . . . . . 339
What is anisotropic diffusion? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Box 4.7. Scale space and the heat equation . . . . . . . . . . . . . . . . . . . . . . 342
Box 4.8. Gradient, Divergence and Laplacian . . . . . . . . . . . . . . . . . . . . . 345
Box 4.9. Differentiation of an integral with respect to a parameter . . . . . . . . . 348
Box 4.10. From the heat equation to the anisotropic diffusion algorithm . . . . . . 348
How do we perform anisotropic diffusion in practice? . . . . . . . . . . . . . . . . . 349
4.3 Reducing low frequency interference . . . . . . . . . . . . . . . . . . . . 351
When does low frequency interference arise? . . . . . . . . . . . . . . . . . . . . . . 351
Can variable illumination manifest itself in high frequencies? . . . . . . . . . . . . 351
In which other cases may we be interested in reducing low frequencies? . . . . . . . 351
What is the ideal high pass filter? . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
How can we enhance small image details using nonlinear filters? . . . . . . . . . . . 357
What is unsharp masking? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
How can we apply the unsharp masking algorithm locally? . . . . . . . . . . . . . . 357
How does the locally adaptive unsharp masking work? . . . . . . . . . . . . . . . . 358
How does the retinex algorithm work? . . . . . . . . . . . . . . . . . . . . . . . . . 360
Box 4.11. Which are the grey values that are stretched most by the retinex
algorithm? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
How can we improve an image which suffers from variable illumination? . . . . . . 364
What is homomorphic filtering? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
What is photometric stereo? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
What does flatfielding mean? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
How is flatfielding performed? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
4.4 Histogram manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
What is the histogram of an image? . . . . . . . . . . . . . . . . . . . . . . . . . . 367
When is it necessary to modify the histogram of an image? . . . . . . . . . . . . . 367
How can we modify the histogram of an image? . . . . . . . . . . . . . . . . . . . . 367
What is histogram manipulation? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
What affects the semantic information content of an image? . . . . . . . . . . . . . 368
How can we perform histogram manipulation and at the same time preserve the
information content of the image? . . . . . . . . . . . . . . . . . . . . . . . . . 368
What is histogram equalisation? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
Why do histogram equalisation programs usually not produce images with flat his-
tograms? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
How do we perform histogram equalisation in practice? . . . . . . . . . . . . . . . 370
Can we obtain an image with a perfectly flat histogram? . . . . . . . . . . . . . . . 372
What if we do not wish to have an image with a flat histogram? . . . . . . . . . . 373
How do we do histogram hyperbolisation in practice? . . . . . . . . . . . . . . . . . 373
How do we do histogram hyperbolisation with random additions? . . . . . . . . . . 374
Why should one wish to perform something other than histogram equalisation? . . 374
What if the image has inhomogeneous contrast? . . . . . . . . . . . . . . . . . . . 375
Can we avoid damaging flat surfaces while increasing the contrast of genuine tran-
sitions in brightness? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
xiv Contents
How can we enhance an image by stretching only the grey values that appear in
genuine brightness transitions? . . . . . . . . . . . . . . . . . . . . . . . . . . 377
How do we perform pairwise image enhancement in practice? . . . . . . . . . . . . 378
4.5 Generic deblurring algorithms . . . . . . . . . . . . . . . . . . . . . . . . 383
How does mode filtering help deblur an image? . . . . . . . . . . . . . . . . . . . . 383
Can we use an edge adaptive window to apply the mode filter? . . . . . . . . . . . 385
How can mean shift be used as a generic deblurring algorithm? . . . . . . . . . . . 385
What is toboggan contrast enhancement? . . . . . . . . . . . . . . . . . . . . . . . 387
How do we do toboggan contrast enhancement in practice? . . . . . . . . . . . . . 387
What is the “take home” message of this chapter? . . . . . . . . . . . . . . . . . . 393
How do we model in general the cost function we have to minimise in order to restore
an image? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
What is the reason we use a temperature parameter when we model the joint prob-
ability density function, since its does not change the configuration for which
the probability takes its maximum? . . . . . . . . . . . . . . . . . . . . . . . . 501
How does the temperature parameter allow us to focus or defocus in the solution
space? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
How do we model the prior probabilities of configurations? . . . . . . . . . . . . . 501
What happens if the image has genuine discontinuities? . . . . . . . . . . . . . . . 502
How do we minimise the cost function? . . . . . . . . . . . . . . . . . . . . . . . . 503
How do we create a possible new solution from the previous one? . . . . . . . . . . 503
How do we know when to stop the iterations? . . . . . . . . . . . . . . . . . . . . . 505
How do we reduce the temperature in simulated annealing? . . . . . . . . . . . . . 506
How do we perform simulated annealing with the Metropolis sampler in practice? . 506
How do we perform simulated annealing with the Gibbs sampler in practice? . . . 507
Box 5.11. How can we draw random numbers according to a given probability
density function? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
Why is simulated annealing slow? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
How can we accelerate simulated annealing? . . . . . . . . . . . . . . . . . . . . . . 511
How can we coarsen the configuration space? . . . . . . . . . . . . . . . . . . . . . 512
5.6 Geometric image restoration . . . . . . . . . . . . . . . . . . . . . . . . . 513
How may geometric distortion arise? . . . . . . . . . . . . . . . . . . . . . . . . . . 513
Why do lenses cause distortions? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
How can a geometrically distorted image be restored? . . . . . . . . . . . . . . . . 513
How do we perform the spatial transformation? . . . . . . . . . . . . . . . . . . . . 513
How may we model the lens distortions? . . . . . . . . . . . . . . . . . . . . . . . . 514
How can we model the inhomogeneous distortion? . . . . . . . . . . . . . . . . . . 515
How can we specify the parameters of the spatial transformation model? . . . . . . 516
Why is grey level interpolation needed? . . . . . . . . . . . . . . . . . . . . . . . . 516
Box 5.12. The Hough transform for line detection . . . . . . . . . . . . . . . . . . . 520
What is the “take home” message of this chapter? . . . . . . . . . . . . . . . . . . 526
What are the drawbacks of the minimum error threshold method? . . . . . . . . . 541
Is there any method that does not depend on the availability of models for the
distributions of the object and the background pixels? . . . . . . . . . . . . . 541
Box 6.1. Derivation of Otsu’s threshold . . . . . . . . . . . . . . . . . . . . . . . . 542
Are there any drawbacks in Otsu’s method? . . . . . . . . . . . . . . . . . . . . . . 545
How can we threshold images obtained under variable illumination? . . . . . . . . 545
If we threshold the image according to the histogram of ln f (x, y), are we
thresholding it according to the reflectance properties of the imaged
surfaces? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
Box 6.2. The probability density function of the sum of two random variables . . . 546
Since straightforward thresholding methods break down under variable
illumination, how can we cope with it? . . . . . . . . . . . . . . . . . . . . . . 548
What do we do if the histogram has only one peak? . . . . . . . . . . . . . . . . . 549
Are there any shortcomings of the grey value thresholding methods? . . . . . . . . 550
How can we cope with images that contain regions that are not uniform but they
are perceived as uniform? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
Can we improve histogramming methods by taking into consideration the spatial
proximity of pixels? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
Are there any segmentation methods that take into consideration the spatial prox-
imity of pixels? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
How can one choose the seed pixels? . . . . . . . . . . . . . . . . . . . . . . . . . . 554
How does the split and merge method work? . . . . . . . . . . . . . . . . . . . . . 554
What is morphological image reconstruction? . . . . . . . . . . . . . . . . . . . . . 554
How does morphological image reconstruction allow us to identify the seeds needed
for the watershed algorithm? . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
How do we compute the gradient magnitude image? . . . . . . . . . . . . . . . . . 557
What is the role of the number we subtract from f to create mask g in the morpho-
logical reconstruction of f by g? . . . . . . . . . . . . . . . . . . . . . . . . . 558
What is the role of the shape and size of the structuring element in the morphological
reconstruction of f by g? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560
How does the use of the gradient magnitude image help segment the image by the
watershed algorithm? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566
Are there any drawbacks in the watershed algorithm which works with the gradient
magnitude image? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
Is it possible to segment an image by filtering? . . . . . . . . . . . . . . . . . . . . 574
How can we use the mean shift algorithm to segment an image? . . . . . . . . . . . 574
What is a graph? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576
How can we use a graph to represent an image? . . . . . . . . . . . . . . . . . . . . 576
How can we use the graph representation of an image to segment it? . . . . . . . . 576
What is the normalised cuts algorithm? . . . . . . . . . . . . . . . . . . . . . . . . 576
Box 6.3. The normalised cuts algorithm as an eigenvalue problem . . . . . . . . . . 576
Box 6.4. How do we minimise the Rayleigh quotient? . . . . . . . . . . . . . . . . . 585
How do we apply the normalised graph cuts algorithm in practice? . . . . . . . . . 589
Is it possible to segment an image by considering the dissimilarities between regions,
as opposed to considering the similarities between pixels? . . . . . . . . . . . 589
6.2 Edge detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
How do we measure the dissimilarity between neighbouring pixels? . . . . . . . . . 591
xviii Contents
What happens if we do not know which pure substances might be present in the
mixed substance? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694
How do we solve the linear spectral unmixing problem if we do not know the spectra
of the pure materials? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
7.2 The physics and psychophysics of colour vision . . . . . . . . . . . . . 700
What is colour? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 700
What is the interest in colour from the engineering point of view? . . . . . . . . . 700
What influences the colour we perceive for a dark object? . . . . . . . . . . . . . . 700
What causes the variations of the daylight? . . . . . . . . . . . . . . . . . . . . . . 701
How can we model the variations of the daylight? . . . . . . . . . . . . . . . . . . . 702
Box 7.3. Standard illuminants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
What is the observed variation in the natural materials? . . . . . . . . . . . . . . . 706
What happens to the light once it reaches the sensors? . . . . . . . . . . . . . . . . 711
Is it possible for different materials to produce the same recording by a sensor? . . 713
How does the human visual system achieve colour constancy? . . . . . . . . . . . . 714
What does the trichromatic theory of colour vision say? . . . . . . . . . . . . . . . 715
What defines a colour system? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
How are the tristimulus values specified? . . . . . . . . . . . . . . . . . . . . . . . . 715
Can all monochromatic reference stimuli be matched by simply adjusting the inten-
sities of the primary lights? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
Do all people require the same intensities of the primary lights to match the same
monochromatic reference stimulus? . . . . . . . . . . . . . . . . . . . . . . . . 717
Who are the people with normal colour vision? . . . . . . . . . . . . . . . . . . . . 717
What are the most commonly used colour systems? . . . . . . . . . . . . . . . . . . 717
What is the CIE RGB colour system? . . . . . . . . . . . . . . . . . . . . . . . . . 717
What is the XY Z colour system? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 718
How do we represent colours in 3D? . . . . . . . . . . . . . . . . . . . . . . . . . . 718
How do we represent colours in 2D? . . . . . . . . . . . . . . . . . . . . . . . . . . 718
What is the chromaticity diagram? . . . . . . . . . . . . . . . . . . . . . . . . . . . 719
Box 7.4. Some useful theorems from 3D geometry . . . . . . . . . . . . . . . . . . 721
What is the chromaticity diagram for the CIE RGB colour system? . . . . . . . . 724
How does the human brain perceive colour brightness? . . . . . . . . . . . . . . . . 725
How is the alychne defined in the CIE RGB colour system? . . . . . . . . . . . . 726
How is the XY Z colour system defined? . . . . . . . . . . . . . . . . . . . . . . . . 726
What is the chromaticity diagram of the XY Z colour system? . . . . . . . . . . . 728
How is it possible to create a colour system with imaginary primaries, in practice? 729
What if we wish to model the way a particular individual sees colours? . . . . . . . 729
If different viewers require different intensities of the primary lights to see white,
how do we calibrate colours between different viewers? . . . . . . . . . . . . . 730
How do we make use of the reference white? . . . . . . . . . . . . . . . . . . . . . . 730
How is the sRGB colour system defined? . . . . . . . . . . . . . . . . . . . . . . . 732
Does a colour change if we double all its tristimulus values? . . . . . . . . . . . . . 733
How does the description of a colour, in terms of a colour system, relate to the way
we describe colours in everyday language? . . . . . . . . . . . . . . . . . . . . 733
How do we compare colours? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733
What is a metric? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733
Can we use the Euclidean metric to measure the difference of two colours? . . . . . 734
Contents xxi
References 777
Index 781
Discovering Diverse Content Through
Random Scribd Documents
2 . mischief hither in Bell, who, however, prints
3
from Ritson.
2 . as: at in Scott, who had his copy, as printed
4
at grammar, are.
17 . He had, Bell, for improvement again.
3
1
As I did walke my selfe alone,
And by one garden greene,
I heard a yonge prince make great moane,
Which did turne my hart to teene.
2
‘O Lord!’ he then said vntou me,
‘Why haue I liued soe long?
For yonder comes a cruell Scott,’
Quoth hee, ‘that will doe me some ronge.’
3
And then came traitor Douglas there,
He came for to betray his king;
Some they brought bills, and some they brought bowes,
And some the brought other things.
4
The king was aboue in a gallery,
With a heauy heart;
Vnto his body was sett about
With swords and speares soe sharpe.
5
‘Be you the lordes of Scotland,’ he said,
‘That hither for councell seeke to me?
Or bee yoe traitors to my crowne,
My blood that you wold see?’
6
‘Wee are the lords of Scottland,’ they said,
‘Nothing we come to craue of thee;
But wee be traitors to thy crowne,
Thy blood that wee will see.’
7
‘O fye vpon you, you false Scotts!
For you neuer all trew wilbe;
My grandfather you haue slaine,
And caused my mother to flee.
8
‘My grandfather you haue slaine,
And my owne father you hanged on a tree;
And now,’ quoth he, ‘the like treason
You haue now wrought for me.
9
‘Ffarwell hart, and farwell hand!
Farwell all pleasures alsoe!
Farwell th . . . my head
. . . . . . .
10
. . . . . . .
. . . . . . .
‘If thou wilt . . . .
And soe goe away with mee.’
11
‘Goe marry thy daughter to whome thou wilt,’
Quoth Browne; ‘thou marrys none to me;
For I’le not be a traitor,’ quoth Browne,
‘For all the gold that euer I see.’
12
This Douglas, hearing Browne soe say,
Began to flee away full fast;
‘But tarry a while,’ saies lusty Browne,
‘I’le make you to pay before you passe.’
13
He hath taken the Douglas prisoner,
And hath brought him before the king;
He kneeled low vpon his knee,
For pardon there prainge.
14
‘How shold I pardon thee,’ saith the king,
‘And thou’le remaine a traitor still?
For euer since that I was borne,’
Quoth he, ‘thou hast sought my blood to spill.’
15
‘For if you will grant me my pardon,’ he said,
‘Out of this place soe free,
I wilbe sworne before your Grace
A trew subiect to bee.’
16
‘God for-gaue his death,’ said the king,
‘When he was nayled vpon a tree;
And as free as euer God forgaue his death,
Douglas,’ quoth he, ‘I’le forgiue thee.
17
‘And all the traitors in Scottland,’
Quoth he, ‘both great and small;
As free as euer God forgaue his death,
Soe free I will forgiue them all.’
18
‘I thanke you for your pardon, king,
That you haue granted forth soe plaine;
If I liue a twelue month to an end,
You shall not aliue remaine.
19
‘Tomorrow yet, or ere I dine,
I meane to doo thee one good turne;
For Edenborrow, that is thine owne,’
Quoth he, ‘I will both h[arry] and [burne].’
20
Thus Douglas hied towards Edenborrow,
And many of his men were gone beffore;
And after him on euery side,
With him there went some twenty score.
21
But when that they did see him come,
They cryed lowd with voices, saying,
‘Yonder comes a false traitor,
That wold haue slaine our king.’
22
They chaynd vp the gates of Edenborrow,
And there the made them wonderous fast,
And there Browne sett on Douglas againe,
And quicklye did him ouer cast.
23
But worde came backe againe to the king,
With all the speed that euer might bee,
That traitor Douglas there was taken,
And his body was there to see.
24
‘Bring me his taker,’ quoth the king,
‘Come, quickly bring him vnto me!
I’le giue a thousand pound a yeere,
What man soeuer he bee.’
25
But then they called lusty Browne;
Sayes, ‘Browne, come thou hither to mee.
How oft hast thou foughten for my sake,
And alwayes woone the victory?’
26
‘The first time that I fought for you,
It was in Edenborrow, king;
If there I had not stoutly stood,
My leege, you neuer had beene king.
27
‘The second time I fought for you,
Here I will tell you in this place;
I killd the sheriffs sonne of Carlile,’
Quoth he, ‘that wold haue slaine your Grace.
28
‘The third time that I fought for you,
Here for to let you vnderstand,
I slew the Bishopp of St Andrew[s],’
Quoth he, ‘with a possat in [his hand].’
29
. . . . . quoth hee,
‘That euer my manhood I did trye;
I’le make a vow for Englands sake
That I will neuer battell flee.’
30
‘God amercy, Browne,’ then said the king,
‘And God amercy heartilye!
Before I made thee but a knight,
But now an earle I will make thee.
31
‘God saue the queene of England,’ he said,
‘For her blood is verry neshe;
As neere vnto her I am
As a colloppe shorne from the fleshe.
32
‘If I be false to England,’ he said,
‘Either in earnest or in iest,
I might be likened to a bird,’
Quoth he, ‘that did defile it nest.’
3
5 . yoe bee.
5 . by my: cf. 6 .
4 4
1
6 . are they.
8 . mother for father.
2
3
18 . a 12.
4
20 . 20 score.
3
24 . a 1000.
1
28 . the 3d:.
2
‘Now wae be to thee, Huntly!
And wherefore did you sae?
I bade you bring him wi you,
But forbade you him to slay.’
3
He was a braw gallant,
And he rid at the ring;
And the bonny Earl of Murray,
Oh he might have been a king!
4
He was a braw gallant,
And he playd at the ba;
And the bonny Earl of Murray
Was the flower amang them a’.
5
He was a braw gallant,
And he playd at the glove;
And the bonny Earl of Murray,
Oh he was the Queen’s love!
6
Oh lang will his lady
Look oer the castle Down,
Eer she see the Earl of Murray
Come sounding thro the town!
Eer she, etc.
B
Finlay’s Scottish Ballads, II, 11; from recitation.
1
‘Open the gates,
and let him come in;
He is my brother Huntly,
he’ll do him nae harm.’
2
The gates they were opent,
they let him come in,
But fause traitor Huntly,
he did him great harm.
3
He’s ben and ben,
and ben to his bed,
And with a sharp rapier
he stabbed him dead.
4
The lady came down the stair,
wringing her hands:
‘He has slain the Earl o Murray,
the flower o Scotland.’
5
But Huntly lap on his horse,
rade to the king:
‘Ye’re welcome hame, Huntly,
and whare hae ye been?
6
‘Whare hae ye been?
and how hae ye sped?’
‘I’ve killed the Earl o Murray,
dead in his bed.’
7
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookfinal.com