Git Product home page Git Product logo

libsuperpixels's Introduction

LibSuperpixels

C++ library designed to handle superpixels information, using OpenCV.

Authors: Yoshua Nava and Rafael Colmenares

Instructions to compile and run the code:

1) Open a terminal and to the the repository root directory ("slic_egbis_segmentation/").

2) Type the following commands to compile everything:

mkdir build
cd build
cmake ..
make

3) To run the EGBIS superpixel segmentation test, type:

./test_egbis_superpixel_segmentation

4) To run the SLIC superpixel segmentation test, type:

./test_slic_superpixel_segmentation

5) To run the superpixel histogram comparison test, type:

./test_histogram_superpixel_comparison

If you want to change the algorithm that is used for generating and comparing superpixels, change the value of the constant SUPERPIXEL_ALGORITHM (line 18) for either "EGBIS" or "SLIC"

Dependencies:

OpenCV 2.4+, cmake 2.8+, gcc, g++, and make.

Contributions:

A library for handling superpixels called "libsuperpixel", that can be found in the folder include/libsuperpixel.

A wrapper for the egbis algorithm, which can be found in include/egbis, and is mainly concentrated in the files egbis.cpp and egbis.h.

A modification of the default SLIC library files, so that they can be compliant with libsuperpixel.

Acknowledgements

To Professor José Cappelletto and Rafael Colmenares, supervisors of this work.

To Michael Sapienza, author of the dataset that is provided by default with this package ("eng_stat_obst.avi").

To the authors of the SLIC algorithm and its OpenCV wrapper (Achanta, Shaji, et al. And GitHub user PSMM).

To the authors of the EGBIS algorithm and its OpenCV wrapper (Felzenswalb, Huttenlocher, and Michael Sapienza).

TODO:

Develop an abstract class to encapsulate superpixel segmentations algorithm with it. (in development)

Make everything compliant with the ROS C++ Style Guide ( http://wiki.ros.org/CppStyleGuide )

Improve the performance of the SLIC algorithm, using intrinsics and Intel TBB.

Bitdeli Badge

libsuperpixels's People

Contributors

yoshuanava avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.