This package provides standard functions to create and manipulate edge-weighted graphs of images: create a graph, segment it, compute its watershed, or its connected components...
1/ third-party libraries:
On Linux (Ubuntu > 9.04):
$ apt-get install gcc g++ git libreadline5-dev cmake wget libqt4-core libqt4-gui libqt4-devOn Mac OS (Leopard, or more), using Homebrew:
$ brew install git readline cmake wget qt2/ Lua 5.1 + Luarocks + xLua:
$ git clone https://github.com/clementfarabet/lua4torch
$ cd lua4torch
$ make install PREFIX=/usr/local3/ kinect:
$ luarocks install kinectFirst run xlua, and load kinect:
$ xlua> require 'kinect'Once loaded, init the device, and grab frames:
> kinect.init()
> rgb,depth = kinect.getRGBD()