Back to Search Start Over

Avoiding the Global Sort: A Faster Contour Tree Algorithm.

Authors :
Raichel, Benjamin
Seshadhri, C.
Source :
Discrete & Computational Geometry. Dec2017, Vol. 58 Issue 4, p946-985. 40p.
Publication Year :
2017

Abstract

We revisit the classical problem of computing the contour tree of a scalar field $$f:\mathbb {M}\rightarrow \mathbb {R}$$ , where $$\mathbb {M}$$ is a triangulation of a ball in $$\mathbb {R}^d$$ . The contour tree is a fundamental topological structure that tracks the evolution of level sets of f and has numerous applications in data analysis and visualization. All existing algorithms begin with a global sort of at least all critical values of f, which can require (roughly) $$\Omega (n\log n)$$ time, where n is the number of vertices of the mesh. Existing lower bounds show that there are pathological instances where this sort is required. We present the first algorithm whose time complexity depends on the contour tree structure, and avoids the global sort for non-pathological inputs. (We assume that the Morse degree of the function f at any point is at most 3.) If C denotes the set of critical points in $$\mathbb {M}$$ , the running time is roughly $$O(N+\sum _{v \in C} \log \ell _v)$$ , where $$\ell _v$$ is the depth of v in the contour tree and N is the total complexity of $$\mathbb {M}$$ . This matches all existing upper bounds, but is a significant asymptotic improvement when the contour tree is short and fat. Specifically, our approach ensures that any comparison made is between nodes that are either adjacent in $$\mathbb {M}$$ or in the same descending path in the contour tree, allowing us to argue strong optimality properties of our algorithm. Our algorithm requires several novel ideas: partitioning $$\mathbb {M}$$ in well-behaved portions, a local growing procedure to iteratively build contour trees, and the use of heavy path decompositions for the time complexity analysis. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
01795376
Volume :
58
Issue :
4
Database :
Academic Search Index
Journal :
Discrete & Computational Geometry
Publication Type :
Academic Journal
Accession number :
125928424
Full Text :
https://doi.org/10.1007/s00454-017-9901-z