The Weizmann Institute of Science
Faculty of Mathematics and Computer Science
Computer Vision Lab



Shai Bagon's Matlab Code


  • Matlab Wrapper for Robust Higher Order Potentials
    Matlab wrapper to Lubor Ladicky, Pushmeet Kohli and Philip Torr's Minimizing Robust Higher Order Potentials using Move Making Algorithms. This software is for research purposes only. Use the following citations in any resulting publication.
    Note: This wrapper provides an additional functionality of varying weights for the nodes participating in a higher order potential as described in the tech. report.
  • Matlab Wrapper for Graph Cuts
    Matlab wrapper to Veksler, Boykov, Zabih and Kolmogorov's implementation of Graph Cut algorithm. Use the following citation if you use this software.
    There is a simple example of image segmentation using GraphCuts.
    Mex implementation compiled for Windows and Linux (Matlab 7).
  • Matlab class for computing Approximate Nearest Nieghbor (ANN)
    Matlab class providing interface to ANN library of David Mount and Sunil Arya.
    Use the following citations in any resulting publication.
  • Weighted Histogram
    Compute weighted histogram (i.e., each entry does not have weight 1 but may have different weights).
    MEX implementation compiled for Windows and Linux (Matlab 7).
    If you use a recent Matlab version you should try accumarray instead.
  • Look Up Table
    Performing look up table operation on an N-dimensional array.
    Supports all data types. MEX implementation.
  • Mean Shift
  • Quantizer
    Mean shift based quantizer. An example using the quantizer to quantize a color image.
  • Matlab interface for EDISON
    EDISON is an open source mean-shift image segmentation by RIUL. This interface enables to run EDISON from Matlab.
    MEX implementation - requires compilation.
  • Random Sampling
    Sample randomly from weighted data, without replacements.
    MEX implementation.
  • Mosaic
    Create mosaic image out of a video (submited with Tal Kramer).