Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Scilab Image and Video Processing toolbox details
Login with GitLab

Scilab Image and Video Processing toolbox

SIVP intends to do image processing and video processing tasks
(129402 downloads for this version - 216227 downloads for all versions)
Details
Version
0.5.3.2
Authors
Shiqi Yu
Jia Wu
Shulin Shang
Vincent Etienne
Owner Organization
LIAMA - Institute of Automation - Shenzhen Institute of Advanced Technology
Maintainers
Pierre MARECHAL
Allan CORNET
Category
License
Creation Date
October 15, 2014
Source created on
Scilab 5.5.x
Binaries available on
Scilab 5.5.x:
Linux 32-bit Windows 32-bit Windows 64-bit Linux 64-bit
Install command
--> atomsInstall("SIVP")
Description
            Scilab needs a powerful image processing toolbox. SIVP intends to do image
processing and video processing tasks. SIVP is meant to be a useful, efficient,
and free image and video processing toolbox for Scilab.            
Files (5)
[40.32 MB]
Source code archive

[40.17 MB]
Linux 32-bit binary for Scilab 5.5.x
Linux 32-bit
Automatically generated by the ATOMS compilation chain

[40.39 MB]
Windows 32-bit binary for Scilab 5.5.x
Windows 32-bit
Automatically generated by the ATOMS compilation chain

[40.39 MB]
Windows 64-bit binary for Scilab 5.5.x
Windows 64-bit
Automatically generated by the ATOMS compilation chain

[40.16 MB]
Linux 64-bit binary for Scilab 5.5.x
Linux 64-bit
Automatically generated by the ATOMS compilation chain

News (0)
Comments (22)     Leave a comment 
Comment from RENETHA JB -- October 27, 2014, 09:13:49 AM    
Q 1: How to combine SIVP toolbox and SCILAB 0.5.3.2?Where to copy SIVP? How to load it into

Scilab 5.5.1?
Q 2. How to ensure that SIVP toolbox is done in Scilab?
Answer from Syed Nizamuddin Peeran -- March 4, 2015, 04:13:24 PM    
> Q 1: How to combine SIVP toolbox and SCILAB 0.5.3.2?Where to copy SIVP? How to load
it
> into 
> Scilab 5.5.1?
> Q 2. How to ensure that SIVP toolbox is done in Scilab?
--------------------
RENETHA Jb:
Open Scilab and hit >>atomsInstall("SIVP")
It will download and install automatically.
Answer from Plantin Baptiste -- April 7, 2016, 01:46:20 PM    
> > Q 1: How to combine SIVP toolbox and SCILAB 0.5.3.2?Where to copy SIVP? How to
load
> it
> > into 
> > Scilab 5.5.1?
> > Q 2. How to ensure that SIVP toolbox is done in Scilab?
> --------------------
> RENETHA Jb:
> Open Scilab and hit >>atomsInstall("SIVP")
> It will download and install automatically.

atomsInstall('SIVP'), and not "SIVP" .
Comment from Tuan Huynh -- November 24, 2014, 04:12:43 PM    
First of all, I would like to say thank you very much for your contribution for Scilab
community. I am using scilab for studying image processing. Currently, I met an issue with
camopen function, and don't know how to solve it. The issue is described as follow:

- In case 1: Laptop Toshiba Satellite, Win-7 (32 bit), Scilab 5.5.1, SIVP-0.5.3.2-1 -->
camopen function is OK (webcam is OK)

- In case 2: Laptop Lenovo Thinkpad, Win-7 (64-bit), Scilab 5.5.1 (64 bit), SIVP-0.5.3.2-1
--> camopen function is OK (webcam displays black screen). I saw that the frames'
values
are 0 that caused the black screen. I also tried Scilab 5.5.1 (32 bit) but I got the same
issue.
Note: I used demo "Grab frames from a camera" for testing webcam.

Is there any ideas for solving this issue?

