using fft2 and ifft for image processing

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

回答 (1 件)

Image Analyst
Image Analyst 2019 年 6 月 15 日

1 投票

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.

質問済み:

2019 年 6 月 15 日

回答済み:

2019 年 6 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by