Contour cut: Identifying salient contours in images

Direct questions to Ryan Kennedy:  kenry@cis.upenn.edu.

Related Papers



MATLAB code

The latest version of the MATLAB code can be dowloaded from here (last updated 12/24/2010).

Greedy algorithm: In this code, we have also included an algorithm called "greedy" which was not described in the paper. This is currently the default algorithm. Rather than solving an eigenvalue problem, this algorithm greedily optimizes our objective function by sampling many edge points and extending them until the cost function no longer increases. This algorithm is significantly faster and less memory intensive but may result in lower-quality contours.

Cost function computation: The contours output by our code are currently not necessarily given in order of the cost function value. To evaluate the cost function value of contours, use the following code: contour_cost.m


Step-by-step code use