[scilab-Users] Image processing filter?

hadi motamedi motamedi24 at gmail.com
Tue Oct 26 14:17:59 CEST 2010


On 10/25/10, Samuel GOUGEON <Samuel.Gougeon at univ-lemans.fr> wrote:
>
> Image filtering is a 2D intercorrelation between the image and the filter's
> kernel.
> Very sadly, AFAIK, Scilab has no native function performing any 2D
> intercorrelation
> or 2D convolution (that can be easily used to perform a 2D
> intercorrelation).
> Yet, IMO such a function should be a part of Scilab itself.
> This is noticeably why external modules such that SIVP and IPD are very
> welcome.
> With SIVP, imfilter() and filter2() would do what you expect.
>
> It is possible to build a 2D intercorrelation with two 2D Fourier Transform,
> using mfft(), after padding the kernel. It is a "native" way, may be not the
> best.
>
> HTH
> Regards
> Samuel
>
>
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?



More information about the users mailing list