Login  Register

Re: call fft from code

Posted by Pol kennel on Aug 03, 2011; 3:24pm
URL: http://imagej.273.s1.nabble.com/call-fft-from-code-tp3683623p3683624.html

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