如何在C#中实现离散傅里叶变换及其对图像的反转? [英] How do I implement a discrete fourier transform and its inverse on a image in C#?

查看:261
本文介绍了如何在C#中实现离散傅里叶变换及其对图像的反转?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

离散傅立叶变换是一个难以理解的概念,我的编码技巧还没有完全发展。我正在努力在c#程序中实现这个转换。关于这个主题的例子并不多。我意识到这不是一种理想的方法,快速傅立叶变换是一种更好的方法,但我需要知道如何在图像上专门实现DFT。有人可以帮助我吗?



我尝试过:



我已尝试修改FFT,如codeproject.com所述,但尚未成功。

The Discrete Fourier Transform is a difficult concept to grasp, and my coding skills are not fully developed. I am struggling to implement this transform in a c# program. There aren't many examples available on this subject. I realise that this is not an ideal approach and the Fast Fourier Transform is a way better method, but I require the knowledge of how to implement specifically a DFT on a image. Could someone assist me please?

What I have tried:

I have tried modifying a FFT as described on codeproject.com but haven't been successful.

推荐答案

很难帮助那些可以尝试在CodeProject上发布并失败的人在问题中引用它。



因此,只能提供一般帮助。写下傅里叶变换代码或使用一些现有的库。其中一个适用于图像的库是着名的AForge.NET。请参阅: FFT方法 [ ^ ]。



我用它,没问题。



您可以找到更多:让我谷歌为你找到 [ ^ ]。



一篇特别文章: C#中的FFT Gerry Beauregard [ ^ ]。



在CodeProject上:

C#中图像的2D FFT [ ^ ],

如何实现FFT算法 [ ^ ],

搜索 - CodeProject [ ^ ]。



在SourceForge上: FFT免费下载 - SourceForge [ ^ ]。



-SA
It's hard to help someone who can try something published on CodeProject and failed to reference it in the question.

So, only a general help can apply. Write that Fourier Transform code or use some existing libraries. One of such libraries applicable for images is famous AForge.NET. Please see: FFT Method[^].

I used it, faced no problem.

You can find a lot more: Let me google that for you[^].

One particular article: An FFT in C# | Gerry Beauregard[^].

On CodeProject:
2D FFT of an Image in C#[^],
How to implement the FFT algorithm[^],
Search — CodeProject[^].

On SourceForge: FFT free download — SourceForge[^].

—SA


这篇关于如何在C#中实现离散傅里叶变换及其对图像的反转?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