=========================preview======================
(ELEC317)midtermQ2sol.pdf
Back to ELEC317 Login to download
======================================================
Q2.

a.
Image A is filtered by filter a2: ones(17)/289;

Image B is filtered by filter a1: ones(5)/25;
Image C is filtered by filter a3: [0 C1 0; -1 4 C1; 0 C1 0];
































































b.








c.

% and out_data is the stretched image
ro