Posts

Showing posts from February, 2011

David Barber : Bayesian Reasoning and Machine Learning

While reading around MetaOptimize, I found a reference to the book " Bayesian Reasoning and Machine Learning" by David Barber.

You can download the pdf for free and it will be published soon in Cambridge University Press. It comes with many Matlab examples and seems worth taking a look at :)

Python and Matlab bindings for Damascene, Global Probabilty of Boundary on GPU

So I'm still playing around with constrained parametric min-cuts for object segmentation. A major bottleneck of this algorithm is gPb, the global probability of boundary operator from Malik's group.
Luckily, there already is a CUDA implementation of gPb out there: Damascene.
Damascene provides a command line interface to apply gPb to ppm images.
Since I wanted to include it directly with cpmc, I wrote some mex-wrappers for Damascene. And since I would love to see more algorithms done in Python instead of Matlab, I wrote some Python wrappers, too.
You can find both, together with the current version of damascene here.
You need a working CUDA setup and the acm library to compile it.
Set your paths in common.mk and just "make" it.
For the matlab wrappers, you also need to adjust the matlab path in "bindings/Makefile" and "make gpb_mex" in that directory.
For the python wrappers, you have to compile damascene with "make shared=1". Then you c…