Hi Dina:<br><br>I have been out for a Christmas holiday with my wife and my classes at USC (Cebu, Philippines) will not start until next week so I have not gotten back to you on some of the examples I gave in class for the elective course I teach there for physics majors.<br>
<br>Will send them to you over the weekend for your exercise (and give me feedback if you think its too easy, challenging, difficult etc.).<br><br>I would suggest work on PNG, BMP and JPG files - when I was part of developing optical tests systems in my former work we used PNGs for automotive vision work at the school were kind of used in lossless BMPs and compressed JPEGS.<br>
<br>You can also try to check your output externally by a canned software like ImageJ (free) so to match the results of your code. Also, I work with both SIVP and IPD interchangeably because of the functions available in both of this programs - and also it depends on what level of machine vision your working on.<br>
<br>Regards,<br>Berns B. <br><br><br><div class="gmail_quote">On Tue, Dec 27, 2011 at 2:04 PM, dina <span dir="ltr"><<a href="mailto:noormadinah@yahoo.com">noormadinah@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit" valign="top">Hi Berns B,<br><br>I'm sorry, I missed out your e-mail.It goes to spam folder.Anyway, can I try with the SCE file you said previously? Don't you mind about that?<br>
<br>Another thing is, the Scilab that I have installed can't read the .gif image? is it because that I'm using the SIVP instead of SIP?<br><br>Regards,<br>Dina<div class="im"><br><br><br>                                                        <br>
<br>--- On <b>Thu, 22/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <i><<a href="http://user/SendEmail.jtp?type=node&node=3613868&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></i></b> wrote:<br>
</div><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;padding-left:5px"><div class="im"><br>From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <<a href="http://user/SendEmail.jtp?type=node&node=3613868&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>><br>
Subject: Re: Can't read and show image<br>To: "dina" <<a href="http://user/SendEmail.jtp?type=node&node=3613868&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>><br></div>
Date: Thursday, 22 December, 2011, 3:37 AM<br><br><div><div class="im">

        Hi Dina:<br><br>Same problem I meet with my students in elective class for physics majors - image file pointing is the first real thing one need to do before even doing any image processing! I'll send you an SCE file later for you to try out next.<br>

<br>Regards,<br><br>Berns B.<br><br><br><br></div><div><div><div class="h5">On Thu, Dec 22, 2011 at 3:01 PM, dina <span dir="ltr"><<a rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br></div></div>
<blockquote style="border-left:2px solid #cccccc;padding:0 1em">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit" valign="top"><div><div class="h5">Hi Berns B,<br><br>Thank you. i already try it, and it success.<span style="color:rgb(0,0,0)"><img src=""><br>
<br>Regards,<br>
dina<br></span><br>--- On <b>Tue, 20/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <i><<a rel="nofollow" href="http://user/SendEmail.jtp?type=node&node=3605965&i=0" link="external" target="_blank">[hidden email]</a>></i></b> wrote:<br>

</div></div><blockquote style="border-left:2px solid #cccccc;padding:0 1em"><div><div class="h5"><br>From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <<a rel="nofollow" href="http://user/SendEmail.jtp?type=node&node=3605965&i=1" link="external" target="_blank">[hidden email]</a>><br>

Subject: Re: Can't read and show image<br>To: "dina" <<a rel="nofollow" href="http://user/SendEmail.jtp?type=node&node=3605965&i=2" link="external" target="_blank">[hidden email]</a>><br>Date: Tuesday, 20 December, 2011, 11:44 AM<br>

<br></div></div><div><div><div class="h5"><div>

        Hi:<br><br>Try this:<br><pre style="font-family:Monospaced;font-style:normal;font-size:14px"><span style="color:rgb(0,0,0)">RGB</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(0,0,0)">imread</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(218,112,214)">SCI</span> <span style="color:rgb(92,92,92)">+</span> <span style="color:rgb(188,143,143)">'</span><span style="color:rgb(188,143,143)">/contrib/sivp/0.5.3-2/images/lena.png</span><span style="color:rgb(188,143,143)">'</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;<br>

<br><br>Regards,<br>Berns B.<br></span></pre><br><br></div></div></div><div><div><div><div class="h5"><div>On Wed, Dec 21, 2011 at 12:57 AM, dina <span dir="ltr"><<a rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style="border-left:2px solid #cccccc;padding:0 1em">

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>
<span><font color="#888888"><br>
<br>
--<br>
View this message in context: <a rel="nofollow" href="http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601717.html" link="external" target="_blank">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>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>==========================================<br>Bernardino Jerez Buenaobra<br>Motion Control Engineer<br>FW/Motion Control Laboratory<br>Lexmark Research and Development Corporation (LRDC)<br>


6F Lexmark Plaza 2 <br>Samar Loop corner Panay Road,<br>Cebu Business Park, Cebu City,<br>6000 Philippines<br></div></div>Direct number: <a href="tel:%2B6332%20234%208763" value="<a href="tel:%2B63322348763" value="+63322348763" target="_blank">+63322348763</a>" target="_blank"><a href="tel:%2B6332%20234%208763" value="+63322348763" target="_blank">+6332 234 8763</a><br>
Mobile: <a href="tel:%2B639162911607" value="<a href="tel:%2B639162911607" value="+639162911607" target="_blank">+639162911607</a>" target="_blank"><a href="tel:%2B639162911607" value="+639162911607" target="_blank">+639162911607</a><br>

</div></div><div class="im"><a rel="nofollow" link="external">[hidden email]</a><div><br>
Skype ID: poormanphysics<br><br>"Res Imus Motus..."(We set things in motion)<br>==========================================<div></div><br>

        
        <br>
        <br>
        </div><hr color="#cccccc" 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">

<div>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a rel="nofollow" href="http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3602117.html" link="external" target="_blank">http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3602117.html</a>
        </div><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;margin-top:0.4em;line-height:1.5em">


                
                To unsubscribe from Can't read and show image, <a rel="nofollow" link="external">click here</a>.<br>
                <a rel="nofollow" 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" link="external" target="_blank">NAML</a>
        </div></div></div></div></blockquote></td></tr></tbody></table><div class="im">
        
<br><hr align="left" width="300">
View this message in context: <a rel="nofollow" href="http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3605965.html" link="external" target="_blank">Re: Can't read and show image</a><div><div><br>
Sent from the <a rel="nofollow" href="http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html" link="external" target="_blank">Scilab users - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br>
</div></div></div></blockquote>
</div><br>

        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a rel="nofollow" href="http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3606393.html" link="external" target="_blank">http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3606393.html</a>
        </div><div class="im">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Can't read and show image, <a rel="nofollow" link="external">click here</a>.<br>
                <a rel="nofollow" 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:9px serif" link="external" target="_blank">NAML</a>
        </div></div></div></blockquote></td></tr></tbody></table><div class="HOEnZb"><div class="h5">
        
<br><hr align="left" width="300">
View this message in context: <a href="http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3613868.html" target="_blank">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" target="_blank">Scilab users - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br></div></div></blockquote>
</div><br>