importing to frequency domain

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

importing to frequency domain

acepler
Is there a way to import an image into ImageJ as a frequency domain image?

What I would like to do is take a FFT of an image, multiply each pixel by a certain function, and then take the iFFT to see the result.  I can take the FFT of an image save it as a "Text Image." This allows me to multiply each pixel by a value (in Excel) and generate a set of values, with I can import as a new text image.  However, if I import this new image back into ImageJ, it is no longer a frequency domain image.
Reply | Threaded
Open this post in threaded view
|

Re: importing to frequency domain

Michael Schmid
Hi,

as far as I can say, you would have to create your own plugin to  
import the Fourier transform or Hartley transform (Actually, the  
internal format is not a Fourier but a Hartley transform, but these  
are similar, and multiplying with a frequency-dependent function can  
be done for a FFT as well as a FHT).

But you don't need to import/export the FHT (FFT) data:

If you want to multiply by a frequency-dependent factor, ImageJ has a  
function for this: Process>FFT>Custom Filter.

Michael
________________________________________________________________

On 18 Oct 2011, at 00:01, acepler wrote:

> Is there a way to import an image into ImageJ as a frequency domain  
> image?
>
> What I would like to do is take a FFT of an image, multiply each  
> pixel by a
> certain function, and then take the iFFT to see the result.  I can  
> take the
> FFT of an image save it as a "Text Image." This allows me to  
> multiply each
> pixel by a value (in Excel) and generate a set of values, with I  
> can import
> as a new text image.  However, if I import this new image back into  
> ImageJ,
> it is no longer a frequency domain image.