Thank you so much!
Answer from Syed Nizamuddin Peeran -- March 4, 2015, 04:14:21 PM    
@Tuan Huynh, Am facing the same problem on my desktop with a webcam.
Did you find any solutions? 
Please help me out.
------------------------------------------
> First of all, I would like to say thank you very much for your contribution for 
Scilab
> community. I am using scilab for studying image processing. Currently, I met an 
issue
> with
> camopen function, and don't know how to solve it. The issue is described as follow:
> 
> - In case 1: Laptop Toshiba Satellite, Win-7 (32 bit), Scilab 5.5.1, SIVP-0.5.3.2-1
> -->
> camopen function is OK (webcam is OK)
> 
> - In case 2: Laptop Lenovo Thinkpad, Win-7 (64-bit), Scilab 5.5.1 (64 bit),
> SIVP-0.5.3.2-1
> --> camopen function is OK (webcam displays black screen). I saw that the frames'
> values
> are 0 that caused the black screen. I also tried Scilab 5.5.1 (32 bit) but I got 
the
> same
> issue.
> Note: I used demo "Grab frames from a camera" for testing webcam.
> 
> Is there any ideas for solving this issue?
> 
> Thank you so much!
Comment from Syed Nizamuddin Peeran -- March 4, 2015, 04:11:04 PM    
This comment has been deleted.
Comment from Syed Nizamuddin Peeran -- March 4, 2015, 04:11:27 PM    
This comment has been deleted.
Comment from Kishore Devisetti -- March 11, 2015, 03:45:53 PM    
I was excited to see Scilab freely available on the web. But I couldnt read any images for
image processing. I realized I 
cant use SVIP as I have an Apple Mac. Is there any work around?
Answer from Samuel Gougeon -- March 12, 2015, 03:33:22 PM    
> .../... I realized I cant use SVIP as I have an Apple Mac. Is there any work around?
IPD module looks to support Mac OS: http://atoms.scilab.org/toolboxes/IPD
Comment from Roger Appleby -- July 27, 2015, 12:48:51 PM    
Hi 
Thanks for this nice toolbox I have it installed on my Windows 7 32 bit laptop and my 
Windows 7 64 bit desktop. I noticed that the help files had not installed and on further 
investigation discovered why. If the jar contains a second level directory the same as 
the first it will be corrupt (well at least in windows 7)i.e.

**scilab_en_Us_help.jar (Main-Directory)
    |-scilab_en_Us_help.jar (creates another directory making the file corrupted)**
          |-META-INF (Mandatory)
                   |-MANIFEST.MF (Mandatory Main-class: com.MainClass)
          |-com 
              |-MainClass.class (must to implement the main method, mandatory)
          |-properties files (optional)
          |-etc (optional)

Taken from http://stackoverflow.com/questions/7559072/corrupt-jar-file


It needs to have this structure:

scilab_en_Us_help.jar  (Main-Directory)
    |-META-INF (Mandatory)
             |-MANIFEST.MF (Mandatory Main-class: com.MainClass)
    |-com 
         |-MainClass.class (must to implement the main method, mandatory)
    |-properties files (optional)
    |-etc (optional)

I realise the help file is slightly different. I verified this by expanding the jatr with 
7zip and  then recreating it with jar and it then works fine.
Regards 
Roger A.
Comment from Syed Abu-Bakar -- October 9, 2015, 03:13:47 AM    
I'm having this problem when trying to install sivp-0.5.3. I'm using Windows 10. Does 
anyone have any such problem? How do I get around this?

------------------------------------
!camshift.c                              !
!                                        !
!d:\scilab-5.5.2\contrib\sivp-0.5.3\sci_g!
!     ateway\c\common.h(43) : fatal error!
!      C1083: Cannot open include file: '!
!     cxcore.h': No such file or director!
!     y                                  !
!                                        !
!NMAKE : fatal error U1077: '"D:\Visual S!
!     tudio 12\VC\BIN\amd64\cl.EXE"' : re!
!     turn code '0x2'                    !
!                                        !
!Stop.                                   !
 !--error 10000 
ilib_compile: Error while executing Makelib.mak.
at line      29 of function dlwCompile called by :  
at line      51 of function ilib_compile called by :  
at line     106 of function ilib_build called by :  
at line     133 of function tbx_build_gateway called by :  
      inter_cflags  )
at line      98 of exec file called by :    

at line      13 of function tbx_builder called by :  
at line      49 of function tbx_builder_gateway_lang called by :  
ges, sci_gateway_dir)
at line       6 of exec file called by :    

at line      13 of function tbx_builder called by :  
at line      32 of function tbx_builder_gateway called by :  
tbx_builder_gateway(toolbox_dir);
at line      34 of exec file called by :    

