Active contour and binary level set segmentation module
-------------------------------------------------------

Narrow band region-based 2D active contour model: explicit (parametric) and implicit (binary level set) implementations.


Dependencies
-----------

 - CMake >= 2.8
 - OpenCV >= 2.3.1


Compilation on Ubuntu 12.04 64 bits
-------------------------------------

	# install dependencies
	$ sudo aptitude install cmake
	$ sudo aptitude install libopencv-dev libcv-dev libhighgui-dev libcvaux-dev

	# prepare build directory
	$ cd ActiveContour
	$ mkdir build && cd build

	# build in release mode
	$ cmake -DSTARLING_DIR=path_to_starling_dir ..
	$ make
	$ make install  # copy files into Starling

	# build in release mode with a specific version of OpenCV
	$ cmake -DSTARLING_DIR=path_to_starling_dir -DOpenCV_DIR=/path_to_directory_containing_OpenCVConfig.cmake ..
	$ make
	$ make install  # copy files into Starling

	# build in debug mode
	$ cmake -DSTARLING_DIR=path_to_starling_dir -DCMAKE_BUILD_TYPE=Debug ..
	$ make
	$ make install  # copy files into Starling


Compilation on Windows 7 64 bits
----------------------------------

	- launch CMake GUI
	- Where is the source code = ".../ActiveContour"
	- Where to build the binaries = ".../ActiveContour/build"
	- click "Configure"
	- set variable "OpenCV_DIR" to ".../opencv_._._" (the directory must contain 'OpenCVConfig.cmake' file)
	- set variable "STARLING_DIR" to Starling directory
	- click "Generate"
	- open "ActiveContour/build/ActiveContour.sln" solution with visual c++, select 'release' mode, then generate the 'INSTALL' project


Executables
-----------

None.

