comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Can it be done?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Can it be done? [message #28695 is a reply to message #28693] Sat, 05 January 2002 05:33 Go to previous message
john is currently offline  john
Messages: 3
Registered: July 1996
Junior Member
Hi

I want to do this:
Open and read a BMP file
And then carry out a 2D-FFT
Save the result as BMP file, but with data shifted such that DC
component is in the middle of the image.

I tried the followings:

MYIMAGE=READ_TIFF('c:\image2c.tif')
TV, MYIMAGE
R=FFT(MYIMAGE)
TV, R

It seems the displayed result is the FFT result, but is it really a
2D-FFT ?
And could anyone show me how to shift the dc point at the center of the
display ?

Many Thanks in advance

John





john �g�J�G
>
> Hi
>
> I am new on IDL and actually have just installed the trial yesterday.
> I am wondering could anyone help and provide me some sample on the
> following task:
>
> Open and read a BMP file
> And then carry out a 2D-FFT
> Save the result as BMP file, but with data shifted such that DC
> component is in the middle of the image.
>
> Can it be done easily with only a few command ?
> Would youshow me how ?
> Many Thanks in advance
>
> Best Regards
>
> John
[Message index]
 
Read Message
Read Message
Previous Topic: Can it be done?
Next Topic: Re: Reporting routines called

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:45:03 PDT 2025

Total time taken to generate the page: 1.20305 seconds