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

Image Processing Design Toolbox

This toolbox implements functions for object detection.
(4332 downloads for this version - 293466 downloads for all versions)
A more recent valid version with binaries for Scilab exists: 8.3.1
Dr. Eng. (J) Harald Galda
Owner Organization
private individual
Harald Galda
Creation Date
January 7, 2010
Source created on
No source archive has been provided for this toolbox version.
Binaries available on
The maintainer of this module has not provided binaries.
            IPD - Image Processing Design Toolbox Version 2.0
Copyright (c) by Dr. Eng. (J) Harald Galda, 2009.
Conveyed under the conditions of the GNU GPL Version 3 or later.

This toolbox provides functions for designing and parameterizing image
processing algorithms. The following functionality is provided:

1. Histogram calculation
   - gray level histogram
   - cumulated histogram

2. Thresholding (Otsu method)

3. Morphological filters
   - dilation
   - erosion
   - closing
   - opening
   - top hat
   - bottom hat

4. Blob analysis
   - searching connected regions in binary images
   - removing blobs that have less pixels than a lower bound or more pixels
     than an upper bound
   - calculating specific properties of blobs such as bounding box, centroid
   - drawing bounding boxes around objects found in an image

5. Displaying images in figure windows
   - display
   - conversion of RGB to indexed images

This toolbox requires SIVP - Scilab Image and Video Processing Toolbox by Shiqi
Yu, available for download at, for the following

1. Opening image and video files
2. Connection to cameras
3. Type conversions (e. g. uint8 to double)

The SIVP toolbox was rebuilt under Scilab 5.2.0. Note that the Scilab version
the author is using was installed with Atlas library.
Files (2)
[6.99 MB]
Miscellaneous file
This ZIP file contains both IPD 2.0 and rebuilt SIVP 0.5.0 toolboxes. If Scilab
is installed in the directory


the ZIP file should be extracted to 

[1.36 kB]

News (19)
Comments (5)     Leave a comment 
Comment from Allan CORNET -- January 8, 2010, 08:11:47 AM    

Please notice that Atoms manages dependencies between toolboxes.
It will be better to split your contribution:

Thanks you for your contribution

Answer from Harald Galda -- January 8, 2010, 12:19:27 PM    
Actually the author(s) of SIVP should upload SIVP. Even though I recompiled the main DLL of
SIVP, I am neither the author nor one of the developers of SIVP.

I have not decided yet whether or not I am going to develop a new version of IPD. But if I
do this, the next version will be independent of SIVP. I am going to avoid conflicts
between IPD 3.0 and SIVP, i. e. a function for loading image files will not be called
Comment from Berns Buenaobra -- January 15, 2010, 06:36:33 AM    
Hello Dr.Galda:

Thank you very much for this new update I am a new user coming from a Matlab, MathCAD,
MathScript-LabVIEW and IMAQ-Vision years of use who is trying out better economical
alternative for my camera image sensor test work. For some reason when I clicked on the
SIVP toolkit on the Toolkits submenu Scilab blinks and exit doing nothing? However, your
new version loads just fine. The problem is since its tied up to SIVP I can't do image
reads for my image analysis? What can be wrong?
Answer from Harald Galda -- January 15, 2010, 09:27:15 AM    
I had a similar problem with SIVP. I solved it be de-installing Scilab 5.2.0 and
re-installing it choosing the Atlas library option. Since I re-installed Scilab 5.2.0 I
have been able to load SIVP. Please copy the SIVP and IPD directories somewhere else before
uninstalling Scilab. All toolboxes are deleted along with Scilab when uninstalling it. You
can download IPD 2.0 along with SIVP a second time after re-installing Scilab, of course.

If you have Intel Math Kernel Library installed, please refer to the discussion at the
following URL:

