I've been working on a little computer vision patch implementing an
interesting paper I read a few weeks ago. To that end, I made 2 new
externals along the way. One which calculates the median of an image.
If given a 3d buffer, it will calculate the temporal median at each
pixel, providing a nice and simple way to acquire the background image
of a scene. The other external computes an algorithm called the "A
Contrario Method" of segmentation.
It uses a statistical distance measure to calculate the most
meaningful portions of an image based on comparing the gradient of the
background image and a frame. I've implemented most of the algorithm
here but haven't done the final refinement step. Also, the code is
highly beta and is thus very unoptimized.
In the download package, I've provided the new externals compiled for
OSX as well as the patch and source code for the algorithm's external.
There's also a schematic of the patch/source code and a PDF of the
paper. If anyone wants a Windoze version, contact me and if I get
bugged enough, I'll make one.
Here's the link: http://www.mat.ucsb.edu/~whsmith/vision.html . The
download link is at the bottom of the page.