Le 01/12/2016 01:43 PM, Samuel Gougeon a écrit :
Hello,

Le 12/01/2016 12:53, antoine.monmayr...@laas.fr a écrit :
Hi everyone,

This message is not a rant (but it could).
I am truly looking for an image processing toolbox that works with current versions of Scilab and a decently modern OS.
I tried every toolbox I've found but without success:

SIVP: requires an outdated version of libtiff that I don't know how to install on my system.

IPD: does not seem to work properly: ReadImage fails:

Works for me with Scilab 5.5.2 / win7_x64 :

-->dir *.png
 ans  =

foo.png Google_logo.png ico.png scilab.png

-->atomsLoad IPD

Start IPD - Image Processing Design
    Load macros
    Load dependencies
    Load gateways
    Load help
    Load demos

 ans  =

!IPD  8.3.2-0  allusers  SCI\contrib\IPD\8.3.2-0  !

-->i = ReadImage("Google_logo.png");

-->size(i)
 ans  =

    95.    275.    3.

Do you get an error whatever is the image you try to load?
Yes, it also fails running the example in the help page for ReadImage:

    -->RGB = ReadImage(IPD_PATH + 'demos\teaset.png');
     !--error 4
    Undefined variable: Dimensions
    at line      72 of function ReadImage called by :
    RGB = ReadImage(IPD_PATH + 'demos\teaset.png');

    -->

    -->figure(); ShowColorImage(RGB, 'Result');
                           !--error 4
    Undefined variable: RGB


There is something wrong with ReadImageFile.
Running ReadImageFile example from the help page fails:
     - Dimensions is undefined
     - PixelList contains the filename of the image to open:
        -->PixelList == IPD_PATH + 'demos\teaset.png'
             ans  =

              T

So, yes, there problem is not related to that particular image.

Antoine

You may report the error you get @ http://forge.scilab.org/index.php/p/IPD/issues/ + posting the image triggering it.

Done: http://forge.scilab.org/index.php/p/IPD/issues/1603/


Cheers
Samuel
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 Antoine Monmayrant LAAS - CNRS
 7 avenue du Colonel Roche
 BP 54200
 31031 TOULOUSE Cedex 4
 FRANCE

 Tel:+33 5 61 33 64 59
email : antoine.monmayr...@laas.fr
 permanent email : antoine.monmayr...@polytechnique.org

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to