Many thanks
Comment from nara sreekanth -- October 9, 2015, 06:51:16 AM    
After Using the command:

-->im = imread('/home/nara/Downloads/lena.jpeg');

I Received the following error----> help
                                              !--error 42 

A fatal error has been detected by Scilab.
Your instance will probably quit unexpectedly soon.
If a graphic feature has been used, this might be caused by the system graphic drivers.
Please try to update them and run this feature again.
You can report a bug on http://bugzilla.scilab.org/ with:
* a sample code which reproduces the issue
* the result of [a, b] = getdebuginfo()
* the following information:
[nara-300E5EV-300E4EV-270E5EV-270E4EV:02851] Signal: Aborted (6)
[nara-300E5EV-300E4EV-270E5EV-270E4EV:02851] Signal code:  (-6)
 
Call stack:
   1: 0x36cc9  <gsignal>                        (/lib/x86_64-linux-gnu/libc.so.6)
   2: 0x3a0d8  <abort>                          (/lib/x86_64-linux-gnu/libc.so.6)
   3: 0x60535  <__gnu_cxx::__verbose_terminate_handler()>
(/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
   4: 0x5e6d6  < >                             
(/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
   5: 0x5e703  < >                             
(/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
   6: 0x5e922  < >                             
(/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
   7: 0xa9ce3  <cv::error(cv::Exception const&)>
(/usr/lib/x86_64-linux-gnu/libopencv_core.so)
   8: 0xd037b  <cv::Mat::copySize(cv::Mat const&)>
(/usr/lib/x86_64-linux-gnu/libopencv_core.so)
   9: 0x1cacb  < >                             
(/usr/lib/x86_64-linux-gnu/libopencv_highgui.so)
  10: 0x1ccae  <cvLoadImage>                   
(/usr/lib/x86_64-linux-gnu/libopencv_highgui.so)
  11: 0xac93   <int_imread>                    
(/usr/lib/scilab-sivp/sci_gateway/cpp//libgw_sivp.so)
  12: 0x73fd8  <sci_gateway>                    (/usr/lib/scilab/libscilab-cli.so.0)
  13: 0xc858   <libgw_sivp_>                   
(/usr/lib/scilab-sivp/sci_gateway/cpp//libgw_sivp.so)
  14: 0x169070 <callinterf_>                    (/usr/lib/scilab/libscilab-cli.so.0)
  15: 0x17be51 <scirun_>                        (/usr/lib/scilab/libscilab-cli.so.0)
  16: 0x17727a <realmain>                       (/usr/lib/scilab/libscilab-cli.so.0)
  17: 0x14d4   < >                              (/usr/bin/scilab-bin)
  18: 0x21ec5  <__libc_start_main>              (/lib/x86_64-linux-gnu/libc.so.6)
  19: 0x1829   < >                              (/usr/bin/scilab-bin)
End of stack


 
                                              !--error 999 
Aborting current computation
 
 
Comment from Jose Raluy -- April 11, 2016, 08:15:15 PM    

I run the the following code in Scilab command window in Windows 10:
   --> cd SCI/contrib/sivp-0.5.2

and I get:
 ans  =
 
 C:\Program Files\scilab-5.5.2\contrib\sivp-0.5.2  

I run 

--> exec('builder.sce')

and I get and error:

-->exec('builder.sce')
 
-->mode(-1);
Building macros...
-- Creation of [SIVPlib] (Macros) --
genlib: Processing file: corr2.sci
 !--error 10000 
genlib: Impossible to open file ...5.5.2\contrib\sivp-0.5.2\macros\corr2.bin for writing
at line      38 of function getsave called by :  
at line     168 of function genlib called by :  
at line      42 of function tbx_build_macros called by :  
tbx_build_macros(TOOLBOX_NAME,get_absolute_file_path("buildmacros.sce"));
at line       2 of exec file called by :    

at line      13 of function tbx_builder called by :  
at line      26 of function tbx_builder_macros called by :  
tbx_builder_macros(toolbox_dir);
at line      33 of exec file called by :    
exec('builder.sce')

Any help
Comment from Ravindra Patil -- April 15, 2016, 01:27:08 PM    
Without net how i can install SIVP
Comment from Ravindra Patil -- April 15, 2016, 01:28:51 PM    
i Download SIVP but how i can install it without net
Comment from Zhenqian Pu -- August 16, 2016, 10:25:30 PM    
 
-->im=imread('A.tif')
                   !--error 999 
imread: Can not open file A.tif.
 
===
With this toolbox I cannot read a  TIFF file?!
I want to read TIFF files, and which toolbox do I need?
Thanks a lot!
Comment from Manuel Borja -- March 15, 2017, 08:21:40 PM    
Hi!

Where SIVP is found in scilab 6.0 ?

In which module?
In what atom?


I can not find it !!!

manuelborja008@gmail.com
Answer from Samuel Gougeon -- March 15, 2017, 08:40:37 PM    
> Where SIVP is found in scilab 6.0 ?
> 
> In which module?
> In what atom?

SIVP module is SIVP module!

> I can not find it !!!
As described at the top of this page: it is not yet available for Scilab 6.0
Comment from Hibr List -- March 26, 2017, 08:31:13 PM    
Got an error message on 64-bit Linux version with Scilab 5.5.2 that some library files are

"too short":

atomsLoad: An error occurred while loading 'SIVP-0.5.3.2':
	link: The shared archive was not loaded: /home/hi/.Scilab/scilab-
5.5.2/atoms/SIVP/0.5.3.2/sci_gateway/c//../../thirdparty/opencv/linux/x64/libavformat.so: 
file too short

The reason was, that e.g. libavformat.so should be an symbolic link to libavformat.so.52 in

the same directory. But it is not. It is just a text file. 

And an issue with the tiff library (version conflict on Ubuntu 16.04/Mint 18, need version

4 not 5 as in current OS version).

To solve this issue:

- open terminal
- Solve the tiff-issue if needed:
  sudo ln -s /usr/lib/i386-linux-gnu/libtiff.so.5 /usr/lib/i386-linux-gnu/libtiff.so.4
- goto the .Siclab directory in question:
  cd ~/Scilab/scilab-5.5.2/atoms/SIVP/0.5.3.2/thirdparty/opencv/linux/x64
  or cd Scilab/scilab-5.5.2/atoms/SIVP/0.5.3.2/thirdparty/opencv/linux/x86
- delete all so-files: rm *.so
- Make symbolic links (*.so)to ALL numbered libraries (*.so.xx), e.g.
  ln -s libavformat.so.52 libavformt.so
  ...
- Than restart Scilab and SVIP will run properly.
Comment from Akash Nigam -- May 16, 2017, 07:30:54 AM    
Hello,

I am using Scilab 0.5.0 currently for image sharpening. However, edge detection in this
version creates boolean matrices, and for sharpening, converting the original image to
boolean would result in a lot of missing data. Can anyone help?
 
Does the new version of Scilab have output of edge detection as grayscale? I currently am
not able to get the equipment required for using the latest version. However, if needed, I
might have to arrange for the equipment since the project is necessary. Anyone's
suggestion would be great help.
Comment from Amir Ishaque -- March 27, 2018, 11:28:08 AM    
Hello,

While loading the SIVP-0.5.3.2 I get the following error:

SIVP - Scilab Image and Video Processing Toolbox
	Load macros
	Load gateways
    link(opencvlibs+arch_path+"/libhighgui.so.4");
                                                  !--error 236 
link: The shared archive was not loaded: libtiff.so.4: cannot open shared object file: No
such file or directory
at line      96 of exec file called by :    
exec(get_absolute_file_path("loader.sce")+"etc/"+"SIVP.start");
at line      10 of exec file called by :    
exec("/home/amir/.Scilab/scilab-5.5.2/atoms/SIVP/0.5.3.2//loader.sce");
in  execstr instruction    called by :  
 = gcbo; end;gcbo = getcallbackobject(97);execstr(toolboxes(14));if
exists("%oldgcbo")
then gcbo = %oldgcbo; else clear gcbo; end
while executing a callback

Prior to this I was getting an error message, which I did not save. I tried to fix that
following the instructions posted by "Hibr List -- March 26, 2017, 08:31:13 PM".
That
enabled the sivp.start to run for a few more lines and encounter an error on line 96.

Can someone help me in sorting this out?

Regards, Amir
Comment from Amir Ishaque -- March 27, 2018, 11:29:48 AM    
I forgot to mention my system is Ubuntu 16.04 64-bits running on HP ZBOOK 17 G3
Comment from Guilllermo Ibanez Pupareli -- May 4, 2018, 11:01:22 PM    
Hi, using SciLab 5.5.1 under Linux Mint
got this error:

atomsLoad: An error occurred while loading 'SIVP-0.5.3.2':
	link: The shared archive was not loaded: libtiff.so.4: no se puede abrir el fichero del
objeto compartido: No existe el fichero o el directorio
(FILE NOT FOUND, IN ENGLISH) 

The problem is that Mint is using libtiff5 instead of 4

Googling, I found some people that lied programs controls soft linking the libtiff to
libtiff.so.4  I really dont think it is a good solution. It might have some
incompatibilities, and it seems that the same problems is been detected for other
libraries.

How I can make my atom works with the new libs?

Thanks (By the time I am using malab under windogs to do image p. but I need to migrate to
linux and SciLab)
Thanks Again

These are some of the solutions found:

http://mailinglists.scilab.org/Scilab-users-SIVP-problem-via-ATOMS-with-Linux-Mint-18-1-HELP-tc4037161.html#none
Comment from Prithviraj Ghosh -- February 12, 2020, 04:38:03 PM    
Sir, I downloaded this toolbox, but can't see it! What's the solution?
Comment from Maciej Stawowski -- April 24, 2020, 01:17:02 AM    
Hi,
How can I use imread() function in a loop to read and process sequential images?
Maciej
Comment from Samir Samir -- September 14, 2020, 10:01:42 AM    
Scilab Version : 6.1.0
Problem Category : SIVP-0.5.3 Toolbox Installation 
Hi everybody, 
---------------Introduction ---------------------------------------------------------
   I hope this subject is not a very trivial problem that is not necessary to talk about it
here. 
   I am a new scilab user, used to use MATLAB (old licence). I have shifted to scilab
because i don't have the means to buy new matlab licences and i know scilab have a lot of
similarities with matlab. 

--------------Problem Description------------------------------------------------------
   I have tried to install "SIVP-0.5.3", on UBUNTU 20.04 LTS. For that i have
done these steps :
       1)- Download the toolbox : "SIVP_0.5.3-3.bin.x86_64.linux.tar.gz" and
place it in a folder, i called "toolbox" in the SCILAB folder
"/home/username/scilab-6.1.0/"
       2)- Start SCILAB from terminal, and execute on scilab console : 
                  atomsInstall("SIVP_0.5.3-3.bin.x86_64.linux.tar.gz")
       3)- Restart scilab.
   When the scilab is starting, and loading the new toolbox, it comes a problem :
           -----------------------------------------------------------------
           atomsLoad : error occured loading 'SIVP-0.5.3'
           lib : /home/username/scilab-6.1.0/share/scilab/contrib/SIVP/0.5.3/macros/ is not
a valid library pathname

Is there any suggestion ? Thank you for reply, have a nice day
Comment from Samir Samir -- September 14, 2020, 11:39:31 AM    
Scilab Version : 6.1.0
Problem Category : SIVP-0.5.3 Toolbox Installation 
Hi everybody, 
---------------Introduction ---------------------------------------------------------
   I hope this subject is not a very trivial problem that is not necessary to talk about it
here. 
   I am a new scilab user, used to use MATLAB (old licence). I have shifted to scilab
because i don't have the means to buy new matlab licences and i know scilab have a lot of
similarities with matlab. 

--------------Problem Description------------------------------------------------------
   I have tried to install "SIVP-0.5.3", on UBUNTU 20.04 LTS. For that i have
done these steps :
       1)- Download the toolbox : "SIVP_0.5.3-3.bin.x86_64.linux.tar.gz" and
place it in a folder, i called "toolbox" in the SCILAB folder
"/home/username/scilab-6.1.0/"
       2)- Start SCILAB from terminal, and execute on scilab console : 
                  atomsInstall("SIVP_0.5.3-3.bin.x86_64.linux.tar.gz")
       3)- Restart scilab.
   When the scilab is starting, and loading the new toolbox, it comes a problem :
           -----------------------------------------------------------------
           atomsLoad : error occured loading 'SIVP-0.5.3'
           lib : /home/username/scilab-6.1.0/share/scilab/contrib/SIVP/0.5.3/macros/ is not
a valid library pathname

Is there any suggestion ? Thank you for reply, have a nice day
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.