sivp problem

philippe rouxph at sfr.fr
Wed Jan 12 16:21:28 CET 2011


Hi,

I've recently upgraded from windows XP to windows 7 and encountered 
problems using sivp for RGB images with the script below:

8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
cd(WSCI+'\contrib\sivp-0.5.2\images\');//OK
exec('loader.sce',-1);//loading sivp OK
im=imread('lena.png');//read image OK
im0=rgb2gray(im);//convert im to grayscale OK
imshow(im0)// display grayscale image OK
imshow(im)// display color image -> error
8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--

the last command gives the following error :

8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
Warning !!!
Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION)
with "sivp" function.
Save your data and restart Scilab.
  !--error 144
Opération non définie pour les opérandes données.

vérifier ou définir la fonction %c_a_hm pour la surcharge.

at line      28 of function imshow called by :
imshow(im)

8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--


hypermatrix works correctly, problems could comes from mat2utfimg?
Reinstalling sivp as no effect on the problem and I can't reproduce the 
error on other windows PC!!!! But on my PC with the problem occurs both 
with

-scilab 4.1.2 + sivp 0.5.0

-scilab 5.2.2 + sivp 0.5.2

does anyone can help me!

Philippe.




More information about the users mailing list