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: