Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
105 lines (74 sloc) 6.46 KB


This software package allows to deconvolve microscope images. In addition to the deconvolution program, the package includes of the set of tools that are required for processing the images, estimation of point spread function (PSF) and visualizing the results. This software is written in Python and is released with an open-source license (see below).

Package tools

The following tools are provided in the package iocbio.microscope:

  • iocbio_deconvolve, iocbio_deconvolve_with_sphere --- these are scripts to deconvolve 3D microscope images with specified kernel (e.g. PSF that is estimated from the measurements of microspheres) or sphere (to improve the estimated PSF by taking into account the finite dimensions of microspheres).
  • iocbio_estimate_psf --- this is a script to compute estimated PSF from the measurements of microspheres.

For more information, see IOCBio Documentation.


See DeconvolutionTutorial


Since iocbio.microscope is written in Python language and uses various scientific computational modules and provides basic graphical interfaces, then the following software (with all their dependencies) must be installed to use IOCBio Microscope Software:

  • Python - an easy to learn, powerful programming language.
  • WX Python - a GUI toolkit for the Python programming language.
  • Numpy - the fundamental package needed for scientific computing with Python.
  • Scipy - an open-source software for mathematics, science, and engineering.
  • libtiff - provides support for the Tag Image File Format (TIFF).
  • pyfftw - Python bindings to the FFTW3 C-library.
  • Matplotlib - a python 2D plotting library (optional).

The sources of iocbio.microscope is available via SVN and HTTP. Note that iocbio.microscope requires Python 2.5 or newer. Python 2.5 users must also install the backport of the multiprocessing package.

Windows users

To ease the process of installing required software and iocbio package for Windows users, we provide installers for various Python versions (if you don't have any installed, just pick one from the list):

The installer should be run as Administrator. So, you must download the installer, save it to disk, and then right-click it and choose "Run as administrator" menu item.

When some required software component is not found then the iocbio installer can download and run the corresponding installers, just be ready to click Next, Next, ... and accept all default installation options. The following selection of software has prebuilt binaries available:

Python 2.6, Numpy 1.5, Scipy 0.9, Matplotlib 1.0, wx 2.9.

Finally, computer restart is required to finalise any PATH updates.

You will find a new folder IOCBio Software in your computers Desktop that contains links to iocbio.microscope scripts. Double-click on the links to start GUI of the corresponding program.

To get updates for IOCBio Software, rerun the iocbio installer and at the Iocbio configuration tab select "Update and install iocbio from svn".

Linux users

The following commands install all prerequisites as well as iocbio.microscope software for various Linux distributions:


sudo apt-get install python-dev python-numpy python-scipy python-wxgtk2.8 \
                     python-matplotlib libtiff4-dev libfftw3-dev gfortran


# Install python, numpy, scipy, wx Python bindings, matplotlib, tiff library,
# and fftw library according to the installation instructions of these software.

Finally, all Linux distributions should execute the following commands:

# Install pyfftw:
bzr branch lp:pyfftw
cd pyfftw
python install --prefix=/usr/local/
cd ..

# Only for Python 2.5 users, install multiprocessing:
svn checkout multiprocessing
cd multiprocessing
sudo python install
cd ..

# Install iocbio package:
svn checkout iocbio-read-only
cd iocbio-read-only
sudo python install
cd ..

To test iocbio.microscope installation, run, for example,


License and reference

The iocbio package is distributed using an open-source license (BSD). In addition to the terms of the license, we ask to acknowledge the use of the package in scientific articles by citing the following paper:


The iocbio software uses the following third-party software (included in the package):

  • - Read TIFF, STK, LSM and FluoView files and access image data as NumPy array.
  • pylibtiff - Wraps libtiff library to Python using ctypes.
  • killableprocess - Extends subprocess such that the process and all of its sub-subprocesses are killed correctly, on Windows, Mac, and Linux.
  • Windows installers are build using MinGW under Ubuntu Linux (howto) and using library packages from the GnuWin32 project. See iocbio/installer directory for the source code.