Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please solve problem 4 and 5 using matlab and include the screenshot of the result , thank you Homework #8 Applied Programming, ENGR 10573 Spring
Please solve problem 4 and 5 using matlab and include the screenshot of the result , thank you
Homework #8 Applied Programming, ENGR 10573 Spring 2018 Due Monday, Apr. 2 uploaded through TCU Online by 11:59 PM. Upload one script or function, named studentlastn ame-homework 8 ) n a single m- file that runs each problem. The homework problems should run sequentially showing I figure and or plots along with the proof that each problem works correctly. The single m-file that you turn in is the code that will be graded. Open a new figure for every problem (not every image/plot) by using the figure command. Use of subplot (m, n, k) will help. g ae s 1. Open the standard image, 'cameraman.tif with the imread(. Filter and display the image with a vertical Sobel edge filter using the command, v imfilter (I,hl). Filter and display the image with a horizontat Sobel edge filter with the command, H -infilter(, h2). Display both images atong with the addition of the two Tnages.V+ 2. Open the standard image, 'cameraman.tif' with the imread function. Filter the image with an embossing filter and display the image with the same 256-element gray colormap 3. Again, open the standard image, 'cameraman.tif' with the imread() function. Filter the image with a sharpening 0 10: 1 5 -1: 0 1 0] filter and an edge filer t0 -1 0 1 4 1; 0 1 01. Display the images with the same 256-element gray colormap and comment on the differences. 4. Using the images from Problem #3, plot the histogram using the [n, v] hist (x,nbins) command for the same value of nbins. Plot the histograms in different colors on the same graph and display the results. 5. Again, open the standard image, 'cameraman.tif' and display the image. Use the imnoise () command to add 'salt & pepper' noise (sometimes called shot noise) to the image and display the result. Try and remove the added noise with a 3x3 averaging filter using AVG imfilter (I,h) and a 3x3 median filter, MED medfilt2() and display both results. State which one works better on ot the absolute convergence test. This is requird when the nay contain negative terms but we cannot (or do not want to) rnating series testStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started