EE-333 Digital Image Processing
EE-333 Digital Image Processing
EE-333 Digital Image Processing
Dr Tahir Nawaz
Website: https://www.tahirnawaz.com
Email: tahir.nawaz@ceme.nust.edu.pk
Human visual perception
• Before embarking on our journey of learning image processing, it is
very important to understand how human perception works.
• However, the visual system cannot operate over this dynamic range
simultaneously; rather, at any one time humans can only
discriminate between a much smaller number of intensity levels.
Image acquisition
using a single sensor
Image acquisition
using a sensor strip
Image acquisition
using a sensor array
Image sensing and acquisition
Digital image acquisition process
• Quantization:
– Digitization in amplitude (also known as gray level quantization)
– 8 bit quantization: 28=256 gray levels (0: black, 255: white)
– 1 bit quantization: 2 gray levels (0: black, 1: white) – binary
Image sampling and quantization
Image sampling and quantization
V = {1, 2}
Relationship between pixels
Path
• A (digital) path (or curve) from pixel p with coordinates (x0, y0) to
pixel q with coordinates (xn, yn) is a sequence of distinct pixels with
coordinates
• We can define 4-, 8-, and m-paths based on the type of adjacency
used.
Relationship between pixels
Path
Relationship between pixels
Path
Relationship between pixels
Path
Relationship between pixels
Distance metrics
• Given pixels p, q, and z with coordinates (x, y), (s, t), (u, v)
respectively, the distance function D has following properties:
• D(p, q) ≥ 0, and
• D(p, q) = 0, iff p = q, and
• D(p, q) = D(q, p), and
• D(p, z) ≤ D(p, q) + D(q, z)
Relationship between pixels
Different types of distance metrics
• City block distance (D4 distance)
• Euclidean distance
Acknowledgement/References
• Digital Image Processing”, Rafael C. Gonzalez & Richard E. Woods,
Addison-Wesley, 2002
• Statistical Pattern Recognition: A Review – A.K Jain et al., PAMI (22)
2000
• Pattern Recognition and Analysis Course – A.K. Jain, MSU
• “Pattern Classification” by Duda et al., John Wiley & Sons.
• “Machine Vision: Automated Visual Inspection and Robot Vision”,
David Vernon, Prentice Hall, 1991
• www.eu.aibo.com/
• Advances in Human Computer Interaction, Shane Pinder, InTech,
Austria, October 2008
• https://www.cs.nmt.edu/~ip/lectures.html