Can't read and show image

dina noormadinah at yahoo.com
Wed Dec 21 03:07:30 CET 2011


Hi "Denis Crété,
Thank you.I'll try it

Regards,
Dina

--- On Tue, 20/12/11, Denis Crété [via Scilab / Xcos - Mailing Lists Archives] <ml-node+s994242n3601862h14 at n3.nabble.com> wrote:

From: Denis Crété [via Scilab / Xcos - Mailing Lists Archives] <ml-node+s994242n3601862h14 at n3.nabble.com>
Subject: RE: Can't read and show image
To: "dina" <noormadinah at yahoo.com>
Date: Tuesday, 20 December, 2011, 9:52 AM



	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:[hidden email]] 

Envoyé : mardi 20 décembre 2011 17:58

À : [hidden email]

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.


	
	

	

	
	
		If you reply to this email, your message will be added to the discussion below:
		http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601862.html
	
	
		
		To unsubscribe from Can't read and show image, click here.

		NAML
	

--
View this message in context: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3602885.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20111220/b1520324/attachment.htm>


More information about the users mailing list