Plugin, java: Accessing amplitude image

Hello All!

I am trying to make some fourier analysis on one image, my problem is that I cant access the amplitude image within my java code. I can do open an image then process -> fft -> fft: the result is the amplitude image. My question is how to access it from a java plugin