<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi <span class="email">"Denis Crété,<br>Thank you.I'll try it<br><br>Regards,<br>Dina<br></span><br>--- On <b>Tue, 20/12/11, Denis Crété [via Scilab / Xcos - Mailing Lists Archives] <i><<a href="/user/SendEmail.jtp?type=node&node=3602885&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Denis Crété [via Scilab / Xcos - Mailing Lists Archives] <<a href="/user/SendEmail.jtp?type=node&node=3602885&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>><br>Subject: RE: Can't read and show image<br>To: "dina" <<a href="/user/SendEmail.jtp?type=node&node=3602885&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>><br>Date: Tuesday, 20 December, 2011, 9:52 AM<br><br><div id="yiv1345806943">
Hello,
<br>Did you try
<br>size(im)
<br>It should return
<br>x y 3
<br>x and y are the physical size of the image; 3 is the number of colour channels.
<br>
<br>HTH
<br>Denis
<br>-----Message d'origine-----
<br>De : dina [mailto:<a rel="nofollow" target="_top" link="external">[hidden email]</a>]
<br>Envoyé : mardi 20 décembre 2011 17:58
<br>À : <a rel="nofollow" target="_top" link="external">[hidden email]</a>
<br>Objet : [scilab-Users] Can't read and show image
<br><br>Hello,
<br><br>This is my first time using Scilab. And I have no experience at all. I'm
<br>interested to learn Scilab, especially for image processing.
<br><br>I had installed Scilab 5.3.3 and SIVP 0.5.3 on my Windows XP. My first
<br>attempt is to read and display image of lena.png. And I followed steps
<br>inside tutorial,but failed.Could anyone help me with this. Am I missing
<br>something? How do I know that my installation is working well?
<br><br>1st attempt:
<br>-->im=imread('lena.png');
<br> !--error 999
<br>imread: Can not open file lena.png.
<br><br><br>2nd attempt:
<br>-->im=imread('C:\Program
<br>Files\scilab-5.3.3\contrib\SIVP_0.5.3\images\lena.png');
<br>-->imshow(im);
<br> !--error 999
<br>Bad (1 th) index in hypermatrix extraction.
<br><br>Thank you.
<br><br><br>--
<br>View this message in context: <a rel="nofollow" target="_blank" href="http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601717.html" link="external">http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601717.html</a><br>Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
<br>
<br>
<br>
<hr color="#cccccc" noshade="noshade" size="1">
<div style="color: rgb(68, 68, 68); font-family: tahoma,geneva,helvetica,arial,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;">
<div style="font-weight: bold;">If you reply to this email, your message will be added to the discussion below:</div>
<a rel="nofollow" target="_blank" href="http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601862.html" link="external">http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601862.html</a>
</div>
<div style="color: rgb(102, 102, 102); font-family: tahoma,geneva,helvetica,arial,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; font-size-adjust: none; font-stretch: normal; -x-system-font: none; margin-top: 0.4em; line-height: 1.5em;">
To unsubscribe from Can't read and show image, <a rel="nofollow" target="_blank" href="" link="external">click here</a>.<br>
<a rel="nofollow" target="_blank" href="http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font-family: serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 9px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;" link="external">NAML</a>
</div></div></blockquote></td></tr></table>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3602885.html">RE: Can't read and show image</a><br/>
Sent from the <a href="http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html">Scilab users - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br/>