Skip to main content
Conference paper - Peer-reviewed, 2014

Exact Evaluation of Stochastic Watersheds: From Trees to General Graphs

Malmberg, Filip; Selig, Bettina; Hendriks, Cris L. Luengo


The stochastic watershed is a method for identifying salient contours in an image, with applications to image segmentation. The method computes a probability density function (PDF), assigning to each piece of contour in the image the probability to appear as a segmentation boundary in seeded watershed segmentation with randomly selected seedpoints. Contours that appear with high probability are assumed to be more important. This paper concerns an efficient method for computing the stochastic watershed PDF exactly, without performing any actual seeded watershed computations. A method for exact evaluation of stochastic watersheds was proposed by Meyer and Stawiaski (2010). Their method does not operate directly on the image, but on a compact tree representation where each edge in the tree corresponds to a watershed partition of the image elements. The output of the exact evaluation algorithm is thus a PDF defined over the edges of the tree. While the compact tree representation is useful in its own right, it is in many cases desirable to convert the results from this abstract representation back to the image, e. g, for further processing. Here, we present an efficient linear time algorithm for performing this conversion.


Stochastic watershed; Watershed cut; Minimum spanning tree

Published in

Lecture Notes in Computer Science
2014, volume: 8668, pages: 309-319
Book title: Discrete Geometry for Computer Imagery 18th IAPR International Conference, DGCI 2014, Siena, Italy, September 10-12, 2014. Proceedings
ISBN: 978-3-319-09954-5, eISBN: 978-3-319-09955-2
Publisher: Springer


18th IAPR International Conference on Discrete Geometry for Computer Imagery (DGCI), SEP 10-12, 2014, Siena, ITALY

Authors' information

Malmberg, Filip
Swedish University of Agricultural Sciences, Centre for Image Analysis
Selig, Bettina
Swedish University of Agricultural Sciences, Centre for Image Analysis
Luengo Hendriks, Cris L.
Uppsala University

UKÄ Subject classification

Computer Science

Publication Identifiers


URI (permanent link to this page)