Reeb Graphs: Topological Skeletons of Functions
Published:
Definition
Let \(M\) be a smooth manifold and \(f: M \to \mathbb{R}\) a Morse function. The Reeb graph \(\mathcal{R}(f)\) is the quotient:
The quotient map \(\pi: M \to \mathcal{R}(f)\) induces a function \(\bar{f}: \mathcal{R}(f) \to \mathbb{R}\).
Structure: The Reeb graph is a graph whose:
- Nodes correspond to critical values of \(f\) where the topology of level sets changes.
- Edges correspond to intervals \([a,b]\) over which the connected components of \(f^{-1}(t)\) evolve smoothly.
Merge Trees and Contour Trees
Merge tree (split tree / join tree): Track only the birth and death of connected components in sublevel sets \(f^{-1}((-\infty, t])\):
- A branch in the merge tree = a connected component of the sublevel set.
- A merge = two components joining (a “death” of the younger one by the elder rule).
- The merge tree is the Reeb graph restricted to \(H_0\).
Contour tree: For \(f: M \to \mathbb{R}\) on a simply-connected domain (\(H_1 = 0\)), the Reeb graph is a tree — the contour tree. It can be computed as the “gluing” of the join tree and split tree.
Connection to Persistence
The persistence pairs from the \(H_0\) persistence algorithm are exactly the edges of the merge tree:
- Each birth–death pair \((b, d)\) corresponds to an arc in the merge tree from creation to destruction of a component.
- The persistence \(d - b\) is the “lifetime” of the arc.
For higher-dimensional homology, extended persistence on the Reeb graph captures \(H_k\) features of the underlying manifold.
Algorithms
For discrete data (simplicial complexes):
- Compute the merge tree by sweeping \(f\) from \(-\infty\) to \(+\infty\), maintaining a union-find structure.
- Complexity: \(O(n \alpha(n))\) using path-compressed union-find (nearly linear).
For contour trees:
- Compute join tree (sweep from below) and split tree (sweep from above) separately.
- Combine using the “augmented contour tree” algorithm of Carr et al. (2003).
- Complexity: \(O(n \log n)\).
Applications
- Scientific visualisation: Reeb graphs of pressure, temperature, or density fields highlight topologically important features (vortices, cavities) for interactive exploration.
- Shape analysis: Reeb graphs of 3D meshes (height function) capture pose-invariant shape structure. Two poses of the same person have homeomorphic Reeb graphs.
- Data analysis (Mapper): The Mapper algorithm approximates the Reeb graph from a finite point cloud sample.
References
- H. Edelsbrunner, J. Harer, A. Mascarenhas, V. Pascucci, “Time-Varying Reeb Graphs for Continuous Space-Time Data,” Computational Geometry, 2008.
- H. Carr, J. Snoeyink, U. Axen, “Computing Contour Trees in All Dimensions,” Computational Geometry, 2003.
- F. Chazal, R. Huang, J. Sun, “Gromov-Hausdorff Approximation of Filament Structure Using Reeb-type Graphs,” Discrete & Computational Geometry, 2014.
