An Introduction to Digital Image
Processing with Matlab
Notes for SCM2511 Image
Processing 1
Alasdair McAndrew
School of Computer Science and Mathematics
Victoria University of Technology
ii
CONTENTS
Contents
1 Introduction
1.1
Images and pictures . . . . .
1.2
What is image processing? .
1.3
Images and digital images .
1.4
Some applications . . . . . .
1.5
Aspects of image processing
1.6
An image processing task .
1.7
Types of digital images . . .
1.8
Image File Sizes . . . . . . .
1.9
Image Acquisition . . . . . .
1.10 Image perception . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
1
1
4
6
7
7
8
11
12
12
2 Basic use of Matlab
2.1
Introduction . . . . . . . . .
2.2
Basic use of Matlab . . . .
2.3
Variables and the workspace
2.4
Dealing with matrices . . .
2.5
Plots . . . . . . . . . . . . .
2.6
Help in Matlab . . . . . .
Exercises . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
15
15
16
17
19
28
30
32
3 Images and Matlab
3.1
Greyscale images . .
Bibliography: [1] Dana H. Ballard and Christopher M. Brown. Computer Vision. Prentice Hall, 1982. [2] Gregory A. Baxes. Digital Image Processing: Principles and Applications. John Wiley & Sons Inc., New York NY, 1994. [3] Wayne C. Brown and Barry J. Shepherd. Graphics File Formats: Reference and Guide. Manning Publications, 1995. [4] Kenneth R. Castleman. Digital Image Processing. Prentice Hall, 1979. [5] Rafael Gonzalez and Richard E. Woods. Digital Image Processing. Addison-Wesley, 2nd edition, 2002. [6] Duane Hanselman and Bruce R. Littlefield. Mastering Matlab 6. Prentice Hall, 2000. [7] Gerard J. Holzmann. Beyond Photography: the Digital Darkroom. Prentice Hall, 1988. [8] Bernd Jähne. Digital Image Processing. Springer-Verlag, 1991. [9] Anil K. Jain. Fundamentals of Digital Image Processing. Prentice Hall, 1989. [10] Ramesh Jain, Rangachar Kasturi, and Brian G. Schunk. Machine Vision. McGraw-Hill Inc., 1995. [11] Arne Jensen and Anders la Cour-Harbo. Ripples in Mathematics: the Discrete Wavelet Transform. Springer-Verlag, 2001. [12] David C. Kay and John R. Levine. Graphics File Formats. Windcrest/McGraw-Hill, 1995. [13] Jae S. Lim. Two-Dimensional Signal and Image Processing. Prentice Hall, 1990. [14] Vishvjit S. Nalwa. A Guided Tour of Computer Vision. Addison-Wesley, 1993. [15] James R. Parker. Algorithms for Image Processing and Computer Vision. John Wiley and Sons, 1997. [16] William K. Pratt. Digital Image Processing. John Wiley and Sons, second edition, 1991. [17] Majid Rabbani and Paul W. Jones. Digital Image Compression Techniques. SPIE Optical Engineering Press, 1991. [18] Greg Roelofs. PNG: The Definitive Guide. O’Reilly & Associates, 1999. edition, 1982. PWS Publishing, second edition, 1999. [21] James S. Walker. Fast Fourier Transforms. CRC Press, second edition, 1996. [22] Alan Watt and Fabio Policarpo. The Computer Image. Addison-Wesley, 1998.