Académique Documents
Professionnel Documents
Culture Documents
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
December 2, 2010
1 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
grayscale)
2 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
3 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
4 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
Image Read/Write/Show
5 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
im2int8
im2int16
im2int32
im2uint8
im2uint16
im2double
6 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
Image Conversions
> babbon = imread(0 bab.png 0 );
RGB to Gray scale - rgb2gray
> babgray = rgb2gray(babbon);
RGB to Binary - im2bw
> lenabw = im2bw(lena, 0.5);
> imwrite(lenabw,0 lenabw.png 0 );
RGB to HSV format - rgb2hsv
HSV to RGB format - hsv2rgb
RGB to YCbCr - rgb2ycbcr
YCbCr to RGB - ycbcr2rgb
7 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
(a) rgb2gray(babbon);
8 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
Basic Operations
Crop -
area
9 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
(a) Original
(b) Complement
10 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
(a) Original
(b) Cropped
11 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
(a) Original
(b) Resize by 2
12 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
Add Noise
> lenaNgaussian = imnoise(lena,0 gaussian0 );
The noise can be one of these:
1. salt & Pepper - white/black noise (default probability
d=0.05)
2. speckle - multiplicative noise (uniform with mean 0
and variance v=0.04)
3. gaussian - additive noise (with mean 0 and variance
v=0.01)
13 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
(a) Original
(c) Speckle
(d) Gaussian
14 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
1 1 1
0 0 0
1 1 1
0.1666667
0.6666667 0.1666667
0.6666667 3.3333333 0.6666667
0.1666667 0.6666667 0.1666667
15 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
0.0468064
0.3167464
0.7146325
0.3167464
0.0468064
0.0564068
0.7146325
4.904764
0.7146325
0.0564068
0.0468064
0.3167464
0.7146325
0.3167464
0.0468064
0.0447924
0.0468064
0.0564068
0.0468064
0.0447924
16 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
17 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
(a) Original
(b) Sobel
(c) Prewitt
(d) Laplacian
18 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
(a) Original
(b) Gaussian
(c) LoG
(d) Average
19 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
Edge Detection
20 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
(a) Original
(b) Sobel
(d) LoG
(c) Prewitt
(e) Canny
21 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
Miscellaneous
22 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
23 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
Image Compression
24 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
25 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
(a) Original
(b) Top 20
(c) Top 40
(d) Top 60
(e) Top 80
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
FFT
Wavelets
Radon Transform
Hough Transform
27 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
Recap
1.
2.
3.
4.
5.
6.
Read/Write/Show Image
Basic Operations
Noise and Blur
LTI Filtering
Image as a Matrix
Transform Domain Operations
28 / 29
Introduction
Image Degradation
Image Enhancement
Image as a Matrix
Conclusion
Thanks
Thank You
shanmuganathan@iitb.ac.in
29 / 29