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.
(18575 downloads for this version - 290501 downloads for all versions)
Details
Version
8.3
A more recent valid version exists: 8.3.3
Author
Dr. Eng. (J) Harald Galda
Owner Organization
private individual
Maintainer
Harald Galda
Category
License
Creation Date
March 31, 2012
Source created on
Scilab 5.3.x
Binaries available on
Scilab 5.3.x:
Windows 32-bit Windows 64-bit
Install command
--> atomsInstall("IPD")
Description
            IPD - Image Processing Design Toolbox Version 8.3
Copyright (c) by Dr. Eng. (J) Harald Galda, 2009 - 2011.
Edited by Allan Cornet, 2012.
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

11. Linear filteration

12. Variance filter

13. Texture feature calculation
   - Laws texture energy
   - discrete Wavelet frames

14. Template Matching

15. Interactive Image Analysis GUI


Differences between versions 8.3 and 8.2:

- It is possible to build the toolbox on Linux and MacOS.
- The toolbox will be compatible to Scilab 5.4


This version uses OpenCV 2.31 which is available for download at

     opencv.willowgarage.com/wiki/

If you intend to work with the file red-car-video.avi, please install the XVid
codec which is available for download at 

      www.xvid.org
            
Files (7)
[2.18 kB]
Miscellaneous file
Beschreibung auf Deutsch -- description in German
[21.89 MB]
Source code archive
Sources of IPD-8.3 
[25.32 MB]
Windows 32-bit binary for Scilab 5.3.x
Windows 32-bit
Automatically generated by the ATOMS compilation chain

[25.42 MB]
Windows 64-bit binary for Scilab 5.3.x

[2.09 kB]
Miscellaneous file
Description in English
[3.23 kB]
Miscellaneous file
Nihongo no setsumei -- description in Japanese
[3.85 MB]
Miscellaneous file
This document explains how to do image processing with IPD.
News (19)
Comments (6)     Leave a comment 
Comment from Jean-Bernard Blaisot -- April 12, 2012, 05:08:44 PM    
The help pages of IPD 8.3-2 seem to be only in Japanese in the IPD_8.3-2.bin.windows.zip 
archive !!!

JB Blaisot




Answer from Harald Galda -- April 12, 2012, 10:32:50 PM    
I modified the file builder_help.sce so online help files are built for three languages 
(German, English and Japanese) and each help file has a different file name.
Comment from Rodolfo Sanchez -- April 19, 2012, 06:25:03 PM    
Hi, Why i cant download this module from ATOMS from Scilab 5.4  thankx in advance

Comment from Christoph Forkmann -- July 3, 2012, 05:12:46 PM    
Hi,

I installed IPD 8.3-2 under Scilab 5.3.3 64bit (Windows 7) and got an error message when
the toolbox was to be loaded (some non-descript error from link about a library not being
found). The solution was to install the Visual C++ 2010 Redistributables (available from
Microsoft). Maybe a note about this dependency in the docu would be helpful.

Comment from Lutz Winkelmann -- July 19, 2012, 04:43:24 PM    
Hi,

I am currently using IPD to perform a blob search on several high resolution picture
(2048x1536). Analysing more than 20-30 out of 500 pictures I ran into memory problems,
which could not be solved by maximizing the stacksize and gstacksize. I also reduced the
color map of all images to 2 colors (similar to im2bw from SIVP) by hand and tried
different formats (png, bmp, jpg and tif). The memory leak was still present.
Using Task Manager and excecuting every line of my program step by step I was able to nail
the memory leak down to the SearchBlobs and AnalyseBlobs function. If one applies this
funtion to the same previously read image matrix the memory consumption of scilab adds up
by approx. 16Mb for each execution (file size is 384kb). 
I was not able to free up the memory allocated by these functions, so Scilab will abort
with an error message pointing to random lines. The memory used at that point is roughly
1Gb.
I am running Scilab 5.3.3 and IPD 8.3.2 and SIVP 0.5.3 on a Windows 7 32bit machine.
I tried to install IPD and SIVP on Scilab 5.4 beta but without success.

