call fft from code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

call fft from code

Pol kennel
Hello,

I would like to use the Fast Fourier Transform in my own code to find
frequency centers of some FIR filters :
I plan to make transform of this filters, get pixels with maximum magnitude,
and extract their frenquencies (~distance to the center). Am I right ?

The thing is I don't know how to call the IJ transform in my code and get
the result. Could you advise me ?

(Is there a simple way to obtain the frequency corresponding to a pixel in
the freq. domain ?).

Regards,

Pol


--
Pol Kennel
Reply | Threaded
Open this post in threaded view
|

Re: call fft from code

Pol kennel
OK, I tried : IJ.run(im, "FFT", null); and it seems ok.

Let me know if there is an easy way to get the frequency corresponding to
the magnitude maxima.

Pol

2011/8/3 Pol kennel <[hidden email]>

> Hello,
>
> I would like to use the Fast Fourier Transform in my own code to find
> frequency centers of some FIR filters :
> I plan to make transform of this filters, get pixels with maximum
> magnitude, and extract their frenquencies (~distance to the center). Am I
> right ?
>
> The thing is I don't know how to call the IJ transform in my code and get
> the result. Could you advise me ?
>
> (Is there a simple way to obtain the frequency corresponding to a pixel in
> the freq. domain ?).
>
> Regards,
>
> Pol
>
>
> --
> Pol Kennel
>
>


--
Pol Kennel
Reply | Threaded
Open this post in threaded view
|

Re: call fft from code

ashamim
hey Pol could you please tell me what is it that u r tryin to do . i have been playin with fft for some time may be i can help. Is it like u trying to remove the some lines from the image ?

Cheers