Question: I just need the code and operation for this. I am unsure about my answer. im is the image read and im1 just added noise
I just need the code and operation for this. I am unsure about my answer. im is the image read and im1 just added noise to the image. Just follow the instructions. You may use any other png image you have available to you and do the same thing.

im=imread('Ecolig.png'); iml=imnoise(im,'gaussian,0,0.25); iml is the resulted noisy images. i- Perform a rectangular low pass filter using cutoff frequency of (uc=N/16, vc=M/16) where N and M are the row and column sizes of the image, (initialize a matrix of zeros of size N rows by M columns, generate a rectangle of ones, centered at N/2 and M/2 with width and height of N/8, M/8, split the rectangle with fftshift, then multiply the whole matrix point by point with the output of the fft2 of the image). (refer to MatalbExtras/FrequencyFilters) display the ouput file here; im=imread('Ecolig.png'); iml=imnoise(im,'gaussian,0,0.25); iml is the resulted noisy images. i- Perform a rectangular low pass filter using cutoff frequency of (uc=N/16, vc=M/16) where N and M are the row and column sizes of the image, (initialize a matrix of zeros of size N rows by M columns, generate a rectangle of ones, centered at N/2 and M/2 with width and height of N/8, M/8, split the rectangle with fftshift, then multiply the whole matrix point by point with the output of the fft2 of the image). (refer to MatalbExtras/FrequencyFilters) display the ouput file here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
