
268 A Computational Introduction to Digital Image Processing, Second Edition
(a) Roberts
(b) Prewitt
(c) Sobel
(d) Laplacian
(e) Zero-crossings of a Laplacian
(f) The Marr-Hildreth method
(g) Canny
Which seems to you to provide the best looking result?
11. Repeat the above exercise, but use the image
arch.png.
12. Obtain a grayscale flower image with:
MATLAB/Octave
ir = imread(’iris.png’);
i = rgb2gray(ir);
or
Python
In : ir = io.imread(’iris.png’)
In : i = co.rgb2gray(ir)
Now repeat Question 10.
13. Pick a graysc ale image, and add some noise to it using the commands introduced in
Section 8.2. Create two images:
c1 corrupted with salt and pepper noise, and c2
corrupted ...