Introduction - If you have any usage issues, please Google them yourself
This readme describes the Biased and Filtered Point Sampling algorithm.
Before running the code, please run "compile_MEX.m" in the "dependent_files" directory.
BFPS.m is the main file that draws samples. A demo can be run from Matlab with the following command:
>> BFPS(double(imread( im.jpg )), 2, 1, 1, 0, 1)
For faster density estimates in non-parametric image segmentation, the fast Gauss transform can be used in place of Matlab s ksdensity function.
Copyright 2011. MIT. All Rights Reserved.