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.
(2262 downloads for this version - 290476 downloads for all versions)
Details
Version
3.1
A more recent valid version with binaries for Scilab 5.2 exists: 5.0
Author
Dr. Eng. (J) Harald Galda
Owner Organization
private individual
Maintainer
Harald Galda
Category
License
Creation Date
February 20, 2010
Source created on
Scilab 5.2.x
Binaries available on
The maintainer of this module has not provided binaries.
Description
            IPD - Image Processing Design Toolbox Version 3.1
Copyright (c) by Dr. Eng. (J) Harald Galda, 2009 - 2010.
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
   - segmentation by threshold
   - threshold calculation by Otsu method

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

4. Median filter

5. Filtering for edge detection
    - Sobel filter
    - Laplace filter
    - Prewitt filter
    - Scharr filter

6. Region based segmentation
   - distance transform
   - watershed transform

7. 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
   - calculating histogram of blob sizes
   - calculating cumulated histogram of blob sizes

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

9. Conversion between color images and gray level images
   - RGB    to  gray level
   - RGB    to  L*a*b* 
   - L*a*b* to  RGB 

10. Opening image and video files
   - reading image files
   - writing image files
   - reading video files

Changes between version 3.0 and version 3.1

    - Some errors in online help were corrected.

    - The sources were provided so it will be possible to compile the toolbox 
      on both Windows and Linux.
 
This version uses OpenCV 2.0 which is available for download at

     opencv.willowgarage.com/wiki/

It is recommended to choose Atlas library option when installing Scilab. IPD
can not be loaded if the reference library option was chosen during Scilab 
installation. The author of this toolbox does not use Intel Math Kernel
Library.
            
Files (3)
[2.63 kB]
32
This file describes the functionality and building requirements.
[836.49 kB]
Source code archive
This ZIP contains the sources of IPD 3.1, i. e. the Scilab scripts, C++ files
and XML files. If you have OpenCV 2.0 on your computer, you can copy the files

cxcore200.lib
cv200.lib
highgui200.lib

to the directory

IPD-3.1\sci_gateway\cpp\lib\

and build the toolbox.

The script builder_gateway_cpp.sce sets include and library path for both
Windows and Linux assuming that Microsoft Visual Studio 2008 Express Edition is
used for compiling the library on Windows and g++ is applied on Linux.

The author has compiled and tested the toolbox on Windows XP. 
[5.18 MB]
Miscellaneous file
This ZIP file contains the Windows binary version of IPD 3.1. It is compiled
with Scilab 5.2.0 on Windows XP. This toolbox can also be compiled with Scilab
5.2.1 on Windows XP.
News (19)
Comments (5)     Leave a comment 
Comment from Robert Menzel -- February 26, 2010, 03:03:24 PM    
Hi,

I'm using WinXp with Scilab 5.2.0 installed.
when I try:   atomsInstall(['IPD','3.1'])  I get: 

atomsInstallList: das Paket IPD - 3.1 ist nicht verfügbar.
 !--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 :  
atomsInstall(['IPD','3.1'])



I extracted  IPD.zip to scilab-5.2.0\contrib\ and tried to load, what I get is:


 IPD - Image Processing Design Toolbox 3.1   
link: Die Datei cxcore200.dll existiert nicht.
link('cxcore200.dll');
                      !--error 236 
link: das gemeinsame Archiv wurde nicht geladen: Unknown Error
at line      18 of exec file called by :    
  exec('loader.sce');
at line      21 of exec file called by :    
 exec('loader_gateway.sce');
at line     131 of exec file called by :    
exec(root_tlbx+'etc\'+'IPD.start');
at line      12 of exec file called by :    
exec("C:\PROGRA~2\SCILAB~1.0\contrib\IPD-3.1\loader.sce");
in  execstr instruction    called by :  
 end;gcbo = getcallbackobject(5);execstr(toolboxes(1));if exists("%oldgcbo") then gcbo =
%oldgcbo; else clear
while executing a callback


I choosed Atlas Library Option during Scilab install. What am I doing wrong ?

Thank you
Robert
Answer from Harald Galda -- February 26, 2010, 04:52:27 PM    
Hi.

> atomsInstallList: das Paket IPD - 3.1 ist nicht verfügbar.
>  !--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 :  
> atomsInstall(['IPD','3.1'])


The toolbox has not been compiled by the automatic compilation chain. Therefore, it can
not be downloaded by the Atoms GUI of Scilab.

> I extracted  IPD.zip to scilab-5.2.0\contrib\ and tried to load, what I get is:
> 
> 
>  IPD - Image Processing Design Toolbox 3.1   
> link: Die Datei cxcore200.dll existiert nicht.
> link('cxcore200.dll');
>                       !--error 236 
> link: das gemeinsame Archiv wurde nicht geladen: Unknown Error


I have just downloaded the toolbox and I have extracted it to scilab-5.2.0\contrib\.
Everything works on my computer. I can not figure out where that problem comes from.

IPD.zip contains all necessary files. 

> I choosed Atlas Library Option during Scilab install. What am I doing wrong ?


Comment from Robert Menzel -- February 26, 2010, 04:38:26 PM    
Ok - it's solved. Unfortunatly, I don't know why its working now... sorry
Robert
Comment from Robert Menzel -- February 26, 2010, 05:32:51 PM    
Ok - it's solved. Unfortunatly, I don't know why its working now... sorry
Robert
Answer from Harald Galda -- February 26, 2010, 05:43:46 PM    
> Ok - it's solved. Unfortunatly, I don't know why its working now... sorry
> Robert


Maybe that was a temporary Windows problem.
Comment from Robert Menzel -- February 26, 2010, 05:59:00 PM    
Maybe, Actually I was trying for some hours. Maybe just a restart or something that comes
with Visual Studio, I installed meanwhile. I'm working on 64bit System too.
Anyway: Great tool! Thank you. 
Robert
Comment from Chin Luh Tan -- February 27, 2010, 03:33:45 PM    
Hi,

Thanks for the great tools! 
I've testing some of the features, and found the following problems:

1. Some images could not be read correctly using ReadImage. The shown image is "tilted". 
An example could be downloaded from http://su.ntu.edu.sg/ICTF/index.php?q=node/15
(This 
link is reach by searching keyword "Malaysia" in Google Image Search, the twin tower 
image )

2. The CreateStructureElement('circle',5) gives error, but from the doc, the call seems 
to be correct. (the square element is alright)

Thanks again for your contribution.

Regards,
Chin Luh
Answer from Harald Galda -- February 27, 2010, 04:42:41 PM    
Hi,

I just read the source code of CreateStructureElement.sci and I found that there is a typo
at line 70: "Witdth" must be replaced by "Width".

I am going to test ReadImage with the Malaysia image.

Regards
Harald Galda
Answer from Harald Galda -- February 28, 2010, 02:33:15 PM    
Both errors are corrected in version 3.2.
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.