【图像处理】Mathematica与逆Fourier变换

时间:2026-02-14 01:51:16

1、原图如下。

【图像处理】Mathematica与逆Fourier变换

2、经过Fourier变换之后,结果如下。

b = Fourier[a];

Log[Abs[b]*50] // Image

【图像处理】Mathematica与逆Fourier变换

3、逆向Fourier变换:

c = InverseFourier[b];

c//Image

【图像处理】Mathematica与逆Fourier变换

4、Abs[c]//Image

复原了。

【图像处理】Mathematica与逆Fourier变换

5、对b进行共轭处理:

b = Conjugate[b];

c = InverseFourier[b];

Abs[c] // Image

图像旋转了180度,而且颜色也变了。

【图像处理】Mathematica与逆Fourier变换

6、砍掉大部分低频信号,图像还原之后,还保留着主要信息。

b = Fourier[a]; n = 20;

b[[n ;; -n, n ;; -n]] = b[[n ;; -n, n ;; -n]]*0;

c = InverseFourier[b];

Abs[c] // Image

【图像处理】Mathematica与逆Fourier变换

7、n=10的情形。

【图像处理】Mathematica与逆Fourier变换

8、n=5的情形。

【图像处理】Mathematica与逆Fourier变换

© 2026 五度知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com