网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

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

时间:2024-10-26 04:06:44

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变换
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com