[scilab-Users] Image processing filter?

Samuel GOUGEON Samuel.Gougeon at univ-lemans.fr
Fri Oct 29 22:52:04 CEST 2010


  ----- Message d'origine -----
De : hadi motamedi
Date : 26/10/2010 14:17:
> To make use of your comment, I am trying as the following:
> ->im = imread(SCI + '/contrib/SIVP/0.5.3-2/images/boats.png');
> ->im=rgb2gray(im);
> ->size(im)
> ->dim=[576,720];
> ->[imf]=mfft(im,-1,dim);
> But it is not successful. Can you please let me know how to convert
> the image to the suitable vector for applying mfft?
<cid:part1.04020107.00060502 at univ-lemans.fr>
im  = grand(576,720,"uin",0,255);
a = abs(mfft(im,-1,size(im)));
m = a(1);
a(1) = 0;
q = quart(a);

f = gcf();
f.color_map = jetcolormap(255);
clf, Matplot(a/q(3)*180)

// plots a nice hologram of noise

So, mfft() looks to work fine.

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101029/d5a93091/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datafit.xml
Type: text/xml
Size: 9160 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20101029/d5a93091/attachment.xml>


More information about the users mailing list