Question: 6 ) HW _ spectrum ( ImagePtr I 1 , ImagePtr mag, ImagePtr phase ) Implement the 2 - D fast Fourier transform. Use a
HWspectrum ImagePtr I ImagePtr mag, ImagePtr phase
Implement the D fast Fourier transform. Use a separable implementation that first calls fftD upon all the rows,
and then takes that result and computes fftD 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 s to convert the input into a complex image. Convert the magnitude and phase spectrums into the range for display purposes by scaling their maximum and
minimum values to the 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
