# ImgLib2 FFT algorithms - maven

Hi,
I already asked this from the mailing list, but i wasn’t aware the this nice forum.
So my question is: where can I find the FFT algorithms for imgLib2 (as maven artifacts if possible)
Thank you
Jean

Put this in the pom.xml:

<dependency>
<groupId>net.imglib2</groupId>
<artifactId>imglib2-algorithm-fft</artifactId>
<version>0.1.2</version>
</dependency>

And the repo is here:

Best
jy

3 Likes

Hi Jean,

Sorry this is not related to imglib but for general information you can also try ParrallelColt, it’s parallel and working quite well, here a sample code:

Transformer t1 = new DoubleTransformer(plus.getStack());
t1.fft();
ImagePlus p1r = t1.toImagePlus(SpectrumType.REAL_PART);
ImagePlus p1i = t1.toImagePlus(SpectrumType.IMAG_PART);

a bientot

Thomas

Hi Jean-Yves,
I just realized I forgot to say thanks for your answer! So thank you :)wink:
Jean