Euclidean skeletons: programs


We provide C source code for Euclidean skeletons, both for 2D and 3D binary images.

Installation

A version of Linux is needed for an easy installation. To install the programs, download the archive ES_programs.tgz to your working directory, then open a terminal and type :

    tar zxvf ES_programs.tgz
    cd ES_programs
    make
The executables are created in the subdirectory "bin". Additional directives for a full installation are provided in the "readme" file.

File format

We use a standard file format for 2D images, called pgm. The format description can be found here. For 3D images, we use a "natural" extension of the pgm format. In addition to the "width" and "height" fields in the file header, a "depth" field (in ASCII decimal) indicates the number of planes of the 3D volume. The data is stored as a succession of 2D planes. Both raw data and ASCII data are supported.

For conversion from and to raw file format, we provide the programs raw2pgm and pgm2raw. Operators long2byte and float2byte are also provided to convert long (int32) or float images to byte images.

Test

To test the programs, you may use the images provided in the directory "test". These images were also used as illutrations in the bibliography.

Documentation

A quite minimal documentation is provided. The html version can be found in "doc/html/index.html", and the pdf version in "doc/latex/refman.pdf".

Site info

© 2009-2010 ESIEE Dept. Info.