Comment from Dixit Prasad -- January 30, 2010, 01:26:48 PM    
I have installed SCILAB 5.2.0 version on Windows XP and then installed Image processing
toolbox from Toolbox manager itself. When it says to restart i did that. Next time it is
not opening SCILAB and getting closed immigrately. Can Someone guide me? I have downloaded
IPD and SIVP versions as given above.
Answer from Harald Galda -- January 30, 2010, 07:17:43 PM    
Did you choose the Atlas library option when installing Scilab? If not, you should
re-install Scilab, because both IPD 2.0 and and SIVP 0.5.0 require the OpenCV library which
requires Atlas library and possibly works with Intel Math Kernel Library. If you chose
reference library option during Scilab installation and you re-start Scilab after
installing IPD and SIVP, Scilab might try to load these toolboxes immediately.

Unfortunately it impossible to renounce on OpenCV. Functions for reading and writing image
files are very difficult to implement from scratch and I do not know any other Open Source
library that works on Windows and provides this functionality.
Comment from Harald Galda -- January 30, 2010, 07:19:58 PM    
I would like to make my answer more precise: If Scilab was installed with the reference
library option and OpenCV libraries are loaded into Scilab, Scilab immediately closes. The
OpenCV library is required by both SIVP and IPD.
Answer from Dixit Prasad -- January 31, 2010, 10:27:06 AM    
Thanks Dr. Galda.
I could install IPD and SIVP successfully. I can load SIVP in console.
but when i tried to load IPD it shows an error as below due to some missing DLLs:

IPD - Image Processing Design Toolbox 2.0
link: The file C:\PROGRA~1\SCILAB~1.0\contrib\IPD-2.0\lib\libIPD.dll does not exist.
link(lib_path + 'libIPD.dll',      ['SearchObjects', 'CreatePixelIndexList',
'MorphologicalFilter'],      'c');
                   !--error 236 
link: The shared archive was not loaded: Unknown Error
at line      21 of exec file called by :    
at line      94 of exec file called by :    
in  execstr instruction    called by :  
if exists("gcbo") then %oldgcbo = gcbo; end;gcbo = getcallbackobj
ect(6);execstr(toolboxes(2));if exists("%oldgcbo") then gcbo = %oldgcbo; else clear gcbo;
while executing a callback
I am new to the SCILAB, sorry for asking such petty questions.
Answer from Harald Galda -- January 31, 2010, 12:25:13 PM    
First you load SIVP and wait until all DLLs are loaded. Then you load IPD. Both SIVP 0.5.0
and IPD 2.0 use the DLLs of OpenCV.
Answer from Dixit Prasad -- February 1, 2010, 07:17:37 AM    
I could load SIVP as below:
SIVP - Scilab Image and Video Processing Toolbox 0.5.0
Shared archive loaded.
Link done.
Shared archive loaded.
Link done.
Shared archive loaded.
Link done.
Shared archive loaded.
Link done.
Shared archive loaded.
Link done.
Shared archive loaded.
Link done.

When i tried to execute function imshow() i get below error
-->im=imread("C:\Program Files\scilab-5.2.0\contrib\IPD\2.0\images\lena.png");
 !--error 4 
Undefined variable: SIVP_PATH

at line      36 of function imshow called by :  
Answer from Dixit Prasad -- February 1, 2010, 09:02:27 AM    
Thanks all problems are solved. I could read the image.
Comment from Ching Tat Lai -- February 11, 2010, 08:50:32 AM    

 I am new user of SciLab.  I am a Mac/Linux user.

 I tried the atomsInstall command (in Mac and Linux)

 but I got this error message in both computers

atomsInstallList: The package IPD - 2.0 is not available.
 !--error 10000 

at line      51 of function atomsError called by :  
at line      76 of function atomsInstallList called by :  
at line     257 of function atomsInstall called by :  

 I then downloaded the zip file but don't know where to put the content in.

 can anyone give me help, please.

Answer from Harald Galda -- February 11, 2010, 10:20:19 AM    
IPD runs on Windows only. The SIVP version that comes with IPD 2.0 also works only on
Windows. On Linux you can work with SIP - Scilab Image Processing Toolbox. It is available

Both IPD and SIVP require OpenCV. For this library there is no Mac version. So IPD and
SIVP do not work on Mac, I am afraid. 
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.