Question: Please kindly write this MATLAB code Computer Vision Lab Filters CSCI 3 80 Computer Vision Create two smoothing kernels, the first one should be of
Computer Vision Lab Filters CSCI 3 80 Computer Vision Create two smoothing kernels, the first one should be of dimensions 3x3, the second: 7x7. filterOne is shown below, you will need to complete step 1b (the 7x7 filter) 1. a. smoothing FilterOne [1/9 1/91/9; 1/9 1/9 1/9; 1/9 1/91/9: b. smoothingFilterTwo Apply both smoothing filters to the cameraman image. The cameraman image comes with matlab and can be accessed as shown below 2. a. mylmage imread('cameraman.tif) 3. Your output should include a single figure containing the original image followed by each of the above filtered images At the end of your script, output the answers to the following questions (use the fprintf command): 4. What 3x3 filter could be used to produce the exact same image after convolution? What 3x3 filter could be used to shift all pixels to the left. a. b. Turn-in: 1. 2. Matlab script used to complete the above exercise. Screenshot of the figure generated. Extra credit: 1. Implement the convolution function (using for loops and matrix multiplication)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
