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

Home » Public Forums » archive » Re: negative return values after FFT
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: negative return values after FFT [message #49541 is a reply to message #49444] Thu, 27 July 2006 09:43 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
edward.s.meinel@aero.org wrote:
> FFT(*, *) can take REAL input and return a COMPLEX result; however, a
> COMPLEX input always returns a COMPLEX result. To get a REAL result you
> need to do:
>
> inverse = REAL(ABS(FFT(ft, 1)))
>
> Ed
>
> PS. The one-line solution: inverse =
> REAL(ABS(FFT(FILTERING_JOB(FFT(image, -1)), 1)))

OK - that's a different way of interpreting the message. I was
assuming, when he said that result was complex, that he wasn't
referring to the data type of the result, but to it's value: in other
words, that he was saying that the imaginary parts of the resulting
array had significantly non-zero magnitudes. With real-valued images,
and a properly defined filter, that shouldn't happen.

To the original poster (Google shortens your e-mail address to
'adisn...@yahoo.com', so I have no idea what I should call you):
Are you merely saying that the data type of the result was complex, or
are you making the stronger statement that the values in that result
had signficantly non-zero imaginary components?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: OUPUT TRIGRID to ENVI
Next Topic: OUPUT TRIGRID to ENVI

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

Current Time: Wed Oct 08 17:29:05 PDT 2025

Total time taken to generate the page: 0.00409 seconds