Question: MATLAB CODE The purpose of this project is to develop a 2-D FFT program package that will be used in several other projects that follow.

MATLAB CODE

The purpose of this project is to develop a 2-D FFT program "package" that will be used in

several other projects that follow. Your implementation must have the capabilities to:

(a) Multiply the input image by (-1)^(x+y) to center the transform for filtering.

(b) Multiply the resulting (complex) array by a real filter function (in the sense that the the real coefficients multiply both the real and imaginary parts of the transforms). Recall that multiplication of two images is done on pairs of corresponding elements.

(c) Compute the inverse Fourier transform. (d) Multiply the result by (-1)^(x+y) and take the real part. (e) Compute the spectrum.

If you are using MATLAB, then

your Fourier transform program will not be limited to images whose size are integer powers of

2. If you are implementing the program yourself, then the FFT routine you are using may be

limited to integer powers of 2. In this case, you may need to zoom or shrink an image to the

proper size by using the matlab funtions.

An approximation: To simplify this and the following projects (with the exception of Project

04-05), you may ignore image padding. Although your results will not be

strictly correct, significant simplifications will be gained not only in image sizes, but also in the

need for cropping the final result. The principles will not be affected by this approximation.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!