Re: Can it be done? [message #28695 is a reply to message #28693] |
Sat, 05 January 2002 05:33  |
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
|
|
|