270 likes | 426 Views
Morphology-Driven Simplification and Multiresolution Modeling of Terrains. Emanuele Danovaro, Leila De Floriani, Paola Magillo, Mohammed Mostefa Mesmoudi, Enrico Puppo Department of Computer Science University of Genova, Genova (Italy).
E N D
Morphology-Driven Simplificationand Multiresolution Modeling of Terrains Emanuele Danovaro, Leila De Floriani, Paola Magillo, Mohammed Mostefa Mesmoudi, Enrico Puppo Department of Computer Science University of Genova, Genova (Italy)
Morphology-Driven Simplificationand Multiresolution Modeling of Terrains Terrain: scalar field z = f(x,y) known at a set of points represented as a Triangulated Irregular Network (TIN) Morphological features: maxima (peaks) minima (pits) saddles (passes)
Morphology-Driven Simplificationand Multiresolution Modeling of Terrains Accurate sampling ----- too many triangles in a TIN Simplification ------ vertex decimation Feature-preserving simplification
Morphology-Driven Simplificationand Multiresolution Modeling of Terrains Feature-preserving simplification Features preserved in a multiresolution model Extract TINs at variable resolution with correct morphological structure
Contribution • Extension of Morse theory (scalar field topology) to TINs ----- algorithm • Feature-preserving TIN decimation • Application to multiresolution modeling
Morse Theory z = f(x,y) continuous and differentiable • Critical point First derivative is zero: • maximum • minimum • saddle Critical points of a Morse function are isolated
Morse Theory • Isoline: locus of points where f(x,y)=k • Integral line: follows the direction of max decreasing slope ----- steepest descent
Morse Theory • All integral lines converging to a minimum p ----- Stable Cell of p • All integral lines emanating from a maximum p ----- Unstable Cell of p • Stable and Unstable Morse-Smale decomposition • Overlay ----- Critical Net
Extension of Morse-Smale Theory to TINs • z = f(x,y) is piecewise linear • Not differentiable at triangle edges • Isolines and integral lines are polylines
Extension of Morse-Smale Theory to TINs • Each triangle t has its gradient ----- direction of steepest descent • Each edge e of t is: • an Exit if grad(f) and norm(e) form an angle <90 • an Entrance if grad(f) and norm(e) form an angle >90 • Best Exit ----- minimum angle
Extension of Morse-Smale Theory to TINs 5 possible configurations for a triangle: split merge maximum minimum turn
Extension of Morse-Smale Theory to TINs 2 possible configurations for an edge: valley ridge flow through
Extension of Morse-Smale Theory to TINs • Critical lines should sometimes split triangles • Convention: force critical lines to be TIN edges • Triangles are assigned to one cell based on their best exit
Extension of Morse-Smale Theory to TINs Constructive definition of Morse-Smale decomposition for TINs ------ Algorithm: • Compute unstable decomposition • Compute stable decomposition (symmetric) • Overlay ---> Critical Net
Algorithm for the unstable decomposition • Progressively assign triangles to an unstable cell and mark them • Stop when all triangles have been marked • Unstable cells of higher maxima are processed first • Maintain a list of all vertices of unmarked triangles sorted by decreasing elevation (first = global maximum)
Algorithm for the unstable decomposition Loop until all triangles have been marked: • take the next vertex v from the list • traverse and mark a strip of triangles following an integral line descending from v • if v is a maximum --- seed of its unstable cell • otherwise --- extend an adjacent unstable cell
Algorithm for the unstable decomposition Build the strip for v : • Include unmarked triangles incident in v • Loop: • select the best exit e from the strip to an unmarked triangle t • if e is an entrance of t , then include t
Topology-Based Simplification Constrained TIN: • some edges are marked as constraints • the edges of the critical net Vertex decimation in a constrained TIN: • removable and non-removable vertices
Topology-Based Simplification Iterative algorithm: • Loop until all removable vertices have been removed: • remove one removable vertex • the one causing the least error increase Error: • max vertical distance between a data point and the triangulated surface
Multiresolution Multi-Triangulation • A coarse Base TIN • A partially ordered set of modifications which progressively refine it into a detailed Reference TIN
Multiresolution Modification: • Two local TINs at lower and higher resolution • “Higher” replaces “lower” Partial order: • M1 < M2 if some triangle of High(M1) is in Low(M2) • M2 can be applied only after M1
Multiresolution Extraction of a TIN at variable resolution • Threshold condition:is this triangle refined enough? • Apply all local modifications necessary to • achieve the threshold condition • respect the partial order
Topology-Based Multiresolution Building an MT from the decimation process: • The final simplified TIN ---- the base TIN • Each removed vertex ---- a modification reinserting the vertex • Partial order recovered from deleted and added triangles • Constraint edges are marked in the MT
Topology-Based Multiresolution Extracted TINs maintain the topological structure Error = 0 12800 triangles 318 edges Error <= 0.15 2260 triangles 171 edges
Topology-Based Multiresolution Extracted TINs maintain the topological structure Error = 0 12800 triangles 318 edges Error <= 1.77 114 triangles 20 edges
Topology-Based Multiresolution Extracted TINs maintain the topological structure Error = 0 12800 triangles 318 edges Error = any 20 triangles 12 edges
Thanks to • EC Project MINGLE (Multiresolution in Geometric Modelling) • MIUR Project MacroGEO (Algorithmic and Computational Methods for Geometric Object Representation) • EC Project ARROV (Augmented Reality for Remotely Operated Vehicles…)