[go: nahoru, domu]

Skip to content

LexDice/fragment_computation

Repository files navigation

Fragment Computation

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.

User Guide

1. Prerequisites

GCC-4.x

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.

VXL library

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"

2. Build the fragment_computation

Build the package with CMake

e.g. under fragment_computation root dir:

$ mkdir build
$ build
$ cmake .. -G "Unix Makefiles"
$ make 

3. Using the package

  • 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).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published