How to Get 1D Power Spectra from 2D FFT Image

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

How to Get 1D Power Spectra from 2D FFT Image

maveric_ben
Dear All,
  Sorry for bothering.
  I had a 2D TEM image and I already used ImageJ to get a 2D power spectra. (FFT transform on the TEM image).
   The problem is: I wan to average the radial intensity distribution of all the direction on the 2D power spectra to get a 1D power spectra. That is to say, how to extract a 1D magnitude of the 2D transform. So, I am wondering is there such a plugin to average over the azimuthal angel to yield the radial power spectra?
   Thanks a lot and your respons will be well appreciated!
  Regards
  Ben

               
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.
Reply | Threaded
Open this post in threaded view
|

Re: How to Get 1D Power Spectra from 2D FFT Image

Divakar Ramachandran
Hi Ben,

Try the Radial Profile Plot at the ImageJ plugin page.

HTH,
Divakar


--- Ben <[hidden email]> wrote:

> Dear All,
>   Sorry for bothering.
>   I had a 2D TEM image and I already used ImageJ to get a 2D
> power spectra. (FFT transform on the TEM image).
>    The problem is: I wan to average the radial intensity
> distribution of all the direction on the 2D power spectra to
> get a 1D power spectra. That is to say, how to extract a 1D
> magnitude of the 2D transform. So, I am wondering is there
> such a plugin to average over the azimuthal angel to yield the
> radial power spectra?
>    Thanks a lot and your respons will be well appreciated!
>   Regards
>   Ben
>
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.
>  Great rates starting at 1&cent;/min.
>



               
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Reply | Threaded
Open this post in threaded view
|

Re: How to Get 1D Power Spectra from 2D FFT Image

Dean Waldow Email Lists
In reply to this post by maveric_ben
Hi,

You can try the radial profile plugin as Divakar suggests. I also  
ended up rewriting the radial profile plugin so the x-axis is wave  
vector to compare with scattering data. If that is of interest, let  
me know.

Dean Waldow


On Mar 27, 2006, at 7:07 PM, Ben wrote:

> Dear All,
>   Sorry for bothering.
>   I had a 2D TEM image and I already used ImageJ to get a 2D power  
> spectra. (FFT transform on the TEM image).
>    The problem is: I wan to average the radial intensity  
> distribution of all the direction on the 2D power spectra to get a  
> 1D power spectra. That is to say, how to extract a 1D magnitude of  
> the 2D transform. So, I am wondering is there such a plugin to  
> average over the azimuthal angel to yield the radial power spectra?
>    Thanks a lot and your respons will be well appreciated!
>   Regards
>   Ben
>
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  
> Great rates starting at 1&cent;/min.
Reply | Threaded
Open this post in threaded view
|

How to display jpeg images

Andy Gotz-2
Hi,

I have a jpeg image as an array of bytes which I get from a server via
the network. How can I display this in ImageJ without writing the image
out to a file? I am looking for something like ColorProcessor but with a
jpeg image as input. Is there an api call to do this? Has anyone done
anything similar ?

Thanks for any help you can offer.

Andy
Reply | Threaded
Open this post in threaded view
|

Re: How to Get 1D Power Spectra from 2D FFT Image

Gabriel Landini
In reply to this post by Divakar Ramachandran
On Tuesday 28 March 2006 05:33, Divakar@Yahoo wrote:
> Try the Radial Profile Plot at the ImageJ plugin page.

By any chance, has anybody added the option to display the standard deviation
of the averave profile to the plot?

Thanks,

G.
Reply | Threaded
Open this post in threaded view
|

Re: How to display jpeg images

Wayne Rasband
In reply to this post by Andy Gotz-2
> I have a jpeg image as an array of bytes which I get from a server via
> the network. How can I display this in ImageJ without writing the
> image out to a file? I am looking for something like ColorProcessor
> but with a jpeg image as input. Is there an api call to do this? Has
> anyone done anything similar ?
>
> Thanks for any help you can offer.

