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

Berns Buenaobra berns.buenaobra at gmail.com
Wed Jan 4 04:04:39 CET 2012


Hi Dina:

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.

Will send them to you over the weekend for your exercise (and give me
feedback if you think its too easy, challenging, difficult etc.).

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.

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.

Regards,
Berns B.


On Tue, Dec 27, 2011 at 2:04 PM, dina <noormadinah at yahoo.com> wrote:

> Hi Berns B,
>
> 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?
>
> 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?
>
> Regards,
> Dina
>
>
>
>
>
> --- On *Thu, 22/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists
> Archives] <[hidden email]<http://user/SendEmail.jtp?type=node&node=3613868&i=0>
> >* wrote:
>
>
> From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden
> email] <http://user/SendEmail.jtp?type=node&node=3613868&i=1>>
> Subject: Re: Can't read and show image
> To: "dina" <[hidden email]<http://user/SendEmail.jtp?type=node&node=3613868&i=2>
> >
> Date: Thursday, 22 December, 2011, 3:37 AM
>
> Hi Dina:
>
> 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.
>
> Regards,
>
> Berns B.
>
>
>
> On Thu, Dec 22, 2011 at 3:01 PM, dina <[hidden email]> wrote:
>
> Hi Berns B,
>
> Thank you. i already try it, and it success.
>
> Regards,
> dina
>
> --- On *Tue, 20/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists
> Archives] <[hidden email]<http://user/SendEmail.jtp?type=node&node=3605965&i=0>
> >* wrote:
>
>
> From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden
> email] <http://user/SendEmail.jtp?type=node&node=3605965&i=1>>
> Subject: Re: Can't read and show image
> To: "dina" <[hidden email]<http://user/SendEmail.jtp?type=node&node=3605965&i=2>
> >
> Date: Tuesday, 20 December, 2011, 11:44 AM
>
> Hi:
>
> Try this:
>
> RGB = imread(SCI + '/contrib/sivp/0.5.3-2/images/lena.png');
>
>
> Regards,
> Berns B.
>
>
>
> On Wed, Dec 21, 2011 at 12:57 AM, dina <[hidden email]> wrote:
>
> 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.
>
>
>
>
> --
> ==========================================
> Bernardino Jerez Buenaobra
> Motion Control Engineer
> FW/Motion Control Laboratory
> Lexmark Research and Development Corporation (LRDC)
> 6F Lexmark Plaza 2
> Samar Loop corner Panay Road,
> Cebu Business Park, Cebu City,
> 6000 Philippines
> Direct number: <a href="tel:%2B6332%20234%208763" value="+63322348763"
> target="_blank">+6332 234 8763
> Mobile: <a href="tel:%2B639162911607" value="+639162911607"
> target="_blank">+639162911607
> [hidden email]
>
> Skype ID: poormanphysics
>
> "Res Imus Motus..."(We set things in motion)
> ==========================================
>
>
>
> ------------------------------
>  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-tp3601717p3602117.html
>  To unsubscribe from Can't read and show image, click here.
> NAML<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>
>
>
> ------------------------------
> View this message in context: Re: Can't read and show image<http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3605965.html>
>
> Sent from the Scilab users - Mailing Lists Archives mailing list archive<http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html>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-tp3601717p3606393.html
>  To unsubscribe from Can't read and show image, click here.
> NAML<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>
>
>
> ------------------------------
> View this message in context: Re: Can't read and show image<http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3613868.html>
> Sent from the Scilab users - Mailing Lists Archives mailing list archive<http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html>at Nabble.com.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120104/058de312/attachment.htm>


More information about the users mailing list