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-dev
On Mac OS (Leopard, or more), using Homebrew:
$ brew install git readline cmake wget qt
2/ Lua 5.1 + Luarocks + xLua:
$ git clone https://github.com/clementfarabet/lua4torch
$ cd lua4torch
$ make install PREFIX=/usr/local
3/ kinect:
$ luarocks install kinect
First run xlua, and load kinect:
$ xlua
> require 'kinect'
Once loaded, init the device, and grab frames:
> kinect.init()
> rgb,depth = kinect.getRGBD()