This is a package extract from the Lemsvxl for image fragment. It use the vxl C++ library.
The input includes contour file(.cem/.cemv), the image and the training data.
You probably need gcc-4.x to build this package.
Use $ gcc --version
to check your gcc version.
Download gcc-4.8
sudo apt-get install gcc-4.8
Use gcc-4.8 in your environment.
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100
Then the same as g++-4.x.
Download the correct version of VXL.
Build the VXL with CMake
e.g. under VXL root dir:
$ mkdir build
$ cd build
$ cmake .. -G "Unix Makefiles"
$ make
Set VXL_DIR to your build directory:
$ export VXL_DIR="~/YourDirToVXLRoot/build"
Build the package with CMake
e.g. under fragment_computation root dir:
$ mkdir build
$ build
$ cmake .. -G "Unix Makefiles"
$ make
- Original image: It can be
.jpg
or.png
. - Contour file: Use MSEL_contour_extraction to get
.cem
(version 2) from image.
Then use converter to get.cem
/.cemv
(version 1) from.cem
(version 2).