CSCI 3280
Introduction to Multimedia Systems
(2026 Term 2)
Computer Science & Engineering
The Chinese University of Hong Kong
Announcement
Visual Application (1)
Visual Application (2)
Visual Application (3)
Visual Application (4)
Visual Application (5)
Image Representation (1)
How to Represent Light?
How to Represent Light (2)?
How to Represent Color (1)?
How to Represent Color (2)?
XYZ Color Space
From XYZ to RGB (1)
From XYZ to RGB (2)
Color Model
YIQ Model (1)
YIQ Model (2)
1
- By ignoring the I and Q channels and only handling Y (luminance component).
- Our eye is more sensitive to luminance than chrominance components. By separating luminance from chrominance and reducing the bandwidth of chrominance channels, we can reduce the bandwidth without much noticeable artifact.
YIQ Model (3)
YUV Color Model
CYM and CYMK Models (1)
CYM and CYMK Models (2)
1
Digital Image (1)
1
Digital Image (2)
Gray Image
Color Image
Color Lookup Table
Is 8-bit Really Enough? (1)
Is 8-bit Really Enough? (2)
High Dynamic Range Image
Image Processing - Filtering
Motivation - Noise Reduction
Motivation - Noise Reduction
Image Filtering
– Function specified by a “filter” or mask saying how to combine values from neighbors.
– Enhance an image (denoise, resize, etc)
– Extract information (texture, edges, etc)
– Detect patterns (template matching)
Linear Filtering
First attempt at a solution
Discrete convolution
- every sample gets the same weight
- each sample gets its own weight (normally zero far away)
Discrete filtering in 2D
– now the filter is a rectangle you slide around over a grid of numbers
Discrete filtering in 2D
Smoothing by averaging
Boundary issues
– the filter window falls off the edge of the image
– need to extrapolate
– methods:
• clip filter (black)
• wrap around
• copy edge
• reflect across edge
Gaussian filter
Smoothing with a Gaussian
Smoothing with a Gaussian
More examples
Signals and Images
Edge Detection
– Intuitively, most semantic and shape information from the image can be encoded in the edges
– More compact than pixels
Edge Detection: Motivation
What Causes an Edge?
Characterizing Edges
Derivatives with Convolution
Partial Derivatives of an Image
Original Image
Gradient Magnitude Image
Thresholding Gradient with a Threshold
Designing an Edge Detector
– Good detection: the optimal detector should find all real edges, ignoring noise or other artifacts
– Good localization
• the edges detected must be as close as possible to the true edges
• the detector must return one point only for each true edge point
– Differences in color, intensity, or texture across the boundary
– Continuity and closure
– High-level knowledge
The Canny Edge Detector
The Canny Edge Detector: Recap
Various Kinds of Blurs
Image Deblurring: Motivation
Image Deblurring
Commonly Used Blur Model
Blind Deconvolution
Non-blind Deconvolution
MAP based Approaches (1)
MAP based Approaches (2)
Edge Prediction based Approaches (1)
Edge Prediction based Approaches (2)
Summary