Something like this should work:

   Image img = Toolkit.getDefaultToolkit().createImage(bytes);
   new ImagePlus("title", img).show();

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: How to Get 1D Power Spectra from 2D FFT Image

maveric_ben
In reply to this post by Divakar Ramachandran
Thanks a lot Divakar, it works!
Ben
Reply | Threaded
Open this post in threaded view
|

Re: How to Get 1D Power Spectra from 2D FFT Image

maveric_ben
In reply to this post by Dean Waldow Email Lists
Yes, sure it helps, we want the the x axis is k space. Thanks Dean. Hope I can get your rewrited version.
By the way, is the averaged intensity  in power spectra encoded on a linear scale or logarithmic scale?

Cheers
Ben
Reply | Threaded
Open this post in threaded view
|

Re: How to Get 1D Power Spectra from 2D FFT Image

Divakar Ramachandran
In reply to this post by Dean Waldow Email Lists
Hi Dean,

X-axis in wave vector units is of interest to me too, since I
use Radial profile almost exclusively on power spectra
calculated from HRTEM images. Please let me know how to do that.

Thanks,
Divakar


--- Dean Waldow <[hidden email]> wrote:

> Hi,
>
> You can try the radial profile plugin as Divakar suggests. I
> also  
> ended up rewriting the radial profile plugin so the x-axis is
> wave  
> vector to compare with scattering data. If that is of
> interest, let  
> me know.
>
> Dean Waldow
>
>
> On Mar 27, 2006, at 7:07 PM, Ben wrote:
>
> > Dear All,
> >   Sorry for bothering.
> >   I had a 2D TEM image and I already used ImageJ to get a 2D
> power  
> > spectra. (FFT transform on the TEM image).
> >    The problem is: I wan to average the radial intensity  
> > distribution of all the direction on the 2D power spectra to
> get a  
> > 1D power spectra. That is to say, how to extract a 1D
> magnitude of  
> > the 2D transform. So, I am wondering is there such a plugin
> to  
> > average over the azimuthal angel to yield the radial power
> spectra?
> >    Thanks a lot and your respons will be well appreciated!
> >   Regards
> >   Ben
> >
> >
> > ---------------------------------
> > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone
> calls.  
> > Great rates starting at 1&cent;/min.
>



---------------------------------
 Divakar@Yahoo
---------------------------------



               
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Reply | Threaded
Open this post in threaded view
|

Re: How to Get 1D Power Spectra from 2D FFT Image

originlab1
Divakar Ramachandran wrote
Hi Dean,

X-axis in wave vector units is of interest to me too, since I
use Radial profile almost exclusively on power spectra
calculated from HRTEM images. Please let me know how to do that.

Thanks,
Divakar


--- Dean Waldow <[hidden email]> wrote:

> Hi,
>
> You can try the radial profile plugin as Divakar suggests. I
> also  
> ended up rewriting the radial profile plugin so the x-axis is
> wave  
> vector to compare with scattering data. If that is of
> interest, let  
> me know.
>
> Dean Waldow
>
>
> On Mar 27, 2006, at 7:07 PM, Ben wrote:
>
> > Dear All,
> >   Sorry for bothering.
> >   I had a 2D TEM image and I already used ImageJ to get a 2D
> power  
> > spectra. (FFT transform on the TEM image).
> >    The problem is: I wan to average the radial intensity  
> > distribution of all the direction on the 2D power spectra to
> get a  
> > 1D power spectra. That is to say, how to extract a 1D
> magnitude of  
> > the 2D transform. So, I am wondering is there such a plugin
> to  
> > average over the azimuthal angel to yield the radial power
> spectra?
> >    Thanks a lot and your respons will be well appreciated!
> >   Regards
> >   Ben
> >
> >
> > ---------------------------------
> > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone
> calls.  
> > Great rates starting at 1¢/min.
>



---------------------------------
 Divakar@Yahoo
---------------------------------



               
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Hi Divakar and Dean,
Can any of you please share that plugin? I am laos working with HRTEM images and interested in obtaining the 1D power spectra.
--
AB