[scilab-Users] Loglog plot and fft2

Paolo Zaffino p.zaffino at yahoo.it
Mon Mar 7 20:38:13 CET 2011


First of all thanks for the reply!
No, I'd like plot into a 2d graph each spatial frequency vs its magnitude.
An average of two spatial frequencies would be fine...but I don't know 
how I can do it.

Il 07/03/2011 20:28, Samuel GOUGEON ha scritto:
>  Hello,
>
> ----- Message d'origine -----
> De : Paolo Zaffino
> Date : 07/03/2011 19:56:
>> Hi at all!
>> I must compute the power spectrum density of an image.
>> For this reason I run:
>> psd=sqrt(abs(fft2(img)));
>> and it seems ok.
> Did you check your results?: 
> http://bugzilla.scilab.org/show_bug.cgi?id=7895
>
>> Now I'd like plot into a loglog graph the spectrum of the 2D Fouriere 
>> trasform (frequency vs magnitude)...Could anyone help me?
>> Thanks a lot!
> You likely mean a 3D plot: magnitude vs (frequency_x, frequency_y)?
>
> Samuel
>
>




More information about the users mailing list