Question: hurry please Write a matlab code that performs the following operations in order. 1. Read the image in the file named test.tif from disk and
Write a matlab code that performs the following operations in order. 1. Read the image in the file named test.tif from disk and assign it to array A. 2. Apply 5x5 median filter to image A, assign the result to array B. 3. Take the Fourier transform by padding the B image with zero and assign it to the F-array. 4. Using the Gaussian high-pass filter (YGF) with a cutoff frequency of 50, obtain the transfer function of a high- frequency highlighting filter by selecting kl=0.3 and k2=1.5, assign it to the H array. (Obtain YGF with 1- Ipfilter(P,Q,'gauss',50) 5. Filter the B image with H filter in the frequency domain, obtain the filtered image and assign it to the G1 array. 6.61 image by selecting T=90 threshold, assign the result to array G2. 7. Multiply image A by G2 and display the result on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
