Giter VIP home page Giter VIP logo

segmentation-sgm's Introduction

Segmentation SGM

A CUDA implementation of Segmentation SGM


Description

Segmentation SGM is an implementation of segmentation algorithm that utilizes Semi-Global Matching.
From a given disparity map, it extracts segments that cover obstacles. It is implemented using C++ and CUDA.

Algorithm

  • The detailed algorithm is here (currently Japanese only).

Requirement

  • CUDA
  • OpenCV 3.0 or later
  • CMake 3.10 or later

How to build

$ git clone https://github.com/fixstars/segmentation-sgm.git
$ cd segmentation-sgm
$ mkdir build
$ cd build
$ cmake ..
$ make

Enable sample with libSGM

If you have installed libSGM, you can run sample/movie_with_libsgm and sample/benchmark by following command.

cmake -DWITH_LIBSGM=ON -DDCMAKE_MODULE_PATH=path/to/libSGM -DCMAKE_INSTALL_PREFIX=path/to/libSGM ..

How to run

./segmentation_sgm_sample_movie left-image-format right-image-format camera.xml
  • left-image-format
    • the left image sequence
  • right-image-format
    • the right image sequence
  • camera.xml
    • the camera intrinsic and extrinsic parameters

Example

./segmentation_sgm_sample_movie img_c0_%09d.pgm img_c1_%09d.pgm daimler_gt_stixel.xml

Data

The sample images available at Daimler Urban Scene Segmentation Benchmark Dataset 2014 and Daimler Ground Truth Stixel Dataset are used to test the software.

Performance

The Segmentation SGM performance obtained from benchmark sample

Device \ Width x Height x Max Disparity 1024 x 440 x 64 1024 x 440 x 128
Tegra X2 16 [ms] (64FPS) 23[ms] (44FPS)

Author

The "SGM Team"
Fixstars Corporation

License

Apache License 2.0

segmentation-sgm's People

Contributors

atakagi-fixstars avatar

Stargazers

苏家靖 avatar Matt avatar Oleksandr avatar cvhadessun avatar FredericBRHong avatar XStarry avatar  avatar frankfanslc avatar Madan Kumar Y avatar Liheng avatar Tooru Oonuma avatar Borong Yuan avatar 余风 avatar  avatar Ethan avatar mindfusion avatar  avatar Ryuji Fuchikami (@Ryuz88) avatar Sora Morimoto avatar  avatar  avatar 静风蓝云 avatar Yusuke Mizoguchi avatar Yuki Tsuji avatar nattochaduke avatar  avatar JamesLinus avatar  avatar  avatar Masaya Kataoka avatar  avatar Samuel Audet avatar

Watchers

James Cloos avatar Samuel Audet avatar  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.