Coder Social home page Coder Social logo

jwgu / rtddpvmf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jstraub/rtddpvmf

0.0 2.0 0.0 376 KB

real-time directional segmentation from Kinect RGB-D stream using DDP-vMF-means

License: Other

CMake 28.90% Makefile 3.41% C 9.90% C++ 45.05% Python 12.75%

rtddpvmf's Introduction

Real-time Directional Segmentation from Kinect RGB-D Stream

Real-time Directional Segmentation using DDP-vMF-means

This package implements real-time temporally consistent directional segmentation from Kinect RGB-D streams. It relies on the dpMMlowVar library for the actual implementation of the DDP-vMF-means algorithm. The approach and the algorithm is described in more detail on our project page and CVPR 2015 paper. The algorithms are described in more detail in the supplement. See below for install instructions.

If you use DP-vMF-means or DDP-vMF-means please cite:

Julian Straub, Trevor Campbell, Jonathan P. How, John W. Fisher III. 
"Small-Variance Nonparametric Clustering on the Hypersphere", In CVPR,
2015.

Dependencies

This code is dependent on Eigen3, Boost, CUDA, OpenCV and PCL. It has been tested on Ubuntu 14.04 with

  • Eigen3 (3.0.5)
  • Boost (1.54)
  • CUDA (6.5)
  • OpenCV (2.4)
  • PCL (1.7)

Install

This package uses the pods build system. Used widely at CSAIL MIT the build system makes it easy to break up software projects into small packages that can be checked out and compiled automatically (see below).

  • Linux:

    Install Eigen3, Boost, OpenCV, and PCL

    sudo apt-get install libeigen3-dev libboost-dev libopencv-dev libpcl-1.7-all-dev
    

    Install the appropriate CUDA version matching with your nvidia drivers. On our machines we use nvidia-340-dev with libcuda1-340 cuda-6-5 cuda-toolkit-6-5

    Clone this repository and compile the code:

    git clone [email protected]:jstraub/rtDDPvMF; cd rtDDPvMF;
    make checkout; make configure; make -j6; make install;
    

    Note that this will checkout several other necessary repositories. To update all repositories run

    make update; make configure; make -j6; make install;
    

Getting Started

Plug in your Kinect and run the following from the rtDDPvMF folder:

./build/bin/realtimeDDPvMF_openni --lambdaDeg 100 

Usage

./build/bin/realtimeDDPvMF_openni -h
Allowed options:
  -h [ --help ]               produce help message
  -K [ --K ] arg              K for spkm clustering
  -l [ --lambdaDeg ] arg      lambda in degree for DP-vMF-means and 
                              DDP-vMF-means
  -b [ --beta ] arg           beta parameter of the DDP-vMF-means
  -s [ --nFramesSurvive ] arg number of frames a cluster survives without 
                              observation
  -o [ --out ] arg            path to output file
  -d [ --display ]            display results
  -B [ --B ] arg              filter windows size B for guided filter
  --eps arg                   epsilon parameter for guided filter
  -f [ --f_d ] arg            focal length of depth camera

rtddpvmf's People

Contributors

jstraub avatar

Watchers

Jinwei Gu avatar James Cloos 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.