如何在傅立叶空间中应用高斯过滤器?

发布于 2025-02-02 12:43:22 字数 86 浏览 2 评论 0原文

我将一个高斯过滤器以及要过滤的图像转换为傅立叶空间。在傅立叶空间中应用过滤器的规则与图像空间中的规则相同吗? (例如,仅使用NP.Convolve应用卷积)?

I converted a Gauss filter, as well as an image I want to filter, into the fourier space. Are the rules of applying filters in the fourier space the same like in the image space? (e.g. just applying a convolution with np.convolve)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

|煩躁 2025-02-09 12:43:22

根据卷积定理,图像空间中的卷积对应于傅立叶空间中的乘法。

因此,为了应用过滤器,您可以使用傅立叶转换过滤器对傅立叶转换图像进行元素乘法。

该产品是傅立叶转换的过滤图像。要在图像空间中获取过滤的图像,请应用逆傅里叶变换。

According to the Convolution theorem, convolution in image space corresponds to multiplication in Fourier space.

So in order to apply the filter, you do element-wise multiplication of the Fourier-transformed image with the Fourier-transformed filter.

The product is the Fourier-transformed filtered image. To get the filtered image in image space, you apply the inverse Fourier transform.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文