wiki:InstallationInstructions

Installation instructions

This page describe how to install CellTracking for various platforms. Once all the dependencies are installed, you only have to unpack the CellTracking archive to start working with it.

Installation instructions are available for the folowing systems:

Debian

  1. Install Python libraries
# aptitude install python-numpy python-scipy python-gtk2
  1. Install OpenCV with Python bindings

Note that version >2.0 (and maybe more) is required, you should be able to import the cv2 module in python.

In order to compile the Python bindings, python-dev should be installed. If not, import cv will fail, even if the OpenCV install succeeded. python-dev can be installed by # aptitude install python-dev

To get a video playback, you must install libgtk2.0-dev: # aptitude install libgtk2.0-dev

Detailed instructions can be found here and here. These pages have a clear detail of the required packages.

If OpenCV compilation fails quite early, you should consider upgrading your cmake version, according to this post.

  1. Install CellTracking

MacOS X

This procedure relies on MacPorts to install the majority of the required software. This is probably not compulsory, but this ensure an easy way to install OpenCV and to have all the components installed for the same version of Python.

  1. Install XCode
  • XCode will provide all the compiling tools required to make OpenCV work properly. Download the latest version compatible with your version of MacOS (https://developer.apple.com/downloads/, Apple requires you to create an account). Note that OpenCV is unlikely to compile if XCode version is previous 3.2.
  • During the installation, make sure that you check the box to install the Command line tools. For XCode 4, you must launch XCode and go to: Preferences->Downloads->Download Command Line Tools.
  • To compile Scipy, you need to agree some xcode license sudo xcodebuild -license agree

  1. Install MacPorts http://www.macports.org/install.php
  1. Install the required libraries
sudo port selfupdate
sudo port -v install opencv +python27
sudo port install py27-gtk
sudo port install py27-pil
sudo port install py27-scipy
  1. Install CellTracking

Note : Using Leopard (and maybe some other version), an error might occur when launching CellTracking.command : Fatal IO error 35 (Resource temporarily unavailable) on X server. An explanation is that the automatically launched version of X11 is buggy. A simple workaround is to:

  1. Open /Applications/MacPorts/X11,
  2. then go to Applications->Terminal,
  3. and cd to your CellTracking? folder
  4. Finally, type ./CellTracking.command to launch CellTracking
  5. More information here
Last modified 7 weeks ago Last modified on 11/09/2012 00:44:09