[scilab-Users] Image processing filter?

hadi motamedi motamedi24 at gmail.com
Sat Oct 30 08:20:49 CEST 2010


On 10/30/10, Samuel GOUGEON <Samuel.Gougeon at univ-lemans.fr> wrote:
> <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
>
>
Thank you very much for your reply. According to you, at now, I have
the 2-D FFT of the image . To apply my own filter , I need to multiply
the above FFT with my own filter FFT and then try for IFFT from the
result. Can you please show me how it can be done in SciLab codes?
Here is mine :
->im=imread("*.png");
->img=rgb2gray(im);
->imd=im2double(img);
->a=mfft(imd,-1,size(imd));
Can you please show me how can I multiply this FFT (i.e. 'a') with my
own filter FFT and then get the IFFT from the result?



More information about the users mailing list