Here it is finally, the segmentation code that I had promised quite long time ago! The Matlab code segments stereo disparity maps using a model based on implicit dynamic surfaces (also known as level sets). The code itself is a combination of Matlab and MEX (Matlab EXecutable), programmed in C, in order to improve the efficiency. The segmentation algorithm, and the related mathematics, are explained in my phd thesis. Therefore, in order to have a better understanding how it works I encourage you to have a look there as well.
Matlab Code for Stereo Disparity Segmentation
