Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Getting phase information from images
Replies: 1   Last Post: Oct 11, 2013 11:12 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 6,253
Registered: 2/7/05
Re: Getting phase information from images
Posted: Oct 11, 2013 11:12 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 10/11/2013 10:07 PM, Jack wrote:
> Hi there,
> Quick, and perhaps silly, question: how do I get complex information from an image?
> Images in .png and .bmp, in uint and RGB,- give zeros when i take the imag(log(abs(fft2(image)))).
> Thanks for your time,
> Jack

When you take abs() of something, by definition, you get no
complex anything. After all, abs() is magnitude of a complex number?

If you want to plot the magnitude and phase of an image (i.e. the
spectrum of an image) example 67 here shows how:


if you are trying to do something else, then you need to be
more clear


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.