using fft2 and ifft for image processing

34 vues (au cours des 30 derniers jours)
Kenneth Weintraub
Kenneth Weintraub le 15 Juin 2019
i'm asked to use fft2 and ifft to perform image processing. We are given an m file with a brain MRI slice. I was able to view the file using fspecial and conv2 codes. I cant figure how to use fft/ifft to view the processed image. We also had to do median filtering and I used medfilt2 very simply and it worked. I know i need to use imshow command. thanks

Réponses (1)

Image Analyst
Image Analyst le 15 Juin 2019
As you should know, fft2() is not used to view processed images -- imshow() is. fft2() just converts the spatial domain image to the Fourier (spatial Frequency) domain. And neither are fspecial() and conv2() used to view images, despite what you said.
It's a very vague question so I guess you're just looking for general examples of how fft is used. So I'm attaching some.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by