[scilab-Users] Can't read and show image

CRETE Denis denis.crete at thalesgroup.com
Tue Dec 20 18:51:34 CET 2011


Hello,
Did you try
size(im)
It should return 
x y 3
x and y are the physical size of the image; 3 is the number of colour channels.
 
HTH
Denis
-----Message d'origine-----
De : dina [mailto:noormadinah at yahoo.com] 
Envoyé : mardi 20 décembre 2011 17:58
À : users at lists.scilab.org
Objet : [scilab-Users] Can't read and show image

Hello,

This is my first time using Scilab. And I have no experience at all. I'm
interested to learn Scilab, especially for image processing.

I had installed Scilab 5.3.3 and SIVP 0.5.3 on my Windows XP. My first
attempt is to read and display image of lena.png. And I followed steps
inside tutorial,but failed.Could anyone help me with this. Am I missing
something? How do I know that my installation is working well?

1st attempt:
-->im=imread('lena.png');
                      !--error 999 
imread: Can not open file lena.png.


2nd attempt:
-->im=imread('C:\Program
Files\scilab-5.3.3\contrib\SIVP_0.5.3\images\lena.png');
-->imshow(im);
           !--error 999 
Bad (1 th) index in hypermatrix extraction.  

Thank you.


--
View this message in context: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601717.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list