Question: Write Matlab code for the following: Load image Balloon.tif and convert it into a grayscale image, denoted with img1 Apply Fourier transform to img1 using
Write Matlab code for the following:
Load image Balloon.tif and convert it into a grayscale image, denoted with img1
Apply Fourier transform to img1 using fft (and fftshift) and display the amplitude and phase using abs and angle functions
Create a Gaussian lowpass filter and apply it to the Fourier coefficients of img1.
Perform inverse Fourier transform using ifft to recover the filtered image and display it to screen
Create a Gaussian highpass filter and apply it to the Fourier coefficients of img1. Using inverse Fourier transform to recover the filtered image and display it to screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
