<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
----- Message d'origine ----- <br>
De : hadi motamedi <br>
Date : 26/10/2010 14:17:
<blockquote
cite="mid:AANLkTi=m72Psoi2ynisTSuK3dzxVsTVPCFtWT1+58B1E@mail.gmail.com"
type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<a href="cid:part1.04020107.00060502@univ-lemans.fr"></a><br>
<tt>im = grand(576,720,"uin",0,255);<br>
a = abs(mfft(im,-1,size(im)));<br>
m = a(1);<br>
a(1) = 0;<br>
q = quart(a);<br>
<br>
f = gcf();<br>
f.color_map = jetcolormap(255);<br>
clf, Matplot(a/q(3)*180)<br>
</tt><br>
// plots a nice hologram of noise<br>
<br>
So, mfft() looks to work fine.<br>
<br>
Samuel<br>
<br>
</body>
</html>