如何从 Aforgenet 中的 FFT 中提取实部/虚部?
我无法从 AForgenet FFT 中提取实部和虚部。我有以下内容
ComplexImage cImage = ComplexImage.FromBitmap(inputImage);
cImage.ForwardFourierTransform();
Complex[,] realImaginaryData = cImage.Data;
这是否意味着我已从复杂结构中手动提取实部和虚部?
谢谢。任何片段都会有很大帮助!
I am having trouble figuring out extracting the real and imaginary parts from AForgenet FFT. I have the following
ComplexImage cImage = ComplexImage.FromBitmap(inputImage);
cImage.ForwardFourierTransform();
Complex[,] realImaginaryData = cImage.Data;
Does this mean I have manually extract real and imaginary parts from the complex structure?
Thanks. Any snippet would be great help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我对 C# 不太熟悉,但似乎
cImage.Data
返回一个Complex
对象的二维数组。这些对象各自具有公共字段(请参阅 http://www.aforgenet.com/framework/docs/html/09bb06de-f1c8-fc26-3472-78a64c4f4ac6.htm)包含真实的(
Re
字段)和虚部(Im
字段)部分。所以,我想:
I'm not that familiar with C#, but it seems as if
cImage.Data
returns a 2D array ofComplex
objects.These objects each have public fields (see http://www.aforgenet.com/framework/docs/html/09bb06de-f1c8-fc26-3472-78a64c4f4ac6.htm) containing the real (
Re
field) and imaginary (Im
field) parts.So, I'd imagine: