using fft2 and ifft for image processing
46 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Image Analyst
2019-6-15
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!