Question: 6 ) HW _ spectrum ( ImagePtr I 1 , ImagePtr mag, ImagePtr phase ) Implement the 2 - D fast Fourier transform. Use a

6) HW_spectrum (ImagePtr I1, ImagePtr mag, ImagePtr phase)
Implement the 2-D fast Fourier transform. Use a separable implementation that first calls fft1D upon all the rows,
and then takes that result and computes fft1D on all the columns. The input image in file in consists of pixels of
type unsigned char. Be sure to append an imaginary channel of 0s to convert the input into a complex image. Convert the magnitude and phase spectrums into the range [0,255] for display purposes by scaling their maximum and
minimum values to the [0,255] range. Save the scaled results in images mag and phase, respectively
Need in C++

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 Programming Questions!