Delphi and Kylix

Moderators: pritaeas
Number of threads: 7244
Number of posts: 19051

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
A freeware FFT(Fast Fourier Transform) Component? Posted by hadipardis on 22 Jun 2005 at 11:06 PM
Hi Dear All
I need a freeware FFT (Fast Fourier Transform) Component or Unit to perform a 2D-FFT on an arbitrary input image!
Can anyone help me?
Cheers
Bye
Report
Re: A freeware FFT(Fast Fourier Transform) Component? Posted by zibadian on 22 Jun 2005 at 11:32 PM
: Hi Dear All
: I need a freeware FFT (Fast Fourier Transform) Component or Unit to perform a 2D-FFT on an arbitrary input image!
: Can anyone help me?
: Cheers
: Bye
:
Use google to find them. There are several good ones on the net, which include their full source and are freeware.
Report
Re: A freeware FFT(Fast Fourier Transform) Component? Posted by hadipardis on 22 Jun 2005 at 11:49 PM
: : Hi Dear All
: : I need a freeware FFT (Fast Fourier Transform) Component or Unit to perform a 2D-FFT on an arbitrary input image!
: : Can anyone help me?
: : Cheers
: : Bye
: :
: Use google to find them. There are several good ones on the net, which include their full source and are freeware.
:
Thanks Dear Zibadian. But unfortunately I could not find any good one.
Can you show me some of them?
Bye
Report
Re: A freeware FFT(Fast Fourier Transform) Component? Posted by zibadian on 23 Jun 2005 at 4:35 AM
: : : Hi Dear All
: : : I need a freeware FFT (Fast Fourier Transform) Component or Unit to perform a 2D-FFT on an arbitrary input image!
: : : Can anyone help me?
: : : Cheers
: : : Bye
: : :
: : Use google to find them. There are several good ones on the net, which include their full source and are freeware.
: :
: Thanks Dear Zibadian. But unfortunately I could not find any good one.
: Can you show me some of them?
: Bye
:
Here is a site which lists several other sources: http://homepages.borland.com/efg2lab/Library/Delphi/MathFunctions/Engineering.htm#DSP
It also has several sources available. I myself use a variant of the dsxfft component.
Report
Re: A freeware FFT(Fast Fourier Transform) Component? Posted by hadipardis on 25 Jun 2005 at 10:58 PM
: : : : Hi Dear All
: : : : I need a freeware FFT (Fast Fourier Transform) Component or Unit to perform a 2D-FFT on an arbitrary input image!
: : : : Can anyone help me?
: : : : Cheers
: : : : Bye
: : : :
: : : Use google to find them. There are several good ones on the net, which include their full source and are freeware.
: : :
: : Thanks Dear Zibadian. But unfortunately I could not find any good one.
: : Can you show me some of them?
: : Bye
: :
: Here is a site which lists several other sources: http://homepages.borland.com/efg2lab/Library/Delphi/MathFunctions/Engineering.htm#DSP
: It also has several sources available. I myself use a variant of the dsxfft component.
:
But when I try to compile or install TFastFourier component in the DsxFastFourier.pas (dsxfft.zip in Delphi 6) I got the following error:
line 68: published property 'TransformedData' cannot be of type array!
Please note that in line 68 of this file, there is a published property as follows:
property TransformedData[idx:integer]:TComplex read ....
Now, How I can compile and install it?
Thanks
Report
Re: A freeware FFT(Fast Fourier Transform) Component? Posted by zibadian on 25 Jun 2005 at 11:02 PM
: : : : : Hi Dear All
: : : : : I need a freeware FFT (Fast Fourier Transform) Component or Unit to perform a 2D-FFT on an arbitrary input image!
: : : : : Can anyone help me?
: : : : : Cheers
: : : : : Bye
: : : : :
: : : : Use google to find them. There are several good ones on the net, which include their full source and are freeware.
: : : :
: : : Thanks Dear Zibadian. But unfortunately I could not find any good one.
: : : Can you show me some of them?
: : : Bye
: : :
: : Here is a site which lists several other sources: http://homepages.borland.com/efg2lab/Library/Delphi/MathFunctions/Engineering.htm#DSP
: : It also has several sources available. I myself use a variant of the dsxfft component.
: :
: But when I try to compile or install TFastFourier component in the DsxFastFourier.pas (dsxfft.zip in Delphi 6) I got the following error:
: line 68: published property 'TransformedData' cannot be of type array!
: Please note that in line 68 of this file, there is a published property as follows:
: property TransformedData[idx:integer]:TComplex read ....
: Now, How I can compile and install it?
: Thanks
:
Change the TransfromedData into a public property.
Report
Re: A freeware FFT(Fast Fourier Transform) Component? Posted by hadipardis on 26 Jun 2005 at 11:06 PM
: : : : : : Hi Dear All
: : : : : : I need a freeware FFT (Fast Fourier Transform) Component or Unit to perform a 2D-FFT on an arbitrary input image!
: : : : : : Can anyone help me?
: : : : : : Cheers
: : : : : : Bye
: : : : : :
: : : : : Use google to find them. There are several good ones on the net, which include their full source and are freeware.
: : : : :
: : : : Thanks Dear Zibadian. But unfortunately I could not find any good one.
: : : : Can you show me some of them?
: : : : Bye
: : : :
: : : Here is a site which lists several other sources: http://homepages.borland.com/efg2lab/Library/Delphi/MathFunctions/Engineering.htm#DSP
: : : It also has several sources available. I myself use a variant of the dsxfft component.
: : :
: : But when I try to compile or install TFastFourier component in the DsxFastFourier.pas (dsxfft.zip in Delphi 6) I got the following error:
: : line 68: published property 'TransformedData' cannot be of type array!
: : Please note that in line 68 of this file, there is a published property as follows:
: : property TransformedData[idx:integer]:TComplex read ....
: : Now, How I can compile and install it?
: : Thanks
: :
: Change the TransfromedData into a public property.
:
Hi!
Thank you for your help. I was installed this component successfully.
But I have a problem for using this component.
I wrote the following code:
//---------------------------------------------------------------------
procedure TForm1.DSXFastFourier1GetData(index: Integer;
var Value: TComplex);
begin
// Sample Count=4 and so I defind input data as [0 1 2 3]
Value.Real:=index;
Value.Imag:=0;
end;

procedure TForm1.Button1Click(Sender: TObject);
var i:integer;
begin

DSXFastFourier1.fft;

for i:=1 to 4 do //Sample Count=4
begin
showmessage(floattostr(DSXFastFourier1.TransformedData[i].real)+'+i'+floattostr(DSXFastFourier1.TransformedData[i].imag));
end;

end;
//---------------------------------------------------------------------
The above code is executed when Button1 clicked. After this
action, the TDsxFastFourier.OnGetData to obtain input data will occured.
(Input Data= [ 0 1 2 3] and SampleCount=4)
After this stage, the output result will display by showmessage
procedure.
But the output of this component is wrong. For instance you
can test it in Matlab by the following code:
x=[0 1 2 3];
f=fft(x);
Now, What is the problem?



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.