Maybe there is a quick and dirty work-around to re-allocate the memory or a bugfix.

Cheers

Lutz 
Answer from Simon GARESTE -- July 19, 2012, 05:10:18 PM    
Hi Lutz,

Due to some changes between 5.3 and 5.4 family, the library LibScilab.dll has disappeared
in the 5.4. This causes a problem to load in a 5.4 the binary files which are compiled on
a 5.3. We have to compile again every module specifically for >= 5.4 for windows. We
are
currently in the process of doing it, but we took advantage of the change to improve our
Atoms compilation chain so that the number of non-loading toolboxes would reduce. IPD is
now available for 5.4, after an atomsSystemUpdate.

@ Harald Galda : I took the liberty to create a new version of your module, based on the
same sources, only to make it available for >= 5.4.
Answer from Lutz Winkelmann -- July 20, 2012, 02:56:49 PM    
Hello Simon, Hello Mr. Galda, 

Thank you for compiling IPD for 5.4. It works great, but it still has the memory leak.
I was able to nail the problem down to SearchBlobs, which constantly fills the memroy and
does not re-allocate the used space anymore. 
Unfortunately I was not able to find the macro or function related to SearchBlobs in the
IPD folder. Is it an external function? Using Scilab 5.4 and IPD 8.3.1-1 I still can't
open and process more than 20 pictures in a row. I tried to clear all unused variables to
free some memory, but it keeps on filling up the memory pretty quickly. 

Further more I found some minor issue in 8.3.1-1 with 5.4, I can't open tif images any
more. That's not of a big deal to me and might be related to the changes in Scilab 5.4.

Thank you for your help and for the great IPD module.
Keep up the good work.

Cheers

Lutz


> Due to some changes between 5.3 and 5.4 family, the library LibScilab.dll has
> disappeared
> in the 5.4. This causes a problem to load in a 5.4 the binary files which are
compiled
> on
> a 5.3. We have to compile again every module specifically for >= 5.4 for windows.
We
> are
> currently in the process of doing it, but we took advantage of the change to improve
> our
> Atoms compilation chain so that the number of non-loading toolboxes would reduce. IPD
> is
> now available for 5.4, after an atomsSystemUpdate.
> 
> @ Harald Galda : I took the liberty to create a new version of your module, based on
> the
> same sources, only to make it available for >= 5.4.
Comment from Akash Nigam -- May 13, 2017, 10:38:03 AM    
While trying to extract, the IPD files ask for password. Kindly inform of how to fix this
problem.
Answer from Samuel Gougeon -- May 13, 2017, 02:22:52 PM    
Hello,

> While trying to extract, the IPD files ask for password. Kindly inform of how to fix
> this problem.

Are you chosing the 8.3 version because you run Scilab 5.3?
Scilab 5.3 is a very old release. The latest IPD releases for Scilab > 5.3 are
extracted
with no problem and without password.
Downloading and installing and setting a new Scilab release takes 2+3+2 mn.
It does not require uninstalling your current release. It does not require to have
admin rights on your computer: you can install Scilab where you want, even on a USB key.

HTH
Samuel
Comment from Akash Nigam -- June 7, 2017, 07:14:50 AM    
Hello Mr. Gougeon,

I had to use Scilab 5.3 due to working on a Windows xp pc and its direct availability with
the people in my institution. Now I see that I can upgrade to a maximum of Scilab 5.5.2.
However, I have already written around 50 small scripts for my work and installed SIVP,IPD
and some other toolboxes.

Is it really worth to go for Scilab 5.5.2 in my case? Would it significantly improve the
computation time or some another benefit?

Also, I am facing a problem of function ShowImage (when using my scripts on other
computers, it works fine on my system). It says that there is no more memory for the
function grayplot. After some browsing I think it is a bug.

I already tried to use predef(0) but it didn't free up the memory. Function 'Clear a'
clears even variables in SIVP, IPD and GUI toolboxes and hence the script shows up a lot
of errors. Is there any solution to this problem without creating a lot of functions
myself.

Thanks for the help,
Regards
Akash
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.